Uploaded image for project: 'Forrest (Retired)'
  1. Forrest (Retired)
  2. FOR-407

Compile error: class file has wrong version 48.0, should be 47.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.7
    • 0.7
    • Compile
    • None
    • Windows XP SP2

    Description

      When getting current SVN snapshots, I can't compile it on my windows XP system:

      When I type build, I get:
      C:\forrest20040812\forrest\main>build
      Using classpath: ";..\lib\endorsed\jakarta-bcel-20040329.jar;..\lib\endorsed\jakarta-regexp-1.3.jar;..\lib\endorsed\xala
      n-2.6.1-dev-20041008T0304.jar;..\lib\endorsed\xercesImpl-2.6.2.jar;..\lib\endorsed\xml-apis.jar"
      Buildfile: build.xml

      init:

            --------------------------------------------------------------

            Using Apache Ant version 1.6.2 compiled on July 16 2004
            Build file C:\forrest20040812\forrest\main\build.xml
            Use 'build.[sh|bat] -projecthelp' to see other options.
            Build system home ..\tools\ant
            Build number 1
            Project Name Forrest build file
            Java Version 1.3
            Timestamp 200412081131
            This is: apache-forrest 0.7-dev

            --------------------------------------------------------------


      compile:
      Compiling 31 source files to C:\forrest20040812\forrest\build\classes
      C:\forrest20040812\forrest\main\java\org\apache\cocoon\acting\sourcetype\SourceTypeAction.java:27: cannot access org.apa
      che.cocoon.acting.Action

      bad class file: C:\forrest20040812\forrest\lib\core\cocoon-2.2.0-dev-r111170.jar(org/apache/cocoon/acting/Action.class)

      class file has wrong version 48.0, should be 47.0

      Please remove or make sure it appears in the correct subdirectory of the classpath.

      import org.apache.cocoon.acting.Action;

                                      ^

      1 error


      BUILD FAILED
      C:\forrest20040812\forrest\main\build.xml:308: Compile failed; see the compiler error output for details.

      Total time: 6 seconds

      C:\forrest20040812\forrest\main>

      Attachments

        Activity

          People

            Unassigned Unassigned
            ojacques Olivier Jacques
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: