Tomcat7 configuration:
The generated plug-in:
Deploy startup error:
Detailed error message:
[INFO] -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
[the INFO] BUILD FAILURE
[the INFO] -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
[the INFO] Total time: 8.554 s
[the INFO] Finished at: 2017-07-01 T12:41:00 + 08:00
[the INFO] Final Memory: 17 m/176 m
[the INFO] -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
[ERROR] Failed to execute goal. Org. Apache tomcat. Maven: tomcat7 -- maven plugin: 2.2: deploy (default - cli) on project shiro: always invoke a tomcat manager: Connection refused: connect - & gt; [1] Help
[ERROR]
[ERROR] To see the full stack trace of the errors, re - run Maven have 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, both please read the following articles:
[ERROR] [1] Help http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
The Process finished with exit code 1
Attachment: maven for the project configuration
Alternatively use tomcat deployment can be started, plug-in startup is an error,
=========all==========
Pray god help
CodePudding user response:
CodePudding user response:
I usually write so, you try
CodePudding user response:
Is there a solution? I met the same problem alsoIdea2019.1.3
Jdk1.8
Tomcat7
CodePudding user response:
You!!!!!!!!!!!!!!!! Pay attention!!!!!!!!!!!When you copy the pom. The XML file, & lt; ArtifactId> The place did not modify & lt;/artifactId>
On this place without modification, lead to conflict, so deployment is not file name this project!
CodePudding user response:
If you want to start directly, directly through the tomcat: run command to start;If you need the local tomcat startup, it is necessary to start the tomcat, and the configuration related permissions
CodePudding user response: