您的位置:首页 > 理论基础 > 计算机网络

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

2016-05-09 17:00 274 查看
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

SLF4J: Defaulting to no-operation (NOP) logger implementation

SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

[INFO] Scanning for projects...

[WARNING]

[WARNING] Some problems were encountered while building the effective model for com.hx.maintain:maintain:war:0.0.1-SNAPSHOT

[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework:spring-context-support:jar -> version ${org.springframework-version} vs ${spring.version} @ line 78, column 15

[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:tomcat-maven-plugin is missing. @ line 319, column 12

[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 jzoom Maven Webapp 0.0.1-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[INFO]

[INFO] >>> tomcat-maven-plugin:1.1:run (default-cli) @ maintain >>>

[INFO]

[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ maintain ---

[debug] execute contextualize

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] Copying 11 resources

[INFO]

[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ maintain ---

[INFO] Compiling 3 source files to D:\workspace_eclipse\hx_maintain\target\classes

[INFO] -------------------------------------------------------------

[ERROR] COMPILATION ERROR :

[INFO] -------------------------------------------------------------

[ERROR] \workspace_eclipse\hx_maintain\src\main\java\com\hxqc\maintain\modules\admin\dao\InterfaceLogDao.java:[35,8] 错误: 找不到符号

[INFO] 1 error

[INFO] -------------------------------------------------------------

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 1.787s

[INFO] Finished at: Mon May 09 16:57:41 CST 2016

[INFO] Final Memory: 18M/224M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project maintain: Compilation failure

[ERROR] \workspace_eclipse\hx_maintain\src\main\java\com\hxqc\maintain\modules\admin\dao\InterfaceLogDao.java:[35,8] 错误: 找不到符号

[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
问题由来:这个问题主要是在maven target 中没有找到对应的编译文件

解决办法:project----->clean------>选中maven项目,重新启动就KO了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: