问题描述
- 程序包com.sun.org.apache.xalan.internal.utils不存在
-
[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:javaMyProjectEasyCMStarget
[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:javaMyProjectEasyCMStargetclasses
[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
解决方案
那去你的本地库看看有没有这个包!而且这个错误这么明显,应该很好解决的!