java.lang.SecurityException: sealing violation: can't seal package javax.naming: already loaded

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by Jeff Turner, 1 year ago
sealing violation: can't seal package javax.naming: already loaded
via Atlassian JIRA by Jeff Turner, 1 year ago
sealing violation: can't seal package javax.naming: already loaded
via Atlassian JIRA by Jun Yang, 1 year ago
sealing violation: can't seal package javax.naming: already loaded
via Atlassian JIRA by Jun Yang, 1 year ago
sealing violation: can't seal package javax.naming: already loaded
via Oracle Community by 843811, 1 year ago
java.lang.SecurityException: sealing violation: can't seal package javax.naming: already loaded
at java.net.URLClassLoader.defineClass(URLClassLoader.java:234)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at org.mortbay.http.ContextLoader.loadClass(ContextLoader.java:197)
at org.mortbay.http.ContextLoader.loadClass(ContextLoader.java:170)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
at java.lang.Class.getConstructor0(Class.java:1922)
at java.lang.Class.newInstance0(Class.java:278)
at java.lang.Class.newInstance(Class.java:261)
at org.ofbiz.core.entity.TransactionFactory.getTransactionFactory(TransactionFactory.java:68)
at org.ofbiz.core.entity.TransactionFactory.getConnection(TransactionFactory.java:99)
at org.ofbiz.core.entity.ConnectionFactory.getConnection(ConnectionFactory.java:53)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.