我正在启动一个新项目,并决定尝试使用springboot data neo4j和OGM的neo4j。一切都很好,但在我的开发环境中,spring-boot-devtools没有多大帮助。每次我更改java类时,自动重启都会触发,然后我运行的任何查询都会抛出如下所示的ClassCastException
java.lang.ClassCastException: br.com.ncisaude.gr.
我的web应用程序在JDK 1.7上运行良好,但在1.8上崩溃,出现以下异常(在使用Jetty 8启动应用服务器期间)。我使用的是Spring版本: 3.2.5.RELEASE。org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Javaclass file version that isn't supported yet
我假
我得到了以下测试的例外情况:
org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.neo4j.repository.support.GraphRepositoryFactoryBean]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.springframework
我正在使用Spring data neo4j -4,为了验证我的服务层的行为,我运行了多个Junit测试,这些测试在不同的neo4j节点上执行域(CRUD)操作,还创建和删除关系。这些操作和测试并不相互依赖。偶尔,我会在不同的测试中得到这个错误。)
[error] at org.neo4j.ogm.session.Neo4jSession.loadAll(Neo4jSess