Тип "com/graphaware/common/ presentation/DetachedNode" нельзя назначить для "com/graphaware/common/ presentation/DetachedEntity"

Я использую Neo4j 3.4 и Graphaware reco engine 3.4.0.52.11. Я получаю следующую ошибку:

org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@2d7df55' was successfully initialized, but failed to start. Please see the attached cause exception "Bad type on operand stack
Exception Details:
  Location:
    com/graphaware/writer/thirdparty/NodeCreated.<init>(Lcom/graphaware/common/representation/DetachedNode;)V @2: invokespecial
  Reason:
    Type 'com/graphaware/common/representation/DetachedNode' (current frame, stack[1]) is not assignable to 'com/graphaware/common/representation/DetachedEntity'
  Current Frame:
    bci: @2
    flags: { flagThisUninit }
    locals: { uninitializedThis, 'com/graphaware/common/representation/DetachedNode' }
    stack: { uninitializedThis, 'com/graphaware/common/representation/DetachedNode' }
  Bytecode:
    0x0000000: 2a2b b700 10b1
".
    at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68)
    at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:220)
    at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:111)
    at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:79)
    at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:32)

Мой pom.xml выглядит так:

    <properties>
            <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
            <neo4j.version>3.4.3</neo4j.version>
    </properties>

    <dependencies>
            <dependency>
                    <groupId>org.neo4j</groupId>
                    <artifactId>neo4j</artifactId>
                    <version>${neo4j.version}</version>
                    <scope>provided</scope>
            </dependency>

            <dependency>
                    <groupId>org.neo4j.test</groupId>
                    <artifactId>neo4j-harness</artifactId>
                    <version>${neo4j.version}</version>
                    <scope>test</scope>
    </dependency>

            <dependency>
                    <groupId>com.graphaware.neo4j</groupId>
                    <artifactId>recommendation-engine</artifactId>
                    <version>3.4.0.52.11</version>
            </dependency>

    <dependency>
                    <groupId>org.neo4j.driver</groupId>
                    <artifactId>neo4j-java-driver</artifactId>
                    <version>1.6.1</version>
                    <scope>test</scope>
            </dependency>

            <dependency>
                    <groupId>com.graphaware.neo4j</groupId>
                    <artifactId>common</artifactId>
                    <version>3.4.3.52</version>
            </dependency>

            <dependency>
                    <groupId>com.graphaware.neo4j</groupId>
                    <artifactId>tests</artifactId>
                    <version>3.4.3.52</version>
                    <scope>test</scope>
            </dependency>
    </dependencies>

    <build>
            <plugins>
                    <plugin>
                            <artifactId>maven-compiler-plugin</artifactId>
                            <configuration>
                                    <source>1.8</source>
                                    <target>1.8</target>
                            </configuration>
                            <version>2.3.2</version>
        </plugin>
                    <plugin>
                            <artifactId>maven-shade-plugin</artifactId>
                            <version>2.4.3</version>
                            <executions>
                                    <execution>
                                            <phase>package</phase>
                                            <goals>
                                                    <goal>shade</goal>
                                            </goals>
                                    </execution>
                            </executions>
            <configuration>
                                    <filters>
                                            <filter>
                                                    <artifact>*:*</artifact>
                                                    <excludes>
                                                            <exclude>META-INF/*.SF</exclude>
                                                            <exclude>META-INF/*.DSA</exclude>
                                                            <exclude>META-INF/*.RSA</exclude>
                                                    </excludes>
                                            </filter>
                                    </filters>
                            </configuration>
                    </plugin>
            </plugins>
    </build>

Я проверил совместимость записей POM и, поскольку я использую все последние записи, я не могу понять, в чем здесь проблема. Кто-нибудь может помочь мне здесь и дать мне знать, как действовать дальше.

0 ответов

Другие вопросы по тегам