neo4j - SDN4: Recent snapshot build broken -


just started getting following exception while starting server:

error creating bean name 'myrepository': invocation of init method failed;  nested exception java.lang.noclassdeffounderror: org/springframework/data/mapping/context/invalidpersistentpropertypath: org.springframework.data.mapping.context.invalidpersistentpropertypath 

what changes have caused exception?

thanks.

i using gradle , experiencing exact same issue.

invalidpersistentpropertypath seems have been introduced in latest snapshot build of spring-data-commons (1.11.0.build-snapshot). project includes spring data jpa relies on more stable version (1.11.0.m1). gradle did conflict resolution , went m1 library, not have new class , resulted in noclassdeffounderror.

for now, working around telling gradle ignore spring-data-commons transitive dependency of jpa snapshot build being pulled in transitive dependency of sdn used:

compile("org.springframework.data:spring-data-jpa:$springdatajpaversion") {   exclude group: "org.springframework.data", module: "spring-data-commons" } 

if you're using gradle, can check conflicts using:

./gradlew <project>:dependencies 

i think worthwhile check on release schedules each of these projects not workaround allowing our builds continue.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -