Advertisement
Alex56

Untitled

Feb 12th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.48 KB | None | 0 0
  1. D:\INNChecker>mvn tomcat7:deploy
  2. [INFO] Scanning for projects...
  3. [INFO]
  4. [INFO] -----------------------< INNChecker:INNChecker >------------------------
  5. [INFO] Building INNChecker 1.0-SNAPSHOT
  6. [INFO] --------------------------------[ war ]---------------------------------
  7. [INFO]
  8. [INFO] >>> tomcat7-maven-plugin:2.2:deploy (default-cli) > package @ INNChecker >>>
  9. [INFO]
  10. [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ INNChecker ---
  11. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  12. [INFO] Copying 1 resource
  13. [INFO] Copying 3 resources
  14. [INFO]
  15. [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ INNChecker ---
  16. [INFO] Changes detected - recompiling the module!
  17. [INFO] Compiling 12 source files to D:\INNChecker\target\classes
  18. [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.
  19. [INFO] /D:/INNChecker/src/main/java/innchkeckerpack/services/OrganizationService.java: Recompile with -Xlint:deprecation for details.
  20. [INFO]
  21. [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ INNChecker ---
  22. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  23. [INFO] skip non existing resourceDirectory D:\INNChecker\src\test\resources
  24. [INFO]
  25. [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ INNChecker ---
  26. [INFO] Nothing to compile - all classes are up to date
  27. [INFO]
  28. [INFO] --- maven-surefire-plugin:2.21.0:test (default-test) @ INNChecker ---
  29. [INFO] No tests to run.
  30. [INFO]
  31. [INFO] --- maven-war-plugin:3.1.0:war (default-war) @ INNChecker ---
  32. [INFO] Packaging webapp
  33. [INFO] Assembling webapp [INNChecker] in [D:\INNChecker\target\INNChecker-1.0-SNAPSHOT]
  34. [INFO] Processing war project
  35. [INFO] Webapp assembled in [1341 msecs]
  36. [INFO] Building war: D:\INNChecker\target\INNChecker-1.0-SNAPSHOT.war
  37. [INFO]
  38. [INFO] --- spring-boot-maven-plugin:2.0.5.RELEASE:repackage (default) @ INNChecker ---
  39. [INFO]
  40. [INFO] <<< tomcat7-maven-plugin:2.2:deploy (default-cli) < package @ INNChecker <<<
  41. [INFO]
  42. [INFO]
  43. [INFO] --- tomcat7-maven-plugin:2.2:deploy (default-cli) @ INNChecker ---
  44. [INFO] Deploying war to http://localhost:8080/webapps
  45. [INFO] ------------------------------------------------------------------------
  46. [INFO] BUILD FAILURE
  47. [INFO] ------------------------------------------------------------------------
  48. [INFO] Total time: 35.101 s
  49. [INFO] Finished at: 2019-02-12T21:20:06+03:00
  50. [INFO] ------------------------------------------------------------------------
  51. [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]
  52. [ERROR]
  53. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  54. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  55. [ERROR]
  56. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  57. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  58.  
  59. Настройка maven:
  60. <servers>
  61. <server>
  62. <id>TomcatServer</id>
  63. <username>admin</username>
  64. <password>admin</password>
  65. </server>
  66.  
  67. </servers>
  68.  
  69. tomcat-users.xml:
  70.  
  71. <tomcat-users>
  72. <role rolename="manager-gui"/>
  73. <role rolename="manager-script"/>
  74. <user username="admin" password="admin" roles="manager-gui"/>
  75. </tomcat-users>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement