qq_43764144
2019-09-18 09:54
采纳率: 43.5%
浏览 1.8k
已采纳

启动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

    点赞 打赏 评论
  • csdnQiPa 2019-09-18 10:43

    你先看看在外边启动tomcat有问题吗,然后再看tomcat的配置有问题吗,如果都没问题,就将maven下载好的包清一遍,确保网络正常再下载一遍

    点赞 打赏 评论

相关推荐