Issues about Deploying Jersey RESTful Web Service On OpenJDK-based Tomcat Server
Wei Song
wsong18 at learn.senecac.on.ca
Fri Jun 1 08:13:27 PDT 2012
Hello,
I've developed a RESTful web service and a JSP/Servlet web modules at Windows, Eclipse, Java EE environment. When I tried to Deploy them on a OpenJDK-based Tomcat 6 server on Ubuntu, I always got the exception:
javax.servlet.ServletException: java.lang.UnsupportedClassVersionError: cs/turtlesback/bean/UserBean : Unsupported major.minor version 51.0 (unable to load class cs.turtlesback.bean.UserBean) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:268) javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
The details of my development environment:
Windows 7
(Oracle ) JDK 1.6.0.32
Eclipse Java EE Indigo
Apache Tomcat 6.0.35
Jersey 1.0.3 (asm-3.1.jar, jackson-lgpl-0.9.4.jar, jersey-client-1.0.3.jar, jersey-core-1.0.3.jar, jersey-json-1.0.3.jar, jersey-server-1.0.3.jar, jettison-1.0.1.jar, jsr311-api-1.0.jar)
MySQL 5.0
The target deployment environment:
Linux Ubuntu 10.04.2 LTS
Java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.13) (6b20-1.9.13-0ubuntu1~10.04.1)
OpenJDK Client VM (build 19.0-b09, mixed mode, sharing)
Apache Tomcat 6.0.24
MySQL 5.0
Could you give me any suggestion for solving the problem?
Thank you.
Wei Song
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/web-discuss/attachments/20120601/92f9d808/attachment.html
More information about the web-discuss
mailing list