eclipse+maven+tomcat进行debug报错

按照公司的环境配置文档
Maven,jdk,tomcat都配置好了
图片说明
图片说明
tomcat是7.0安装版的

然后导入了一个新建的Maven项目,pom.xml配置如下

<modelVersion>4.0.0</modelVersion>

<groupId>com.a</groupId>
<artifactId>wind</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<name>wind Maven Webapp</name>
<url>http://maven.apache.org</url>

<dependencies>
    <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>3.8.1</version>
        <scope>test</scope>
    </dependency>
</dependencies>

  <build>
    <finalName>wind</finalName>
  </build>


然后在debug configuration中新加了一个debug
图片说明
在debug启动时报错误
Error resolving version for plugin 'org.codehaus.mojo:tomcat-maven-plugin' from the repositories [local (D:\environment\Maven\Mrepository), central (https://repo.maven.apache.org/maven2)]: Plugin not found in any plugin repository
随后我查了一下原因,在pom中加上了

org.codehaus.mojo
tomcat-maven-plugin
1.1

/wp
8080
UTF-8
http://localhost:8080/manager/html
tomcat


debug没有报错,但是访问项目的时候一片空白,去到项目下边target下的tomcat,,,webapp下没有任何项目

尝试一下这种方式。https://stackoverflow.com/questions/26792533/maven-where-is-the-pom-for-org-codehaus-mojotomcat-maven-pluginjar2-2