2 u013408159 u013408159 于 2016.03.17 21:56 提问

程序包com.sun.org.apache.xalan.internal.utils不存在 2C

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for cn.hackingwu.easycms:EasyCMS:jar:0.0.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.tomcat.maven:tomcat7-maven-plugin is missing. @ line 185, column 19
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]

[INFO] ------------------------------------------------------------------------
[INFO] Building EasyCMS 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ EasyCMS ---
[INFO] Deleting D:\java\MyProject\EasyCMS\target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ EasyCMS ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 18 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ EasyCMS ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 120 source files to D:\java\MyProject\EasyCMS\target\classes
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] /D:/java/MyProject/EasyCMS/src/main/java/cn/easycms/service/OperlogsService.java: 某些输入文件使用了未经检查或不安全的操作。
[WARNING] /D:/java/MyProject/EasyCMS/src/main/java/cn/easycms/service/OperlogsService.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
[INFO] 2 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /D:/java/MyProject/EasyCMS/src/main/java/cn/easycms/service/TemplateChannelService.java:[9,47] 程序包com.sun.org.apache.xalan.internal.utils不存在
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.321 s
[INFO] Finished at: 2016-03-17T00:49:41+08:00
[INFO] Final Memory: 18M/168M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project EasyCMS: Compilation failure
[ERROR] /D:/java/MyProject/EasyCMS/src/main/java/cn/easycms/service/TemplateChannelService.java:[9,47] 程序包com.sun.org.apache.xalan.internal.utils不存在
[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


1个回答

u013772876
u013772876   2016.03.18 16:52

那去你的本地库看看有没有这个包!而且这个错误这么明显,应该很好解决的!

u013772876
u013772876 回复波波宝: com.sun.org.apache.xalan.internal.utils 没有就从远程仓库下载下!
接近 2 年之前 回复
u013408159
u013408159 回复这是一个程序猿: 我看到的是rt.jar我的本地仓库是有这个包的,但是我在包里没有找到相应的位置。
接近 2 年之前 回复
u013408159
u013408159 回复这是一个程序猿: 可是一直没有找到这个包啊,这是什么包呢?
接近 2 年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!