我刚刚从 2012 年 5 月 22 日下载了 neo4j-1.8-M02 源文件,发现 pom.xml 与 2 周前不同。现在,我收到以下错误。
任何建议将不胜感激。捷通
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler- plugin:2.3.2:compile (compile-neo4j-kernel) on project neo4j-kernel: Compilation failure: Compilation failure:
[ERROR] /home/pt/Downloads/neo4j-community-081282a/kernel/src/main/java/org/neo4j/helpers/Specifications.java:[54,15] cannot find symbol
[ERROR] symbol : method and(java.lang.Iterable<java.lang.Object>)
[ERROR] location: class org.neo4j.helpers.Specifications
[ERROR] /home/pt/Downloads/neo4j-community-081282a/kernel/src/main/java/org/neo4j/helpers/Specifications.java:[64,15] cannot find symbol
pom.xml
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<id>default-compile</id>
<configuration>
<compilerArgument>-proc:none</compilerArgument>
<includes>
<include>org/neo4j/kernel/impl/annotations/**</include>
</includes>
</configuration>
</execution>
<execution>
<id>compile-neo4j-kernel</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
……
import org.neo4j.helpers.Service;
<group>
<title>Helpers</title>
<packages>org.neo4j.helpers:org.neo4j.helpers.*</packages>
</group