首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用OPENCMIS运行MVN安装

使用OPENCMIS运行MVN安装
EN

Stack Overflow用户
提问于 2021-10-30 01:12:45
回答 1查看 48关注 0票数 1

我正在尝试按照Apache中的说明来设置OpenCMIS InMemory存储库,但在运行Maven命令mvn clean install -Dmaven.test.skip=true时,我一直收到以下错误。

代码语言:javascript
复制
[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

回答 1

Stack Overflow用户

发布于 2021-10-30 13:00:03

PDF的最后一次技术更新是在2014年,POM of the sample project包含:

代码语言:javascript
复制
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.0</version>
                <configuration>
                    <target>1.7</target>
                    <source>1.7</source>

这已经完全过时了,肯定不能与更新的JDK一起工作。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/69776087

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档