나는 COGNOS은 10.2 COGNOS하는 COGNOS 10.1.1에서 버전의 업그레이드 나 새로운 항아리를 추출한COGNOS 10.2 SDK : UnsupportedClassVersionError를
두 개의 항아리의 axis.jar 및 axisCognosClient.jar를 사용하여 COGNOS 환경에 연결하는 응용 프로그램이 COGNOS 10.2 SDK에서 파일을 내 프로젝트에 inlcuded입니다,
[6/10/13 13:47:14:609 CDT] 00000028 RequestProces Worg.apache.struts.action.RequestProcessor processException Unhandled Exception thrown: class sf.jra.util.reflect.MethodInvocationException
[6/10/13 13:47:14:609 CDT] 00000028 ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: action. Exception thrown : javax.servlet.ServletException: public org.apache.struts.action.ActionForward sf.gds.web.iflex.cognos.actions.CreateReportAction.runReport(org.apache.struts.action.ActionMapping,org.apache.struts.action.ActionForm,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) threw a RuntimeException during a reflection invocation.
at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:516)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:423)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
Caused by: com.ibm.ws.exception.WsEJBException: nested exception is: java.lang.UnsupportedClassVersionError: (com/cognos/developer/schemas/bibus/_3/AgentService_ServiceLocator) bad major version at offset=6
at com.ibm.ejs.container.LocalExceptionMappingStrategy.mapException(LocalExceptionMappingStrategy.java:229)
at com.ibm.ejs.container.LocalExceptionMappingStrategy.setUncheckedException(LocalExceptionMappingStrategy.java:394)
at com.ibm.ejs.container.EJSDeployedSupport.setUncheckedLocalException(EJSDeployedSupport.java:473)
at sf.gds.service.iflex.ejbs.EJSLocalStatelessCreateReport_dad64636.createReport(EJSLocalStatelessCreateReport_dad64636.java:35)
... 50 more
Caused by: java.lang.UnsupportedClassVersionError
(com/cognos/developer/schemas/bibus/_3/AgentService_ServiceLocator) bad major version at offset=6
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:266)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:151)
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:577)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java:529)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:412)
at java.lang.ClassLoader.loadClass(ClassLoader.java:605)
at sf.gds.service.iflex.cognos.api.provided.CRNConnect.connectToCognosServer(CRNConnect.java:263)
어떤 생각 우리는 왜 예외의이 종류를받을 수 있나요 .. 모든 것이 성공적으로 준수하지만, 런타임에 나는 다음과 같은 예외를 얻었다.
Cognos 설치에서 사용하는 Java 버전은 무엇입니까? 그리고 귀하의 애플 리케이션은 자바의 어떤 버전을 사용하고 있습니까? – brandong