1 Reply Latest reply on Jun 26, 2012 3:02 PM by Wolf-Dieter Fink

    jboss-client.jar  seems to be compiled on JDK1.6 which causes bad version error when using inside JBoss4.3

    Roberto Beeman Newbie





      1). EJB3 is deployed on JBossAS7.1.1 Final


      2). A Simple Servlet Based application deployed on JBossAS 4.3 (Running on JDK1.5) tries to access the EJB3 deployed on AS7.1.1 throws

      java.lang.UnsupportedClassVersionError: Bad version number in .class file


            Because the "WEB-INF/lib/jboss-client.jar"  which contains JDK6 compiled classes. And has class version mentioned as 50.0

             If i run JBoss AS4.3 in JDK1.6 then everything works fine and i am able to make the ejb call successful.... What should i do if JBossAS4.3 has to run on JDK1.5 only