Maven+SpringMVC+Mybatis 开发环境整合

1、maven build遇到了如下问题:

 [ERROR] Failed to execute goal org.codehaus.mojo:tomcat-maven-plugin:1.1:redeploy (default-cli) on project vehicleCloud: Cannot invoke Tomcat manager: Error writing to server -> [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 
 
解决方法:com文件夹右击选择use as source folder.
原因:http://li-fanghua.blog.163.com/blog/static/7954442020129841729685/
 
posted @ 2016-04-02 22:48  hzhtracy  阅读(211)  评论(0编辑  收藏  举报