Here is a small demo app. Run test see the exception
Because the root problem lies in the IncompatibleClassChangeError
I assume that this is due to a dependency problem. Can you check if you have only the 3.1.11
version of Neo4j in your classpath as defined?