Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- D:\INNChecker>mvn tomcat7:deploy
- [INFO] Scanning for projects...
- [INFO]
- [INFO] -----------------------< INNChecker:INNChecker >------------------------
- [INFO] Building INNChecker 1.0-SNAPSHOT
- [INFO] --------------------------------[ war ]---------------------------------
- [INFO]
- [INFO] >>> tomcat7-maven-plugin:2.2:deploy (default-cli) > package @ INNChecker >>>
- [INFO]
- [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ INNChecker ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 1 resource
- [INFO] Copying 3 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ INNChecker ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 12 source files to D:\INNChecker\target\classes
- [INFO] /D:/INNChecker/src/main/java/innchkeckerpack/services/OrganizationService.java: D:\INNChecker\src\main\java\innchkeckerpack\services\OrganizationService.java uses or overrides a deprecated API.
- [INFO] /D:/INNChecker/src/main/java/innchkeckerpack/services/OrganizationService.java: Recompile with -Xlint:deprecation for details.
- [INFO]
- [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ INNChecker ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory D:\INNChecker\src\test\resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ INNChecker ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-surefire-plugin:2.21.0:test (default-test) @ INNChecker ---
- [INFO] No tests to run.
- [INFO]
- [INFO] --- maven-war-plugin:3.1.0:war (default-war) @ INNChecker ---
- [INFO] Packaging webapp
- [INFO] Assembling webapp [INNChecker] in [D:\INNChecker\target\INNChecker-1.0-SNAPSHOT]
- [INFO] Processing war project
- [INFO] Webapp assembled in [1341 msecs]
- [INFO] Building war: D:\INNChecker\target\INNChecker-1.0-SNAPSHOT.war
- [INFO]
- [INFO] --- spring-boot-maven-plugin:2.0.5.RELEASE:repackage (default) @ INNChecker ---
- [INFO]
- [INFO] <<< tomcat7-maven-plugin:2.2:deploy (default-cli) < package @ INNChecker <<<
- [INFO]
- [INFO]
- [INFO] --- tomcat7-maven-plugin:2.2:deploy (default-cli) @ INNChecker ---
- [INFO] Deploying war to http://localhost:8080/webapps
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 35.101 s
- [INFO] Finished at: 2019-02-12T21:20:06+03:00
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:deploy (default-cli) on project INNChecker: Cannot invoke Tomcat manager: Connection refused: connect -> [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
- Настройка maven:
- <servers>
- <server>
- <id>TomcatServer</id>
- <username>admin</username>
- <password>admin</password>
- </server>
- </servers>
- tomcat-users.xml:
- <tomcat-users>
- <role rolename="manager-gui"/>
- <role rolename="manager-script"/>
- <user username="admin" password="admin" roles="manager-gui"/>
- </tomcat-users>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement