Error when browse servlet in Domino Server

When I tried to access my servlet(http://127.0.0.1/servlet/TestServlet) from IE browser, from the browser I got HTTP 500 Error.

From the domino server, I got the following errors.

03/15/2007 02:05:40 PM HTTP JVM: Error occurred while initializing Servlet (TestServlet)

03/15/2007 02:05:40 PM HTTP JVM:

-----Servlet Information-----

Servlet name: TestServlet

Servlet class: TestServlet

Servlet state:

Configuration parameters:

03/15/2007 02:05:40 PM HTTP JVM: java.lang.UnsupportedClassVersionError: TestServlet (Unsupported major.minor version 49.0): TestServlet (Unsupported major.minor version 49.0)

Can someone help me?

Thank you in advance.

Subject: Error when browse servlet in Domino Server

This means that you compiled the servlet with a Java 5 compiler, and didn’t specify it should be compatible with Java 1.4. You will need to recompile the java with a 1.4 compiler.

Steve

Subject: RE: Error when browse servlet in Domino Server

Hi

You can use the 1.5 compiler but you need to compile with these options:

-Source 1.4 -Target 1.4

bgrds

Jesper Kiaer

http://www.jezzper.com