java.lang.ClassFormatError: Consulta (Illegal method modifiers: 0x402)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 843802, 1 year ago
Consulta (Illegal method modifiers: 0x402)
via jakarta-bcel-user by Andrew Huntwork, 6 months ago
com/training/db/Addition (Method "<init>" has illegal signature "(V)V")
via jakarta-bcel-user by Nikhil C. Khedkar, 6 months ago
com/training/db/Addition (Method "<init>" has illegal signature "(V)V")
via Oracle Community by 843811, 1 year ago
Main (Illegal constant pool type)
via Oracle Community by 807546, 5 months ago
HelloWorldSwing (Illegal constant pool type)
via Oracle Community by 807554, 1 year ago
Welcome (Illegal constant pool type)
java.lang.ClassFormatError: Consulta (Illegal method modifiers: 0x402)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.