2 Replies Latest reply on Mar 25, 2008 5:50 AM by Sreevardhan Dharmapuri

    Bad class file : jbossesb-rosetta.jar(org/jboss/soa/esb/acti

    Sreevardhan Dharmapuri Newbie

      I have downloaded the jboss-4.2.1.GA.zip for App server and jbossesb-4.2.1GA.zip for ESB. I have configured the ESB with the app server.

      When i am trying to deploy the helloworld (samples\quickstarts\helloworld) using the ant deploy getting the following error message.

      compile:
      [javac] Compiling 3 source files to E:\jbossesb-4.2.1GA\samples\quickstarts\helloworld\build\classes
      [javac] E:\jbossesb-4.2.1GA\samples\quickstarts\helloworld\src\
      org\jboss\soa\esb\samples\quickstart\helloworld\MyJMSListenerAction.java:23: can
      not access org.jboss.soa.esb.actions.AbstractActionLifecycle
      [javac] bad class file: E:\jbossesb-4.2.1GA\lib\jbossesb.sar\lib\jbossesb-rosetta.jar(org/jboss/soa/esb/actions/AbstractActio
      nLifecycle.class)
      [javac] class file has wrong version 49.0, should be 48.0
      [javac] Please remove or make sure it appears in the correct subdirectory of
      the classpath.
      [javac] import org.jboss.soa.esb.actions.AbstractActionLifecycle;
      [javac] ^
      [javac] 1 error

      My system configuration is :

      Window 2003 server,
      jdk1.5.0_06
      apache-ant-1.6.5

      I tried to resolve this by installing the jdk1.5.0_15 and ant 1.7.0, but still the problem not solved.

      Please let me know if any one knows the solution for this problem.

      thanks.