java.lang.UnsupportedClassVersionError: Bad version number in .class file error while calling web service -
i getting following error while using web service.
500 internal server error
java.lang.unsupportedclassversionerror: bad version number in .class file @ java.lang.classloader.defineclass1(native method) @ java.lang.classloader.defineclass(classloader.java:620) @ java.security.secureclassloader.defineclass(secureclassloader.java:124) @ com.evermind[oracle application server containers j2ee 10g (10.1.2.3.0)].util.oc4jsecureclassloader.defineclassentry(oc4jsecureclassloader.java:172) @ com.evermind[oracle application server containers j2ee 10g (10.1.2.3.0)].naming.contextclassloader.defineclass(contextclassloader.java:1179) @ com.evermind[oracle application server containers j2ee 10g (10.1.2.3.0)].naming.contextclassloader.defineclass(contextclassloader.java:1065) @ com.evermind[oracle application server containers j2ee 10g (10.1.2.3.0)].naming.contextclassloader.findclass(contextclassloader.java:404) @ java.lang.classloader.loadclass(classloader.java:306) @ com.evermind[oracle application server containers j2ee 10g (10.1.2.3.0)].naming.contextclassloader.loadclass(contextclassloader.java:143) @ java.lang.classloader.loadclass(classloader.java:299) @ com.evermind[oracle application server containers j2ee 10g (10.1.2.3.0)].naming.contextclassloader.loadclass(contextclassloader.java:143) @ java.lang.classloader.loadclass(classloader.java:299) @ java.lang.classloader.loadclass(classloader.java:251) @ oracle.j2ee.ws.javarpcwebservice.init(javarpcwebservice.java:85) @ javax.servlet.genericservlet.init(genericservlet.java:258) @ com.evermind[oracle application server containers j2ee 10g (10.1.2.3.0)].server.http.httpapplication.loadservlet(httpapplication.java:2358) @ com.evermind[oracle application server containers j2ee 10g (10.1.2.3.0)].server.http.httpapplication.findservlet(httpapplication.java:4800) @ com.evermind[oracle application server containers j2ee 10g (10.1.2.3.0)].server.http.httpapplication.getrequestdispatcher(httpapplication.java:2826) @ com.evermind[oracle application server containers j2ee 10g (10.1.2.3.0)].server.http.httprequesthandler.processrequest(httprequesthandler.java:666) @ com.evermind[oracle application server containers j2ee 10g (10.1.2.3.0)].server.http.ajprequesthandler.run(ajprequesthandler.java:231) @ com.evermind[oracle application server containers j2ee 10g (10.1.2.3.0)].server.http.ajprequesthandler.run(ajprequesthandler.java:136) @ com.evermind[oracle application server containers j2ee 10g (10.1.2.3.0)].util.releasableresourcepooledexecutor$myworker.run(releasableresourcepooledexecutor.java:192) @ java.lang.thread.run(thread.java:595)
i have seen earlier posts couldn't find solution this. source files present on different server , web service deployed on different server. can find out causing issue ?
this due lower java version
on system. means jar
or java
file importing in project compiled on higher version of java.
Comments
Post a Comment