Tomcat Server Fails to Start the Server and Application in Sts

tomcat server fails to start the server and application in STS

The jar file may be corrupt as a result of bad internet connection. Try removing the content of your C:\Users\[username]\.m2\repository folder. Then right click your project, select Maven, Update Project, check on Force Update of Snapshots/Releases. If you are sure only one Jar file has a problem, then you only need to delete its folder.

Server Tomcat v7.0 Server at localhost failed to start without stack trace while it works in terminal

To resolve this issue, you have to delete the .snap file located in the directory:

<workspace-directory>\.metadata\.plugins\org.eclipse.core.resources

After deleting this file, you could start Eclipse with no problem.

Server Tomcat v10.0 Server at localhost failed to start

I can see this in the logs: Unsupported class file major version 60

Is it possible you compiled the code using Java 16 but are now trying to execute on something below?

See also

  • List of Java class file format major version numbers?
  • https://docs.oracle.com/javase/specs/jvms/se17/html/jvms-4.html#jvms-4.1-200-B.2

STS error while trying to run spring boot app on server

Your workspace is referencing server that doesn't exist anymore.

Just delete and create new server in STS. It is in "Servers" view.



Related Topics



Leave a reply



Submit