axis2报错 jar包冲突

org.apache.jasper.JasperException: Unable to compile class for JSP
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:610)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:382)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

Root Cause

java.lang.IllegalStateException: Can't overwrite cause with Error at line:1 col:3  '%' expected [/?! -- [CDATA[ ]
	java.lang.Throwable.initCause(Throwable.java:456)
	weblogic.xml.stax.XMLStreamReaderBase.prime(XMLStreamReaderBase.java:79)
	weblogic.xml.stax.XMLStreamReaderBase.setInput(XMLStreamReaderBase.java:101)
	weblogic.xml.stax.XMLStreamInputFactory.createXMLStreamReader(XMLStreamInputFactory.java:325)
	weblogic.xml.stax.XMLStreamInputFactory.createXMLStreamReader(XMLStreamInputFactory.java:49)
	org.apache.jasper.compiler.EncodingDetector.getPrologEncoding(EncodingDetector.java:96)
	org.apache.jasper.compiler.EncodingDetector.(EncodingDetector.java:66)
	org.apache.jasper.compiler.ParserController.determineSyntaxAndEncoding(ParserController.java:323)
	org.apache.jasper.compiler.ParserController.doParse(ParserController.java:200)
	org.apache.jasper.compiler.ParserController.parseDirectives(ParserController.java:127)
	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:197)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:373)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:350)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:595)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:382)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

Root Cause

javax.xml.stream.XMLStreamException:  '%' expected [/?! -- [CDATA[ ]
	weblogic.xml.stax.XMLStreamReaderBase.prime(XMLStreamReaderBase.java:78)
	weblogic.xml.stax.XMLStreamReaderBase.setInput(XMLStreamReaderBase.java:101)
	weblogic.xml.stax.XMLStreamInputFactory.createXMLStreamReader(XMLStreamInputFactory.java:325)
	weblogic.xml.stax.XMLStreamInputFactory.createXMLStreamReader(XMLStreamInputFactory.java:49)
	org.apache.jasper.compiler.EncodingDetector.getPrologEncoding(EncodingDetector.java:96)
	org.apache.jasper.compiler.EncodingDetector.(EncodingDetector.java:66)
	org.apache.jasper.compiler.ParserController.determineSyntaxAndEncoding(ParserController.java:323)
	org.apache.jasper.compiler.ParserController.doParse(ParserController.java:200)
	org.apache.jasper.compiler.ParserController.parseDirectives(ParserController.java:127)
	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:197)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:373)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:350)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:595)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:382)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

Root Cause

Error at line:1 col:3  '%' expected [/?! -- [CDATA[ ]
	weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:288)
	weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:178)
	weblogic.xml.babel.baseparser.BaseParser.prime(BaseParser.java:268)
	weblogic.xml.babel.baseparser.BaseParser.initScanner(BaseParser.java:118)
	weblogic.xml.babel.baseparser.BaseParser.init(BaseParser.java:244)
	weblogic.xml.babel.baseparser.BaseParser.(BaseParser.java:84)
	weblogic.xml.stax.XMLStreamReaderBase.prime(XMLStreamReaderBase.java:54)
	weblogic.xml.stax.XMLStreamReaderBase.setInput(XMLStreamReaderBase.java:101)
	weblogic.xml.stax.XMLStreamInputFactory.createXMLStreamReader(XMLStreamInputFactory.java:325)
	weblogic.xml.stax.XMLStreamInputFactory.createXMLStreamReader(XMLStreamInputFactory.java:49)
	org.apache.jasper.compiler.EncodingDetector.getPrologEncoding(EncodingDetector.java:96)
	org.apache.jasper.compiler.EncodingDetector.(EncodingDetector.java:66)
	org.apache.jasper.compiler.ParserController.determineSyntaxAndEncoding(ParserController.java:323)
	org.apache.jasper.compiler.ParserController.doParse(ParserController.java:200)
	org.apache.jasper.compiler.ParserController.parseDirectives(ParserController.java:127)
	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:197)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:373)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:350)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:595)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:382)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

 

将jsr311-api-1.1.1.jar删除,问题解决

你可能感兴趣的:(axis2)