How to use Tomcat 8.5.x and TomEE 7.x with Eclipse?

how to add tomcat 8.5 server in eclipse
tomcat 8.5 not showing in eclipse
install tomcat 8 in eclipse
apache tomcat 9 not showing in eclipse
add tomcat 8.5 to eclipse neon
download tomcat 7 for eclipse
run tomcat in eclipse
how to install tomcat 9 in eclipse

I need to setup a Tomcat 8.5.x server version in Eclipse. When I try to create a server using Eclipse GUI, I get in Eclipse Luna as choice the latest version "Apache Tomcat v8.0". When I select it and I browse to my Tomcat 8.5.x server, I get this blocking error message:

The Apache Tomcat installation at this directory is version 8.5.0. A Tomcat 8.0 installation is expected.

The same error appears when trying TomEE 7.x, which is internally based on Tomcat 8.5.

In Eclipse Neon the latest version as choice is "Apache Tomcat v9.0" and it gives the same error. There isn't even a "Apache Tomcat v8.5" option.

Is there a way to use Tomcat 8.5 and TomEE 7.x in Eclipse? How?

Integrating Tomcat 8.5.x and TomEE 7.x in Eclipse, x using Tomcat v8.0 Server plugin in Eclipse? For searchbots, the error says The Apache Tomcat installation at this directory is version 8.5.3. INFO: Starting Servlet Engine: Apache Tomcat/8.0.8.5.3. The same procedure applies to TomEE 7.x which is based on Tomcat 8.5.x. The difference between Tomcat 8.0 and 8.5 is the integration of Jaspic which is the first step towards standardizing Java EE authentication as part of JSR375.

There is a patch for Eclipse: https://bugs.eclipse.org/bugs/attachment.cgi?id=262418&action=edit

Download this patch and put it to the plugins directory of your Eclipse installation. It will replace the default "org.eclipse.jst.server.tomcat.core_1.1.800.v201602282129.jar".

NOTE After you add this patch you must choose "Apache Tomcat v9.0" when adding a server runtime environment in the Eclipse (Preferences > Server > Runtime Environments). I.e. this patch allows you to select either Tomcat version 9.x or Tomcat version 8.5.x when adding Apache Tomcat v.9.0 runtime environment.


More details on can be found on the related bug report page: https://bugs.eclipse.org/bugs/show_bug.cgi?id=494936

The Apache Tomcat installation at this directory is version 8.5.15 , x and TomEE 7.x with Eclipse? – Stack Overflow has the answer you need. Check out the answer by dexter-meyers. But also note the edit by informatik01. Using TomEE in Eclipse is pretty simple since it uses the existing Tomcat 7 server adaptor that comes with Eclipse. Quick Start. An excellent instructional video with step-by-step instructions on how to install Eclipse, TomEE and create/deploy your first project is available on YouTube here: Getting Started with Apache TomEE (Remember to select the 'Generate web.xml descriptor' checkbox during

For Tomcat 8.5.x users

You've to change the ServerInfo.properties file of Tomcat's /lib/catalina.jar file.

ServerInfo.properties file contains the following code

server.info=Apache Tomcat/8.5.4
server.number=8.5.4.0
server.built=Jul 6 2016 08:43:30 UTC

Just open the ServerInfo.properties file by opening the catalina.jar with winrar from your Tomcat's lib folder

ServerInfo.properties file location in catalina.jar is /org/apache/catalina/util/ServerInfo.properties

Notice : shutdown the Tomcat server(if it's already opened by cmd) before doing these things otherwise your file doesn't change and your winrar shows error.

Then change the following code in ServerInfo.properties

server.info=Apache Tomcat/8.0.8.5.4
server.number=8.5.4.0
server.built=Jul 6 2016 08:43:30 UTC

Restart your eclipse(if opened). Now it'll work...

How to use Tomcat 8.5.x and TomEE 7.x with Eclipse?, A Tomcat 8.0 installation is expected. The same error appears when trying TomEE 7.x, which is internally based on Tomcat 8.5. In Eclipse Neon the latest  How to use Tomcat 8.5.x and TomEE 7.x with Eclipse? (6) As for now Eclipse Neon service release is available . So if someone is still encounters this trouble, just go to Help → Check for Updates and install provided updates.

As for now Eclipse Neon service release is available. So if someone is still encounters this trouble, just go to

Help → Check for Updates

and install provided updates.

TomEE and Eclipse - Apache TomEE, Using TomEE in Eclipse is pretty simple since it uses the existing Tomcat 7 server step-by-step instructions on how to install Eclipse, TomEE and create/deploy  We will download Tomcat 8 and then configure it with the Eclipse Luna. This tutorial is simple getting started tutorial for beginners looking for good material on Tomcat and Eclipse.

This workaround worked for me. I edited the serverInfo.properties file as given below:

server.info=Apache Tomcat/8.0.0
server.number=8.0.0.0
server.built=Oct 6 2016 20:15:31 UTC

How to use Tomcat 8.5.x and TomEE 7.x with Eclipse?, The same error appears when trying TomEE 7.x, which is internally based on Tomcat 8.5. In Eclipse Neon the latest version as choice is "Apache Tomcat v9.0"​  Eclipse forgets to copy the default apps (ROOT, examples, etc.) when it creates a Tomcat folder inside the Eclipse workspace. Go to C:\apache-tomcat-7.0.34\webapps, R-click on the ROOT folder and copy it. Then go to your Eclipse workspace, go to the .metadata folder, and search for "wtpwebapps".

494936 – Add Tomcat 8.5 support to WTP Server , We are using TOMEE PLUS 7.0.0 which uses Tomcat 8.5. (In reply to Paulo Bing from comment #7) > Hi Larry, > > It didn't work. later decided to make a release of Tomcat 9.x minus new servlet features as Tomcat 8.5. Just download and use a JDK, obtained from any of several vendors. But be sure to read the licensing (in particular, Oracle changed the terms to their Oracle-branded JDK). FYI: I have been running: Tomcat 9.0.14 on Java 11.0.2 using Zulu product from Azul Systems; Tomcat 9.0.26 on Java 13 from AdoptOpenJDK …on macOS Mojave without a problem.

How to use Tomcat 8.5.x and TomEE 7.x with Eclipse?, I need to setup a Tomcat 8.5.x server version in Eclipse. When I try to create a server using Eclipse GUI, I get in Eclipse Luna as choice the latest version. Apache TomEE 7.0.0 May 2016 In order to guard against corrupted downloads/installations, it is highly recommended to verify the signature of the release bundles against the public KEYS used by the Apache TomEE developers.

Integrating Tomcat 8.5.x and TomEE 7.x in Eclipse : programming, Integrating Tomcat 8.5.x and TomEE 7.x in Eclipse Docker for Windows won't run if Razer Synapse driver management tool is running · twitter.com/Foone/. I am trying link TomEE server in eclipse using already existing tomcat server adaptor but I am getting The Apache Tomcat installation at this directory is version 8.5.3. A Tomcat 7.0 installati

Comments
  • In Tomcat 8.5.3, catalina.jar is in the lib folder.
  • +1. For those using Windows OS, you can make the required changes right in the JAR file. Just open the catalina.jar with your file archive utility (WinRar, WinZip, 7zip etc), navigate to the org\apache\catalina\util\ServerInfo.properties file, make changes and save them (confirm that you want to update the archive).
  • UPDATE And you ONLY need to change the version in the server.info= line (like server.info=Apache Tomcat/8.0.0), and server.number can be left as it is. For instance I have left it untouched like this: server.number=8.5.4.0. Works without a problem.
  • -1: modifying the server to claim to be a different version is a bit of hack, when clearly the appropriate thing to do is to modify eclipse to accept the actual version which has been done and is described in other answers.
  • After applying this hack, I got "Unknown version of Tomcat was specified." error
  • Note that this update now appears to be included in recent distributions of Neon, so simply choosing the Tomcat 9.x option might work without needing to update the plugin.
  • Did not work for Version: Luna Service Release 2 (4.4.2) my tomcat adapters are missing after the patch
  • I'm using the eclipse version Mars.2 (4.5.2) and applied this patch. Now the existing tomcat adapters are all gone. This is crazy patch, I'm rolling it back now.
  • Does it work on OS X too? I've just patched my catalina.jar and it doesn't work (nothing has changed after the patch). My Eclipse version is: Eclipse Java EE IDE for Web Developers. Version: Mars.2 Release (4.5.2) Build id: 20160218-0600
  • Sure it'll work on OS X too.Initially, I did these changes on my Mac only. After that I planned to use Tomcat on windows. So I just did it and posted as answer here. Give it a try... @piotrdab
  • Note that you still need to select Apache Tomcat v9.0 from the list of server runtimes, which is a little counter-intuitive, but it does work.