|Eclipse doesn't recognize TomEE [message #1703542]
||Sun, 02 August 2015 22:42
| Marcel Korpel
Registered: July 2015
According to 'TomEE and Eclipse' on Apache's website, it should be easy to run TomEE on Eclipse. I downloaded version 1.7.2 of TomEE-webproject from TomEE's download section and unpacked it in my home directory, as described in the YouTube-video on 'TomEE and Eclipse', and tested by running ~/apache-tomee-webprofile-1.7.2/bin/startup.sh. When navigating to localhost:8080, everything seems fine (the page displays "Apache Tomcat (TomEE)/7.0.62 (1.7.2)").|
However, when trying to install a new server in Eclipse, by choosing New Runtime... in the new Dynamic Web Project dialog and browsing for a Tomcat 7.0 directory, I can't select the root of the tomcat-webprofile directory (Eclipse complains that "unknown version of Tomcat was specified") and 'Finish' remains grey (and a Tomcat version is suggested to download and install). Apparently, Eclipse doesn't recognize the TomEE directory as a Tomcat directory.
I'm using Eclipse 4.5.0 (Mars) in Arch Linux. Tomcat 7 and 8 installed by the system are correctly recognized.
NOTE: Sorry for not including hyperlinks, but I'm not yet allowed to post links to non-eclipse.org sites.
|Re: Eclipse doesn't recognize TomEE [message #1703640 is a reply to message #1703636]
||Mon, 03 August 2015 18:44
| Russell Bateman
Registered: July 2009
Location: Provo, Utah, USA
On 08/03/2015 12:24 PM, Marcel Korpel wrote:|
> To be frank, I got a bit irritated by bad support of Eclipse for servlet
> containers capable of JSF (if I'm clear; tried Glassfish but got tons of
> NullPointerExceptions) and Maven problems, so now I'm trying NetBeans +
> Glassfish, which work fine, so far. The IDE is not as neat and
> configurable as Eclipse, but they work fine together.
A few years ago, I took some careful notes as I made my way through some
JSF stuff. While I experienced some frustration, it was more with the
general Faces community and not at all with Eclipse. I would have said
then that Eclipse was just the table top; the different Faces proposals
(Rich, My-, etc.) were frustratingly documented, ill available, hard to
find a complete set, etc. It's not so much Eclipse's fault.
I assume you downloaded Eclipse IDE for Java EE Developers. I used just
In any case, and I know these notes are several years old, feel free to
look through them for any help or clues you might find (bottom/middle
half of left column).
Lars Vogel's got some great tutorials on web programming including
Tomcat and JSF:
Hope this helps and doesn't confuse.
Powered by FUDForum
. Page generated in 0.03064 seconds