java.security.AccessControlException: access denied 解决办法

用eclipse启动tomcat时报如下错误:
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)

解决办法:
Window -> Preferences -> Tomcat -> Advanced, 去掉“Launch Tomcat using Security Manager”即可。

你可能感兴趣的:(exception)