【发布时间】:2021-12-14 22:54:12
【问题描述】:
我正在尝试按照 Apache 的说明设置 OpenCMIS InMemory 存储库,但在运行 Maven 命令mvn clean install -Dmaven.test.skip=true 时不断收到以下错误。
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project chemistry-opencmis-client-bindings: Compilation failure
[ERROR] /home/openkm/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/impl/ClientVersion.java:[29,16] error: cannot find symbol
[ERROR] symbol: method getDefinedPackage(String)
[ERROR] location: class ClassLoader
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :chemistry-opencmis-client-bindings
【问题讨论】:
-
En inglés por青睐。
-
您可以通过标签下的编辑链接编辑您的问题。
-
请添加指向您提到的说明的链接。你确定你在你的 POM 中声明了所有必要的
<dependency>s 吗? -
您确定要自己构建,而不是只使用自己项目中的库吗?
-
没关系,非常感谢您的帮助
标签: java maven opencmis openkm