MyEclipse部署maven项目到tomcat7报错,有关问题解决拿分结贴

MyEclipse部署maven项目到tomcat7报错,问题解决拿分结贴
小弟在CSDN看到一个用springmvc做的系统,用maven做的 部署过程中遇到一个错误已经纠结了若干天了,万能的吧友,救救我吧。。。 救救我吧。。。救救我。。。救救。。。救。。。
环境'
windows7,  tomcat-7.0.55,maven-3.2.2,myeclipse10.0

配置;
tomcat-users.xml如下:
<role rolename="admin-gui"/>
<role rolename="admin-script"/>
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<role rolename="manager-jmx"/>
<role rolename="manager-status"/>
<user username="admin" password="admin" roles="manager-gui,manager-script,manager-jmx,manager-status,admin-script,admin-gui"/>

maven的settings.xml设置service如下:
<server>
     <id>tomcat7</id>
     <username>admin</username>
     <password>admin</password>
   </server>

进入tomcat的http://localhost:8080/host-manager/html正常
MyEclipse部署maven项目到tomcat7报错,有关问题解决拿分结贴

项目结构:
MyEclipse部署maven项目到tomcat7报错,有关问题解决拿分结贴

其中lanyuan-web中的pom.xml中配置了启动tomcat的插件配置如下:
<build>
<finalName>lanyuan-2.0</finalName>
<plugins>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.1</version>
<configuration>
<url>http://localhost:8080/manager/text</url>
<server>tomcat7</server>
<path>/lanyuan-web 2.0</path> 
</configuration>
</plugin>
</plugins>
</build>
图中低端的那个pom.xml是个parent,其主要配置如下(其他的都是一些jar包引入):
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.lanyuan</groupId>
  <artifactId>lanyuan</artifactId>
  <version>2.0</version>
  <packaging>pom</packaging>
  <name>lanyuan</name>
  <description>..</description>
  <modules>
    <module>lanyuan-security</module>
    <module>lanyuan-service</module>
    <module>lanyuan-utils</module>
    <module>lanyuan-pulgins</module>
    <module>lanyuan-entity</module>
    <module>lanyuan-web</module>
    <module>lanyuan-mapper</module>
  </modules>
最后部署操作;
MyEclipse部署maven项目到tomcat7报错,有关问题解决拿分结贴

报的错误如下:
[INFO] Reactor Summary:
[INFO] 
[INFO] lanyuan ............................................ SUCCESS [  2.875 s]
[INFO] lanyuan-pulgins .................................... SUCCESS [  1.648 s]
[INFO] lanyuan-utils ...................................... SUCCESS [  0.510 s]
[INFO] lanyuan-entity ..................................... SUCCESS [  0.449 s]
[INFO] lanyuan-mapper ..................................... SUCCESS [  0.481 s]
[INFO] lanyuan-security ................................... SUCCESS [  0.508 s]
[INFO] lanyuan-service .................................... SUCCESS [  0.445 s]
[INFO] lanyuan-web ........................................ FAILURE [  6.780 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.278 s
[INFO] Finished at: 2014-08-23T18:22:07+08:00
[INFO] Final Memory: 22M/138M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:tomcat-maven-plugin:1.1:deploy (default-cli) on project lanyuan-web: 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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :lanyuan-web
------解决思路----------------------
都是使用文件配置。。。汗
好乱,没看明白,帮顶
------解决思路----------------------
很少用,帮顶
------解决思路----------------------
帮顶MyEclipse部署maven项目到tomcat7报错,有关问题解决拿分结贴
------解决思路----------------------
maven自带有tomcat插件...不用任何配置...直接clean package tomcat:run就启动了....最简单了。。。
------解决思路----------------------
郁闷 我也遇到了这样的问题。。。楼主怎么解决的?