- SEVERE: Compilation error
- org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException
- at org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader.<init>(ClassFileReader.java:372)
- at org.apache.jasper.compiler.JDTCompiler$1.findType(JDTCompiler.java:220)
- at org.apache.jasper.compiler.JDTCompiler$1.findType(JDTCompiler.java:176)
- at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:103)
- at org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding.resolve(UnresolvedReferenceBinding.java:49)
- at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.resolveType(BinaryTypeBinding.java:122)
- at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.getTypeFromTypeSignature(LookupEnvironment.java:1237)
- at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.getTypeFromVariantTypeSignature(LookupEnvironment.java:1293)
- at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.getTypeArgumentsFromSignature(LookupEnvironment.java:1080)
- at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.getTypeFromTypeSignature(LookupEnvironment.java:1242)
- at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.createMethod(BinaryTypeBinding.java:509)
- at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.createMethods(BinaryTypeBinding.java:590)
- at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.cachePartsFrom(BinaryTypeBinding.java:329)
- at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.createBinaryTypeFrom(LookupEnvironment.java:674)
- at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.createBinaryTypeFrom(LookupEnvironment.java:653)
- at org.eclipse.jdt.internal.compiler.Compiler.accept(Compiler.java:295)
- at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:108)
- at org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding.resolve(UnresolvedReferenceBinding.java:49)
- at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.resolveType(BinaryTypeBinding.java:122)
- at org.eclipse.jdt.internal.compiler.lookup.ParameterizedTypeBinding.resolve(ParameterizedTypeBinding.java:851)
- at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.resolveType(BinaryTypeBinding.java:100)
- at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.resolveTypesFor(BinaryTypeBinding.java:1047)
- at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.getExactConstructor(BinaryTypeBinding.java:761)
- at org.eclipse.jdt.internal.compiler.lookup.Scope.getConstructor(Scope.java:1816)
- at org.eclipse.jdt.internal.compiler.ast.AllocationExpression.resolveType(AllocationExpression.java:349)
- at org.eclipse.jdt.internal.compiler.ast.Assignment.resolveType(Assignment.java:157)
- at org.eclipse.jdt.internal.compiler.ast.Expression.resolve(Expression.java:915)
- at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:451)
- at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:212)
- at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:410)
- at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1147)
- at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1235)
- at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.resolve(CompilationUnitDeclaration.java:540)
- at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:759)
- at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:464)
- at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:447)
- at org.apache.jasper.compiler.Compiler.compile(Compiler.java:374)
- at org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)
- at org.apache.jasper.compiler.Compiler.compile(Compiler.java:339)
- at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:594)
- at org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:231)
- at org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:577)
- at org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:48)
- at org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:642)
- at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1539)
- at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
- at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2428)
- at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2434)
- at org.apache.jasper.compiler.Node$Root.accept(Node.java:475)
- at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
- at org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:660)
- at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:228)
- at org.apache.jasper.compiler.Compiler.compile(Compiler.java:372)
- at org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)
- at org.apache.jasper.compiler.Compiler.compile(Compiler.java:339)
- at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:594)
- at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)
- at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)
- at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
- at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
- at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
- at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)
- at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
- at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238)
- at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:262)
- at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1180)
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:950)
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
- at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
- at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
- at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
- at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
- at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:395)
- at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:250)
- at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
- at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166)
- at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
整合axis2+spring 产生异常
原因:是jdk版本导致造成的。由原1.8更改为1.7就可以了
更改为