0 Replies Latest reply on Apr 5, 2005 4:33 AM by Anil Pathak

    Class version how to solve this

    Anil Pathak Newbie

      Hello i am getting this problem with my jsp.

      [javac] Compiling 1 source file
      [javac] E:\jboss-3.2.2\server\default\work\MainEngine\localhost\springs_web\applicant\applicant_form_jsp.java:7: cannot access com.spring.web.host.HostInfo
      [javac] bad class file: E:\jboss-3.2.2\server\default\tmp\deploy\tmp39370springs.ear-contents\springs_ejb.jar(com/spring/web/host/HostInfo.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 com.spring.web.host.HostInfo;
      [javac] ^
      [javac] 1 error

      I am running jboss as
      JBoss Bootstrap Environment
      JBOSS_HOME: E:\jboss-3.2.2\bin\\..
      JAVA: c:\jrocket\bin\java
      JAVA_OPTS: -Dprogram.name=run.bat
      CLASSPATH: ;c:\jrocket\lib\tools.jar;E:\jboss-3.2.2\bin\\run.jar
      14:05:16,625 INFO [Server] Release ID: JBoss [WonderLand] 3.2.2 (build: CVSTag=JBoss_3_2_2 date=200310182216)
      14:05:16,625 INFO [Server] Home Dir: E:\jboss-3.2.2
      14:05:16,625 INFO [Server] Home URL: file:/E:/jboss-3.2.2/
      14:05:16,640 INFO [Server] Library URL: file:/E:/jboss-3.2.2/lib/
      14:05:16,640 INFO [Server] Patch URL: null
      14:05:16,640 INFO [Server] Server Name: default
      14:05:16,640 INFO [Server] Server Home Dir: E:\jboss-3.2.2\server\default
      14:05:16,640 INFO [Server] Server Home URL: file:/E:/jboss-3.2.2/server/default/
      14:05:16,640 INFO [Server] Server Data Dir: E:\jboss-3.2.2\server\default\data
      14:05:16,640 INFO [Server] Server Temp Dir: E:\jboss-3.2.2\server\default\tmp
      14:05:16,640 INFO [Server] Server Config URL: file:/E:/jboss-3.2.2/server/default/conf/
      14:05:16,640 INFO [Server] Server Library URL: file:/E:/jboss-3.2.2/server/default/lib/
      14:05:16,640 INFO [Server] Root Deployemnt Filename: jboss-service.xml
      14:05:16,656 INFO [Server] Starting General Purpose Architecture (GPA)...
      14:05:17,046 INFO [ServerInfo] Java version: 1.4.2_04,BEA Systems, Inc.
      14:05:17,046 INFO [ServerInfo] Java VM: BEA WebLogic JRockit(TM) 1.4.2_04 JVM ari-31788-20040616-1132-win-ia32,BEA Systems, Inc.
      14:05:17,046 INFO [ServerInfo] OS-System: Windows XP 5.1,x86