An error will be experienced while adding Tomcat 8.5.x server (i.e. as New Server) via "Tomcat v8.0" eclipse plugin against Eclipse (e.g. Eclipse version Mars snapshot shown below)
Following is the exact error experienced...
"The Apache Tomcat installation at this directory is version 8.5.5. A Tomcat 8.0 installation is expected."
For now we need to perform a workaround with a hope that this will be fixed in coming versions / update.
Eclipse Tomcat plugin parses server info from Apache Tomcat Server installation and compares against its plugin information. So the trick is to fool Eclipse Tomcat plugin by changing its server information.
Follow the below steps :
Follow the below steps :
- Navigate to path <Tomcat 8.5 installation folder> / lib
- Open file "catalina.jar" (You can use 7-Zip software)
- Update server.info property of org/apache/catalina/util/ServerInfo.properties file
Modified file
Now, try adding the Tomcat 8.5 server.... happy coding :)
The images of Initial and modified files are the same ...
ReplyDeleteThanks a lot, have fixed it :)
DeleteThank you! It worked
ReplyDelete