Spring RelationshipEntity无法解析为类型
我是Neo4j新手,正在尝试使用spring创建一个演示项目。我在下面共享了我的pom.xml文件,以共享此演示项目中使用的依赖项,我通过以下两个链接来更好地理解spring-neo4jSpring RelationshipEntity无法解析为类型,spring,neo4j,spring-data-neo4j,Spring,Neo4j,Spring Data Neo4j,我是Neo4j新手,正在尝试使用spring创建一个演示项目。我在下面共享了我的pom.xml文件,以共享此演示项目中使用的依赖项,我通过以下两个链接来更好地理解spring-neo4j 但在处理实体之间的关系时,我遇到了这个错误“RelationshipEntity无法解析为类型”(请参见屏幕截图) 注意-我使用的是Neoo4j RX软件包,我遵循的RelationshipEntity来自命令链接(即),但我认为,RelationshipEntity应该在两个软件包上都可用,因为它是基
4.0.0
org.springframework.boot
spring启动程序父级
2.1.2.1发布
com.demo
演示
0.0.1-快照
demo.api
演示主api
11
格林威治释放
org.springframework.boot
SpringBootStarterWeb
伊奥·斯普林福克斯
springfox-Swagger 2
2.9.2
javax.xml.bind
jaxb api
org.glassfish.jaxb
jaxb运行时
org.bouncycastle
bcprov-jdk15on
1.64
伊奥·斯普林福克斯
springfox招摇过市用户界面
2.9.2
org.springframework.boot
弹簧启动器webflux
org.springframework.boot
弹簧启动安全
io.jsonwebtoken
jjwt
0.9.1
org.neo4j.springframework.data
spring-data-neo4j-rx-spring-boot-starter
1.1.1
org.springframework.boot
弹簧起动试验
测试
org.junit.vintage
朱尼特老式发动机
org.springframework.cloud
spring云依赖关系
${spring cloud.version}
聚甲醛
进口
org.springframework.boot
springbootmaven插件
这是Neo4j Rx软件包的一个问题,我在发布此问题后在这里找到了它
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.2.RELEASE</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>
<groupId>com.demo</groupId>
<artifactId>demo</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>demo.api</name>
<description>demo main api</description>
<properties>
<java.version>11</java.version>
<spring-cloud.version>Greenwich.RELEASE</spring-cloud.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>2.9.2</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
<version>1.64</version>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
<version>2.9.2</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-webflux</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt</artifactId>
<version>0.9.1</version>
</dependency>
<dependency>
<groupId>org.neo4j.springframework.data</groupId>
<artifactId>spring-data-neo4j-rx-spring-boot-starter</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>