I have a weird problem - Some class file couldn\'t be read during maven build.
A
B
It COULD be due to insufficient heap memory.
It sounds strange, but try it, it might just work:
export MAVEN_OPTS='-Xms384M -Xmx512M -XX:MaxPermSize=256M'
Source: https://groups.google.com/group/neo4j/msg/e208be9ee1c101d7)