The STS 3.4.0 latest release doesn't recognize the Tomcat 8.0.1 when adding it to a runtime server environment.
When adding the Tomcat 8 to Server Runtime Environment, you will encounter "Unknown version of Tomcat was specified." or "The Apache Tomcat installation at this directory is version 8.0.1. A Tomcat 7.0 installation is expected."
I noticed that the last Apache Tomcat Version available in STS 3.4.0 environment is Apache Tomcat 7.
Anyway, you can make Tomcat 8.0.1 run in STS 3.4.0 by simple tweaking the ServerInfo.properties inside the catalina.jar folder. Please follow the simple steps below:
1) Open the catalina.jar using 7z in Windows.
2) Browse to org/apache/catalina/util
3) Open the ServerInfo.properties and replace or comment the 8.0.1 information to 7.0.47.A.RELEASE
Example:
From:
To:
That's it.
If you're using Mac and need more info, please leave a comment.
When adding the Tomcat 8 to Server Runtime Environment, you will encounter "Unknown version of Tomcat was specified." or "The Apache Tomcat installation at this directory is version 8.0.1. A Tomcat 7.0 installation is expected."
I noticed that the last Apache Tomcat Version available in STS 3.4.0 environment is Apache Tomcat 7.
Anyway, you can make Tomcat 8.0.1 run in STS 3.4.0 by simple tweaking the ServerInfo.properties inside the catalina.jar folder. Please follow the simple steps below:
1) Open the catalina.jar using 7z in Windows.
2) Browse to org/apache/catalina/util
3) Open the ServerInfo.properties and replace or comment the 8.0.1 information to 7.0.47.A.RELEASE
Example:
From:
#server.info=Apache Tomcat/8.0.1
#server.number=8.0.1.0
#server.built=Jan 29 2014 11:13:21
To:
server.info=TC 8.0.1 to TC 7 Tweak/7.0.47.A.RELEASE4) Save the text then close the 7z.
server.number=7.0.47.0
server.built=Oct 28 2013 08:15:22
That's it.
If you're using Mac and need more info, please leave a comment.