javax.servlet.ServletException: java.lang.NoSuchFieldError: IS_SECURITY_ENABLED
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:275)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
root cause
java.lang.NoSuchFieldError: IS_SECURITY_ENABLED
org.apache.naming.resources.DirContextURLConnection.(DirContextURLConnection.java:67)
org.apache.naming.resources.DirContextURLStreamHandler.openConnection(DirContextURLStreamHandler.java:89)
java.net.URL.openConnection(URL.java:945)
org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:387)
org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:351)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:582)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
I am still looking for a Solution for the same, I will update once i have the solution..
Solution in My Scenario:
For me it is the issue with the JAR Conflicts. I was having naming-factory.jar in Tomcat/Lib was conflicting with some other JAR's.I Just removed it and the issue got resolved.
I am not sure in every case the same JAR, But it is always the JAR Conflict.
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:275)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
root cause
java.lang.NoSuchFieldError: IS_SECURITY_ENABLED
org.apache.naming.resources.DirContextURLConnection.
org.apache.naming.resources.DirContextURLStreamHandler.openConnection(DirContextURLStreamHandler.java:89)
java.net.URL.openConnection(URL.java:945)
org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:387)
org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:351)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:582)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
I am still looking for a Solution for the same, I will update once i have the solution..
Solution in My Scenario:
For me it is the issue with the JAR Conflicts. I was having naming-factory.jar in Tomcat/Lib was conflicting with some other JAR's.I Just removed it and the issue got resolved.
I am not sure in every case the same JAR, But it is always the JAR Conflict.
1 comment:
thank you so much!!! I can resolved my problem with your comment!! thanks!!!
Post a Comment