[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
来源:互联网 发布:ubuntu邮箱服务器一键 编辑:程序博客网 时间:2024/06/05 09:45
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:
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了。
0 0
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
- http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
- http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException
- http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
- http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException异常解决方法
- 使用maven打包项目遇到错误: http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
- Maven工程中外置Tomcat插件找不到: http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixExcept
- eclipse用maven打包报错:http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionExcepti
- Maven 打包报错 http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
- Maven异常处理 Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
- Maven install报MojoFailureException
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:
- Original error: Could not transfer artifact org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1
- eclipse导入Maven工程Failure to transfer org.apache.maven:maven-archiver:pom:2.4.1 from http://repo.mave
- maven 编译报错MojoFailureException
- http://maven.apache.org/ant-tasks/usage.html
- Error:Unable to find optional library: org.apache.http.legacy
- Swift UITableView 学习
- 深入浅出Win32多线程程序设计
- 上传ipa包时"Missing 64-bit support.Begining..."
- Scala学习笔记-伴生对象于孤立对象
- nyoj747蚂蚁的难题(三)
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
- IO学习(十四)总结IO学习1-13
- adb用不了,error: unknown host service的解决办法 (360的360MobileLoader.exe,QQ的tadb.exe)
- 记下今天
- 分别用自定义PopupWindow和自定义Dialog实现下拉菜单
- Extjs中的tree节点的操作
- leetcode 21--Merge Two Sorted Lists 链表 合并
- android - 如何在webview中调起拨号
- 读取配置文件,利用反射给类属性赋值,