我的城市沒有海 2017-06-22 13:27 采纳率: 0%
浏览 2335

maven插件启动tomc这个错的原因是什么?

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.taotao:mytaotao-search-service:war:0.0.1-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.zookeeper:zookeeper:jar -> duplicate declaration of version (?) @ com.taotao:mytaotao-search-service:[unknown-version], D:\develop\DevWorkSpace\myworkspace\mytaotao-search\mytaotao-search-service\pom.xml, line 76, column 15
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.github.sgroschupf:zkclient:jar -> duplicate declaration of version (?) @ com.taotao:mytaotao-search-service:[unknown-version], D:\develop\DevWorkSpace\myworkspace\mytaotao-search\mytaotao-search-service\pom.xml, line 80, column 15
[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] Reactor Build Order:
[INFO]
[INFO] mytaotao-search
[INFO] mytaotao-search-interface
[INFO] mytaotao-search-service
[INFO]

[INFO] ------------------------------------------------------------------------
[INFO] Building mytaotao-search 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ mytaotao-search ---
[INFO]
[INFO] >>> tomcat7-maven-plugin:2.2:run (default-cli) > process-classes @ mytaotao-search >>>
[INFO]
[INFO] <<< tomcat7-maven-plugin:2.2:run (default-cli) < process-classes @ mytaotao-search <<<
[INFO]
[INFO] --- tomcat7-maven-plugin:2.2:run (default-cli) @ mytaotao-search ---
[INFO] Skipping non-war project
[INFO]

[INFO] ------------------------------------------------------------------------
[INFO] Building mytaotao-search-interface 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ mytaotao-search-interface ---
[INFO] Deleting D:\develop\DevWorkSpace\myworkspace\mytaotao-search\mytaotao-search-interface\target
[INFO]
[INFO] >>> tomcat7-maven-plugin:2.2:run (default-cli) > process-classes @ mytaotao-search-interface >>>
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ mytaotao-search-interface ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ mytaotao-search-interface ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to D:\develop\DevWorkSpace\myworkspace\mytaotao-search\mytaotao-search-interface\target\classes
[INFO]
[INFO] <<< tomcat7-maven-plugin:2.2:run (default-cli) < process-classes @ mytaotao-search-interface <<<
[INFO]
[INFO] --- tomcat7-maven-plugin:2.2:run (default-cli) @ mytaotao-search-interface ---
[INFO] Skipping non-war project
[INFO]

[INFO] ------------------------------------------------------------------------
[INFO] Building mytaotao-search-service 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ mytaotao-search-service ---
[INFO] Deleting D:\develop\DevWorkSpace\myworkspace\mytaotao-search\mytaotao-search-service\target
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] mytaotao-search .................................... SUCCESS [ 1.731 s]
[INFO] mytaotao-search-interface .......................... SUCCESS [ 1.385 s]
[INFO] mytaotao-search-service ............................ FAILURE [ 1.457 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.198 s
[INFO] Finished at: 2017-06-22T21:15:09+08:00
[INFO] Final Memory: 17M/170M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project mytaotao-search-service: Failed to clean project: Failed to delete D:\develop\DevWorkSpace\myworkspace\mytaotao-search\mytaotao-search-service\target\tomcat\conf\logging.properties -> [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :mytaotao-search-service

  • 写回答

2条回答 默认 最新

  • LoveJing_OnlyYou 2017-06-22 13:35
    关注

    应该是同个tomcat在启动着,然后端口占用了,你只需要关闭前一个就行了(菜鸟 错了勿喷)

    评论

报告相同问题?

悬赏问题

  • ¥15 求差集那个函数有问题,有无佬可以解决
  • ¥15 【提问】基于Invest的水源涵养
  • ¥20 微信网友居然可以通过vx号找到我绑的手机号
  • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
  • ¥15 解riccati方程组
  • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
  • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
  • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
  • ¥50 树莓派安卓APK系统签名
  • ¥65 汇编语言除法溢出问题