qq_43764144 2019-09-18 09:54 采纳率: 0%
浏览 2004
已采纳

启动tomcat,maven报错:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginConfigurationException

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building taotao-manage-web 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] >>> tomcat7-maven-plugin:2.2:run (default-cli) > process-classes @ taotao-manage-web >>>
[WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocated to commons-io:commons-io:jar:1.3.2
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ taotao-manage-web ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 7 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ taotao-manage-web ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] <<< tomcat7-maven-plugin:2.2:run (default-cli) < process-classes @ taotao-manage-web <<<
[WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocated to commons-io:commons-io:jar:1.3.2
[INFO] 
[INFO] --- tomcat7-maven-plugin:2.2:run (default-cli) @ taotao-manage-web ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.444 s
[INFO] Finished at: 2019-09-18T09:51:46+08:00
[INFO] Final Memory: 12M/154M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run (default-cli) on project taotao-manage-web: Unable to parse configuration of mojo org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run for parameter project: Cannot find default setter in class org.apache.maven.project.MavenProject -> [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/PluginConfigurationException

烦烦烦,几个这种Bug,刚刚弄完一个,现在又出现一个,repository换了一个新的,前面的几个这样的解决了,现在又冒出一个这个问题。求大佬帮忙!

  • 写回答

2条回答 默认 最新

  • doncha 2019-09-18 10:05
    关注

    tomcat问题?tomcat7-maven-plugin:2.2报错,是你jdk版本跟tomcat不匹配?去这个链接里面看看https://blog.csdn.net/sz15732624895/article/details/82151055

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?