java.lang.ClassFormatError: com.sun.tools.javac.main.Main (erroneous method access flags) *at Jv ClassReader.throw_class_format_error(byte) (/usr/lib/libgcj.so.5.0.0)* *at Jv ClassReader.handleMethod(int, int, int, int) (/usr/lib/libgcj.so.5.0.0)* *at Jv ClassReader.read_methods() (/usr/lib/libgcj.so.5.0.0)* *at Jv ClassReader.parse() (/usr/lib/libgcj.so.5.0.0)* *at Jv DefineClass(java.lang.Class, byte[], int, int) (/usr/lib/libgcj.so.5.0.0)* at java.lang.VMClassLoader.defineClass(java.lang.ClassLoader, java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0) at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0) at java.security.SecureClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.CodeSource) (/usr/lib/libgcj.so.5.0.0)

Oracle Community | PVM | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    javac error on R12.1.1

    Oracle Community | 6 years ago | PVM
    java.lang.ClassFormatError: com.sun.tools.javac.main.Main (erroneous method access flags) *at Jv ClassReader.throw_class_format_error(byte) (/usr/lib/libgcj.so.5.0.0)* *at Jv ClassReader.handleMethod(int, int, int, int) (/usr/lib/libgcj.so.5.0.0)* *at Jv ClassReader.read_methods() (/usr/lib/libgcj.so.5.0.0)* *at Jv ClassReader.parse() (/usr/lib/libgcj.so.5.0.0)* *at Jv DefineClass(java.lang.Class, byte[], int, int) (/usr/lib/libgcj.so.5.0.0)* at java.lang.VMClassLoader.defineClass(java.lang.ClassLoader, java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0) at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0) at java.security.SecureClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.CodeSource) (/usr/lib/libgcj.so.5.0.0)
  2. 0

    Problem on Project: GWT + JPA(eclipselink 2.4) + DB(postgresql 9)

    Google Groups | 4 years ago | Eduardo Miguel Borges da Silva
    java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/persistence/Persistence <br> <blockquote> <span style="white-space:pre"> </span>at java.lang.ClassLoader.defineClass1(Native Method)
  3. 0

    Increase Jtrac fields

    j-trac | 8 years ago | navrichard
    java.lang.ClassFormatError: Unknown constant tag 13 in class file info/jtrac/dom ain/AbstractItem
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Injecting code in an existing method using BCEL

    Stack Overflow | 3 years ago | Peter
    java.lang.ClassFormatError: LVTT entry for 'nodes' in class file net/sourceforge/pmd/AbstractRuleChainVisitor does not match any LVT entry
  6. 0

    .jar works in Windows but not Linux (stacktrace)

    Stack Overflow | 6 years ago | maxmackie
    java.lang.ClassFormatError: KioskMenu (unrecognized class file version)

  1. esaar 2 times, last 8 months ago
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassFormatError

    com.sun.tools.javac.main.Main (erroneous method access flags) *at Jv ClassReader.throw_class_format_error(byte) (/usr/lib/libgcj.so.5.0.0)* *at Jv ClassReader.handleMethod(int, int, int, int) (/usr/lib/libgcj.so.5.0.0)* *at Jv ClassReader.read_methods() (/usr/lib/libgcj.so.5.0.0)* *at Jv ClassReader.parse() (/usr/lib/libgcj.so.5.0.0)* *at Jv DefineClass(java.lang.Class, byte[], int, int) (/usr/lib/libgcj.so.5.0.0)* at java.lang.VMClassLoader.defineClass(java.lang.ClassLoader, java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0) at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0) at java.security.SecureClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.CodeSource) (/usr/lib/libgcj.so.5.0.0)

    at java.net.URLClassLoader.findClass()
  2. Java RT
    URLClassLoader.findClass
    1. java.net.URLClassLoader.findClass(java.lang.String)
    1 frame
  3. gnu.gcj.runtime
    VMClassLoader.findClass
    1. gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String)
    1 frame