改变maven打包路径_maven打包报错:在类路径或引导类路径中找不到程序包 java.lang...
E:workspaceportalframe>mvn clean install[INFO] Scanningforprojects...[WARNING][WARNING] Some problems were encounteredwhile building the effective model for com.migu.reading.portalFrame:ues:war:tru
E:workspaceportalframe>mvn clean install
[INFO] Scanningforprojects...
[WARNING]
[WARNING] Some problems were encounteredwhile building the effective model for com.migu.reading.portalFrame:ues:war:trunk-SNAPSHOT
[WARNING]'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.portalFrame:commons.mq:jar -> duplicate declaration of version V300R003C20B311 @ line 1031, column 17[WARNING]'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.portalFrame:axis:jar -> version 0.0.1 vs 1.4 @ line 1164, column 17[WARNING]'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.portalFrame:com.huawei.uxe.core.render:jar -> version 3.2.21.22 vs 0.0.1 @ line 1230, column 17[WARNING]'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.portalFrame:commons-codec:jar -> duplicate declaration of version 1.3.2 @ line 1483, column 17[WARNING]'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.portalFrame:jdom:jar -> version 1.1 vs 0.0.1 @ line 1982, column 17[WARNING]'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 2915, column 15[WARNING]
[WARNING] Itishighly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] Forthisreason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO]------------------------------------------------------------------------[INFO] Building ues trunk-SNAPSHOT
[INFO]------------------------------------------------------------------------[INFO]
[INFO]--- maven-clean-plugin:2.5:clean (default-clean) @ ues ---[INFO] Deleting E:workspaceportalframearget
[INFO]
[INFO]--- maven-resources-plugin:2.6:resources (default-resources) @ ues ---[INFO] Using'UTF-8'encoding to copy filtered resources.
[INFO] Copying2resources
[INFO] Copying352resources
[INFO]
[INFO]--- maven-compiler-plugin:3.1:compile (default-compile) @ ues ---[INFO] Changes detected- recompiling the module![INFO] Compiling4791source files to E:workspaceportalframeargetclasses
致命错误: 在类路径或引导类路径中找不到程序包 java.lang
[INFO]-------------------------------------------------------------[ERROR] COMPILATION ERROR :
[INFO]-------------------------------------------------------------[ERROR] An unknown compilation problem occurred
[INFO]1error
[INFO]-------------------------------------------------------------[INFO]------------------------------------------------------------------------[INFO] BUILD FAILURE
[INFO]------------------------------------------------------------------------[INFO] Total time:14.730s
[INFO] Finished at:2019-01-25T11:37:58+08:00[INFO] Final Memory: 40M/637M
[INFO]------------------------------------------------------------------------[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project ues: Compilation failure
[ERROR] An unknown compilation problem occurred
[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 switchto enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
昇腾计算产业是基于昇腾系列(HUAWEI Ascend)处理器和基础软件构建的全栈 AI计算基础设施、行业应用及服务,https://devpress.csdn.net/organization/setting/general/146749包括昇腾系列处理器、系列硬件、CANN、AI计算框架、应用使能、开发工具链、管理运维工具、行业应用及服务等全产业链
更多推荐



所有评论(0)