Apr 24

Tomcat出现java.lang.SecurityException: Servlet of class解决方案 不指定

actimind , 11:33 , Server , Comments(0) , Trackbacks(0) , Reads(9116) , Via Original Large | Medium | Small

2012-4-24 11:25:37 org.apache.catalina.core.ApplicationDispatcher invoke
严重: Allocate exception for servlet probe
java.lang.SecurityException: Servlet of class org.jstripe.tomcat.probe.ProbeServlet is privileged and cannot be loaded by this web application
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1134)



在tomcat/conf/server.xml:


<Context privileged="true" otherparameters.... />    

Add a comment

Nickname

Site URI

Email

Enable HTML Enable UBB Enable Emots Hidden Remember [Login] [Register]