tomcat maven插件启动报错tomcat-users.xml cannot be read

tomcat maven插件启动报错tomcat-users.xml cannot be read

[ERROR] Failed to execute goal org.codehaus.mojo:tomcat-maven-plugin:1.1:run (default-cli) on project metaDB: Could not start Tomcat: Memory database file
D:\WORK\target\tomcat\conf\tomcat-users.xml cannot be read -> [Help 1]


解决:
  删掉${baseDir}/target/tomcat目录(mvn clean),重新执行命令tomcat:run,搞定。

 

posted @ 2018-07-16 17:15  Json_wangqiang  阅读(1140)  评论(0编辑  收藏  举报