简体   繁体   中英

does sysdeo tomcat plugin for eclipse add value to helios?

am developing a simple web app using jsps and servlets for tomcat 5.5.
Currently using the Eclipse Helios and Dynamic Web Application Project.

For some reason it is a nightmare. We spent 4 hours today trying to deploy a servlet to tomcat. We kept getting errors like

"java.lang.UnsupportedClassVersionError: Bad version number in .class file"

we played around with everything trying to set the build compatibility to what tomcat had but couldn't make the stupid thing work. (Yes it is possible we're incompetent. any suggestions on what we can try looking at are apprecieated)

My friend recalls from long time ago that he used this plugin
eclipsetotale_tomcatPlugin in order to create a "tomcat project". My question is, does sysdeo tomcat plugin add any features that aren't already available in helios?

thanks

Not sure about sysdeo, but your error seems similar to bug 116713 :

If your default JRE is set to 1.4.2 and you have a Web project targetting Tomcat 5.5 (dynamic Web module version 2.4 and Java 5.0), when you tried to run a main program, you'll get the error (you mention).

What is your default JRE set for your project?

This scenario happens when the JVM running the code is older than the one the compiler generated code for.

Have you considered simply running Tomcat under Java 6? If that is not an option, please edit your question to include this and any other restrictions on this project.

We used to get that error often when we had Java version issues. Eclipse environment and Windows environment ( java_home and path variables typically) are easy to overlook. Also, you can use javap -v Foo in same directory as Foo.class to find out its version.

Just use the Eclipse IDE for Java EE Developers, 206 MB edition of Eclipse . It has Tomcat and other webserver support built-in by default. Works like a charm!

Sysdeo is an old, as far as I know obsolete, plugin.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM