My tomcat 7 server is starting and working fine by itself. When I stop it and try to start from Eclipse, it gives a NoSuchMethodError which aborts the server starting.
java.lang.NoSuchMethodError: org.eclipse.wst.server.core.model.ServerBehaviourDelegate.getTempDirectory(Z)Lorg/eclipse/core/runtime/IPath;
somebody is getting same error, but still not resolved. http://www.eclipse.org/forums/index.php?t=msg&goto=557431&S=432a9edd157438a3661ca16edfe4a4ab
I have raised a bug report to eclipse. Lets see.
>>>
I just got an update from Eclipse Bugzilla
Your Build Identifier indicates you are using Eclipse 3.5, which only works
with WTP 3.1.x. WTP 3.2.x, which includes the new Tomcat 7.0 support, requires
Eclipse 3.6.x. Running WTP 3.2.x with Eclipse 3.5.x is not supported. You
will have to install Eclipse 3.6 since upgrading 3.5.x to 3.6 is not supported.
Once you have Eclipse 3.6 with WTP 3.2.x installed (using the Java EE package
is the easiest) you can create a new workspace and import your existing
projects, or you can simply open old workspace. If you open the old workspace
with Eclipse 3.6 and WTP 3.2.x, using that workspace with Eclipse 3.5 and WTP
3.1.x is not supported.Since Eclipse 3.5.x and WTP 3.2.x is not a supported combination, I’m marking
this bug as invalid.
Upgrade karega!
Well,
this is really amazing, I will post it also to stackoverflow.com where I found discussion about this. I tried creation of symlinks to /var/lib/tomcat6 from /usr/share/tomcat6 and /etc/tomcat6 to build up a complete path, but nothing worked. Thanks for this info.
You are welcome 🙂