Menu

Wrong version?

2007-03-05
2013-04-11
  • Nobody/Anonymous

    I'm using Sonar and build a new project in JDeveloper, I match the following errors an until now still can not resolve it?

    I don't know why it happen althought I change other lib file or copy files from deployed war file (sonar0.1)

    Can you help me? Thanks!

    Error: cannot access class org.JCaiF.Sonar.SonarEngine; class file has wrong version 49.0, should be 45.3 or 46.0 or 47.0 or 48.0

    Error(12,11): cannot access class ResponseListQuestion; class file has wrong version 49.0, should be 45.3 or 46.0 or 47.0 or 48.0

    Error(12,51): class org.JCaiF.CoreComponents.ResponseListQuestion is not public in package org.JCaiF.CoreComponents; cannot be accessed from outside package

    Error(36,31): cannot access class ListItem; class file has wrong version 49.0, should be 45.3 or 46.0 or 47.0 or 48.0

     
    • Michael hall

      Michael hall - 2007-03-05

      It sounds like we're using different versions of Java, download the source for JCaiF and Sonar 0.6 and recompile them then replace the .jar files with your new ones, that should make class files of the version your JVM expects.  I know that Java 1.5 is the minimum version requirement for JCaiF and Sonar.

       
    • Nobody/Anonymous

      Yes, I using JDK 5 and Using the code you supply to build (Using Eclipse) is OK

      So if I use source code and deploy to tomcat 5.5.20 => After open Sonar application the server stopped! I don't know why

      Have you had this problem?

       
    • Michael hall

      Michael hall - 2007-03-06

      If you are building all the source for JCaiF 0.6, Sonar 0.6, and SonarWeb 0.1, it should work.  Send me a copy of your .war file and I will try to get it working.  My email is mhall@lakeland.net.

       
    • Nobody/Anonymous

      Yes, I've sent it to your mail!

       
      • Michael hall

        Michael hall - 2007-03-07

        I haven't received anything, try sending it again.

        Thanks.

         

Log in to post a comment.