HI everyone ,
after installing the different tools to test the SenMessage.java class
and surpassing different problems ,I have the error message following
below. I made a research refer to some web sites , I concluded that
this message is caused by bytecodes generated from old JDK 1.0.2/1.1
compilers, or from a third-party obfuscator. In the past, many of
these compilers and obfuscators generated bytecode that does not
conform to the Java VM Specification. Because the verifiers in recent
J2SE releases are much stricter about bad class format, the
ClassFormatError is thrown by the VM when these bad class files are
loaded.
Have anybody an idea about the nature of this error, and how can I
surpass it?
Best regards
[code]
java.lang.ClassFormatError: Method process in class org/smslib/
IOutboundMessageNotification has illegal modifiers: 0x1
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass
(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:
260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:
276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:
319)
Exception in thread "main"
Exception in thread "main" Java Result: 1
BUILD SUCCESSFUL (total time: 1 second)
[/code]
--
You received this message because you are subscribed to the Google Groups
"SMSLib for Java User Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/smslib?hl=en.