当前位置: 技术问答>java相关
急S我了,怎么也配置不好,快帮帮忙吧!
来源: 互联网 发布时间:2017-04-18
本文导语: 在新的电脑上配置系统时,运行出现以下错误, java.lang.SecurityException: sealing violation at java.net.URLClassLoader.defineClass(URLClassLoader.java:234) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) ...
在新的电脑上配置系统时,运行出现以下错误,
java.lang.SecurityException: sealing violation
at java.net.URLClassLoader.defineClass(URLClassLoader.java:234)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at com.jfsys.exam.system.log.(log.java:41)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at java.beans.Beans.instantiate(Beans.java:207)
at java.beans.Beans.instantiate(Beans.java:51)
at log._0005clog_0005clogMan_0002ejsplogMan_jsp_3._jspService(_0005clog_
0005clogMan_0002ejsplogMan_jsp_3.java:87)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspSer
vlet.java:161)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:2
47)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:352)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper
.java:626)
at org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper
.java:534)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:378)
at org.apache.tomcat.core.Context.handleRequest(Context.java:644)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:440
)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:144)
at org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:31
0)
at java.lang.Thread.run(Thread.java:484)
java.lang.SecurityException: sealing violation
at java.net.URLClassLoader.defineClass(URLClassLoader.java:234)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at com.jfsys.exam.system.log.(log.java:41)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at java.beans.Beans.instantiate(Beans.java:207)
at java.beans.Beans.instantiate(Beans.java:51)
at log._0005clog_0005clogMan_0002ejsplogMan_jsp_3._jspService(_0005clog_
0005clogMan_0002ejsplogMan_jsp_3.java:87)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspSer
vlet.java:161)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:2
47)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:352)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper
.java:626)
at org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper
.java:534)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:378)
at org.apache.tomcat.core.Context.handleRequest(Context.java:644)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:440
)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:144)
at org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:31
0)
at java.lang.Thread.run(Thread.java:484)
|
检查你的Classpath配置好了没有
|
修改你java.policy文件,在JBuilder7jdk1.3.1jrelibsecurity中。
如permission java.security.AllPermission;
如permission java.security.AllPermission;
|
win98是不行的
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。