Error running ‘Tomcat: run’: cannot run program “Tomcat: run” (in directory “D: \ myideaproject \ springmvc \ spring \ Web”): CreateProcess error = 2, the system cannot find the specified file.
reason:
You need to use the MVN Tomcat: run command.
The following problems may occur during operation
The reason may be that there is a problem with Maven’s default Tomcat. The solution is to add a Tomcat plug-in
Add the following codes to pom.xml
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<port>8080</port>
<path>/</path>
</configuration>
</plugin>
Then start with the MVN tomcat7: run command
Read More:
- [Solved] Docker Run Tomcat Error: Cannot find /usr/local/tomcat/bin/setclasspath.sh
- Tomcat Run Error: Can‘t find catalina.jar [How to Solve]
- [Solved] tomcat Run Error: The selected directory is not a TomEE home
- [Solved] jar Run Error: no main manifest attribute
- [Solved] Tomcat Error: org.apache.tomcat.util.digester.Digester.fatalError Parse fatal error at line [40] column [36]
- [Solved] springboot Project Run Error: HikariPool-1 – Exception during pool initialization.
- [Solved] Hive Run SQL error: mapreduce failed to initiate a task
- [Solved] Java Run Error: For input string: “XXX”
- How to Solve ERROR: Java 1.7 or later is required to run Apache Drill
- Run hadoop fs -put Command Error: java.io.IOException: Got error, status message , ack with firstBadLink
- [Solved] tomcat Startup Error: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
- NPM Run Build ERROR in static/js/balabala.js from UglifyJs
- [Solved] Tomcat configurate HTTPS error: java.net.SocketException: Permission denied
- [Solved] ERROR org.springframework.boot.SpringApplication – Application run failed org.yaml.snakeyaml.scanner
- [Solved] Spring boot Run Error: o.s.b.d.LoggingFailureAnalysisReporter ERROR;
- How to Solve java server error (java application Run Normally)
- hive Run Error: Error: Java heap space [How to Solve]
- Appium Run Error: An unknown server-side error occurred while processing the command. Original error: Cann
- [Solved] Tomcat runs JavaWeb servlet Error 404
- [Solved] javajdk1.8 Run javaFx Error: Error:Error: A fatal exception has occurred. Unrecognized option: –module-path