java.lang.ExceptionInInitializerError: java.lang.SecurityException: Prohibited p ackage name: java.lang

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 Oracle Community by 807596, 1 year ago
java.lang.SecurityException: Prohibited p ackage name: java.lang
via Coderanch by Pavan Panduga, 1 year ago
java.lang.SecurityException: Prohi bited package name: java.lang
via Coderanch by Pavan Panduga, 1 year ago
java.lang.SecurityException: Prohi bited package name: java.lang
via Oracle Community by 145998, 1 year ago
java.lang.SecurityException: Prohibited package name: java.lang
java.lang.ExceptionInInitializerError: java.lang.SecurityException: Prohibited p ackage name: java.lang
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.apache.tools.ant.util.JavaEnvUtils.(JavaEnvUtils.java:125)
at org.apache.tools.ant.Main.runBuild(Main.java:567)
at org.apache.tools.ant.Main.start(Main.java:196)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

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