spring-boot-starter-data-neo4j 在OpenJDK8出现No class information found in OGM meta-data for class

现象

在OpenJDK 1.8中使用java -jar sdn5-movies-0.0.1-SNAPSHOT.jar 时出现 No class information found in OGM meta-data for classmovies.spring.data.neo4j.domain.Person` 错误.

添加mvn配置

1
2
3
4
5
<dependency>
<groupId>io.github.lukehutch</groupId>
<artifactId>fast-classpath-scanner</artifactId>
<version>3.1.13</version>
</dependency>

参考

issuse 604