eclipse3.2
tomcat5.09
tomcatplugin3.21
在eclipse下启动tomcat然后报以下错误,不知道为什么?
2007-7-25 9:39:15 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on port 8020
2007-7-25 9:39:15 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1281 ms
2007-7-25 9:39:15 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2007-7-25 9:39:15 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.0.19
2007-7-25 9:39:15 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2007-7-25 9:39:16 org.apache.catalina.core.StandardHost getDeployer
信息: Create Host deployer for direct deployment ( non-jmx )
2007-7-25 9:39:16 org.apache.catalina.core.StandardHostDeployer install
信息: Processing Context configuration file URL file:C:\Tomcat 5.0\conf\Catalina\localhost\admin.xml
java.security.AccessControlException: access denied (java.io.FilePermission C:\Tomcat 5.0\server\webapps\admin\WEB-INF\lib\struts.jar read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkRead(Unknown Source)
at java.io.File.isDirectory(Unknown Source)
at java.io.File.toURL(Unknown Source)
at org.apache.catalina.loader.WebappClassLoader.getURL(WebappClassLoader.java:2141)
at org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:1823)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1618)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:900)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1350)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1230)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:576)
at org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java:1329)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)
at org.apache.webapp.admin.ApplicationServlet.init(ApplicationServlet.java:150)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:284)
at java.security.AccessController.doPrivileged(Native Method)