org apache jasper compiler TldLocationsCache processWebDotXml

org apache jasper compiler TldLocationsCache processWebDotXml

java.lang.NullPointerException
at org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCache.java:169)

SEVERE: Allocate exception for servlet jsp
java.lang.NullPointerException
	at org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCache.java:169)
	at org.apache.jasper.compiler.TldLocationsCache.<init>(TldLocationsCache.java:145)
	at org.apache.jasper.EmbededServletOptions.<init>(EmbededServletOptions.java:346)
	at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:305)
	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:864)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:134)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:662)

Solutions: If you see above exception while using JBoss application server it means you have easclient.jar added in your classpath. Please remove easclient.jar from your project class path.

Leave a Reply

Your email address will not be published. Required fields are marked *