Я пытаюсь развернуть веб-страницу в Tomcat с помощью плагина Tomcat Maven.
, но мне кажется, что ошибка
[ERROR] Failed to execute goal org.codehaus.mojo:tomcat-maven-plugin:1.1:deploy (default-cli) on project ReoWebPage: Cannot invoke Tomcat manager: Server returned HTTP response code: 401 for URL: http://localhost:8080/manager/deploy?path=%2FReoWebPage&war= -> [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
this ...
Если я продолжуизменить tomcat.xml и settings.xml, но я получу ту же ошибку.
в чем проблема ??
pom plug-in
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<url>http://localhost:8089/manager/text</url>
<server>TomcatServer</server>
<path>/ReoWebPage</path>
</configuration>
</plugin>
settings.xml
<server>
<id>TomcatServer</id>
<username>admin</username>
<password>password</password>
</server>
файл tomcat-users.xml
<role rolename="tomcat"/>
<role rolename="admin-script"/>
<role rolename="manager-script"/>
<role rolename="manager-gui"/>
<role rolename="manager-jmx"/>
<role rolename="manager-status"/>
<role rolename="manager"/>
<role rolename="admin"/>
<user password="password" roles="tomcat" username="admin"/>
<user password="password" roles="manager-gui" username="admin"/>
<user password="password" roles="admin,admin-script,manager-gui,manager-script,manager-jmx,manager-status" username="admin"/>
и запуск среды Rivse JRE -> JDK
Я использую Eclipse и Tomcat 8.0, пожалуйста, помогите.Спасибо