1 Reply Latest reply on Sep 17, 2001 6:43 AM by Jules Gosnell

    JDK 1.4/Jetty problems... (?)

    Dirk Fromhein Newbie

      When I try to run the demos under Linux JDK 1.4beta I get the following. When I switch to 1.3 everything works just fine.

      HTTP ERROR: 503 Service Unavailable

      org.apache.jasper.JasperException: JASPER: Unable to compile class for JSPerror: Invalid class file format in
      /usr/local/j2sdk1.4.0/jre/lib/rt.jar(java/io/PrintWriter.class). The major.minor version '48.0' is too recent for this tool to understand.
      /tmp/JettyContext50137.tmp/_0002fjsp_0002fsnoop_0002ejspsnoop_jsp_0.java:7: Class java.io.PrintWriter not found in import. import
      java.io.PrintWriter; ^ error: Invalid class file format in /usr/local/j2sdk1.4.0/jre/lib/rt.jar(java/io/IOException.class). The major.minor version
      '48.0' is too recent for this tool to understand. /tmp/JettyContext50137.tmp/_0002fjsp_0002fsnoop_0002ejspsnoop_jsp_0.java:8: Class
      java.io.IOException not found in import. import java.io.IOException; ^ error: Invalid class file format in
      /usr/local/j2sdk1.4.0/jre/lib/rt.jar(java/io/FileInputStream.class). The major.minor version '48.0' is too recent for this tool to understand.
      /tmp/JettyContext50137.tmp/_0002fjsp_0002fsnoop_0002ejspsnoop_jsp_0.java:9: Class java.io.FileInputStream not found in import.
      import java.io.FileInputStream; ^ error: Invalid class file format in /usr/local/j2sdk1.4.0/jre/lib/rt.jar(java/io/ObjectInputStream.class). The
      major.minor version '48.0' is too recent for this tool to understand.
      /tmp/JettyContext50137.tmp/_0002fjsp_0002fsnoop_0002ejspsnoop_jsp_0.java:10: Class java.io.ObjectInputStream not found in import.
      import java.io.ObjectInputStream; ^ error: Invalid class file format in /usr/local/j2sdk1.4.0/jre/lib/rt.jar(java/util/Vector.class). The
      major.minor version '48.0' is too recent for this tool to understand.
      /tmp/JettyContext50137.tmp/_0002fjsp_0002fsnoop_0002ejspsnoop_jsp_0.java:11: Class java.util.Vector not found in import. import
      java.util.Vector; ^ error: Invalid class file format in /usr/local/j2sdk1.4.0/jre/lib/rt.jar(java/util/Enumeration.class). The major.minor version
      '48.0' is too recent for this tool to understand. /tmp/JettyContext50137.tmp/_0002fjsp_0002fsnoop_0002ejspsnoop_jsp_0.java:16: Class
      java.util.Enumeration not found in import. import java.util.Enumeration; ^ error: Invalid class file format in
      /usr/local/j2sdk1.4.0/jre/lib/rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
      /tmp/JettyContext50137.tmp/_0002fjsp_0002fsnoop_0002ejspsnoop_jsp_0.java:0: Class java.lang.Object not found in class
      javax.servlet.GenericServlet. package jsp; ^ 14 errors

      RequestURI=/demo/jsp/snoop.jsp