java.lang.SecurityException: Prohibited package name: java.awt.event

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
Prohibited package name: java.awt.event
via Coderanch by Prasma Kankut, 1 year ago
Prohibited package name: java.lang
via Oracle Community by 666705, 1 year ago
via Oracle Community by 843810, 1 year ago
Prohibited package name: java
via Google Groups by Thomas Poeschmann, 1 month ago
Prohibited package name: java.ptest
via Oracle Community by 807555, 1 year ago
Prohibited package name: java
java.lang.SecurityException: Prohibited package name: java.awt.event
at java.lang.ClassLoader.defineClass(ClassLoader.java:477)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
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 Po.GanttProject.(GanttProject.java:463)
at Po.GanttProject.main(GanttProject.java:1470)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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