1 Reply Latest reply on Mar 28, 2006 9:44 AM by Ben Wang

    java.lang.UnsupportedClassVersionError when trying to use in

    Surjit Bhachu Newbie

      Hello,

      I need to use a caching solution for my application and JBoss Cache does exactly what I require. I am constrained by using a non JBoss servlet container based on a 1.3.0 JVM. Looking at the "Wiki Knowledge Base" article it suggests that version 1.2.3 should work on JDK 1.3 but when I try to instantiate a new TreeCache I get the following error below. I understand that only JDK 1.4 is supported but is there anway I can get around this?

      Thanks,
      Surjit

      java.lang.UnsupportedClassVersionError: org/jboss/system/ServiceMBeanSupport (Unsupported major.minor version 48.0)
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:426)
      at com.broadvision.servlet.loader.BVReloader.loadClass(BVReloader.java:393)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:426)
      at com.broadvision.servlet.loader.BVReloader.loadClass(BVReloader.java:393)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
      at com.iss.toshiba.init.ApplicationContextInit.init(ApplicationContextInit.java:26)
      at javax.servlet.GenericServlet.init(GenericServlet.java:258)
      at com.broadvision.servlet.ServletContainer.init(ServletContainer.java:248)
      at com.broadvision.servlet.Reloadable.load(Reloadable.java:84)
      at com.broadvision.servlet.ServletContextContainer.loadOnStartup(ServletContextContainer.java:262)
      at com.broadvision.servlet.ServletContextContainer.(ServletContextContainer.java:147)
      at com.broadvision.servlet.HostContainer.getServletContextContainer(HostContainer.java:150)
      at com.broadvision.servlet.PathElements.getPathElement(PathElements.java:223)
      at com.broadvision.servlet.BVHttpServletRequest.init(BVHttpServletRequest.java:62)
      at com.broadvision.servlet.BVServletConnector.service(BVServletConnector.java:124)