Bug#458399: jetty: Jetty depends on a java 1.5 package

marcel marcel at dyskolus.com
Sun Dec 30 23:15:13 UTC 2007

Package: jetty
Version: 5.1.14-1
Severity: important

The JspServlet contained in libtomcat5.5-java is compiled with Java 1.5 (class version 49.0)
which will not run on a java 1.4 runtime which should be enough to run Jetty.
The error in the jetty out.log is:

at java.lang.reflect.Method.invoke(Unknown Source)
at org.mortbay.start.Main.invokeMain(Unknown Source)
at org.mortbay.start.Main.start(Unknown Source)
at org.mortbay.start.Main.main(Unknown Source)
Caused by: java.lang.UnsupportedClassVersionError: org/apache/jasper/servlet/JspServlet (Unsupported major.minor version 49.0)
  at java.lang.ClassLoader.defineClass0(Native Method)
  at java.lang.ClassLoader.defineClass(Compiled Method)(Unknown Source)
  at java.security.SecureClassLoader.defineClass(Unknown Source)
  at java.net.URLClassLoader.defineClass(Unknown Source)
  at java.net.URLClassLoader$1.run(Unknown Source)
  at java.security.AccessController.doPrivileged(Unknown Source)
  at java.net.URLClassLoader.findClass(Unknown Source)
  at java.lang.ClassLoader.loadClass(Unknown Source)
  at java.lang.ClassLoader.loadClass(Unknown Source)
  at org.mortbay.http.ContextLoader.loadClass(Unknown Source)
  at org.mortbay.http.ContextLoader.loadClass(Unknown Source)
  at org.mortbay.http.HttpContext.loadClass(Unknown Source)
  at org.mortbay.jetty.servlet.Holder.start(Unknown Source)
  at org.mortbay.jetty.servlet.ServletHolder.start(Unknown Source)
  at org.mortbay.jetty.servlet.ServletHandler.initializeServlets(Unknown Source)
  at org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(Unknown Source)
  at org.mortbay.jetty.servlet.WebApplicationContext.doStart(Unknown Source)
  at org.mortbay.util.Container.start(Unknown Source)
  at org.mortbay.http.HttpServer.doStart(Unknown Source)
  at org.mortbay.util.Container.start(Unknown Source)
  at org.mortbay.jetty.Server.main(Unknown Source)
  ... 4 more

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: arm (armv5tel)

Kernel: Linux 2.6.22-3-ixp4xx
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages jetty depends on:
ii  adduser                       3.105      add and remove users and groups
ii  ant                           1.7.0-3    Java based build tool like make
ii  apache2-utils                 2.2.6-3    utility programs for webservers
ii  java2-equivs [java2-runtime]  1.0        Equivs package for Sun JDK1.4/Arm/
ii  libcommons-logging-java       1.1.1-1    commmon wrapper interface for seve
ii  libmx4j-java                  3.0.1-3    An open source implementation of t
ii  libservlet2.4-java            5.0.30-6   Servlet 2.4 and JSP 2.0 Java class
ii  libtomcat5.5-java             5.5.25-3   Java Servlet engine -- core librar
ii  libxerces2-java               2.9.0-1    Validating XML parser for Java wit

jetty recommends no packages.

-- no debconf information

More information about the pkg-java-maintainers mailing list