java.lang.SecurityException: Prohibited package 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 Google Groups by Andy Stevko, 10 months ago
via Oracle Community by 371798, 2 months ago
Prohibited package name: java.io
via Stack Overflow by Maxim Blumental
, 1 year ago
Prohibited package name: java.lang
via Stack Overflow by Wrath
, 2 years ago
Prohibited package name: java.lang
via Atlassian JIRA by Adrian Hempel [Atlassian], 1 year ago
Prohibited package name: java.util.concurrent.locks
java.lang.SecurityException: Prohibited package name: java.lang
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:662)
at java.lang.ClassLoader.defineClass(ClassLoader.java:761)
at java.lang.ClassLoader.defineClass(ClassLoader.java:642)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.lang.ClassLoader.defineClass(ClassLoader.java:642)
at com.google.gwt.inject.rebind.GinBridgeClassLoader.findClass(GinBridgeClassLoader.java:160)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.lang.ClassLoader.defineClass(ClassLoader.java:642)
at com.google.gwt.inject.rebind.GinBridgeClassLoader.findClass(GinBridgeClassLoader.java:160)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
at com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:649)
at com.google.inject.spi.InjectionPoint.forStaticMethodsAndFields(InjectionPoint.java:321)
at com.google.gwt.inject.rebind.GinjectorBindings.addStaticInjectionRequest(GinjectorBindings.java:499)
at com.google.gwt.inject.rebind.GuiceElementVisitor.visit(GuiceElementVisitor.java:127)
at com.google.gwt.inject.rebind.GuiceElementVisitor.visitElements(GuiceElementVisitor.java:90)
at com.google.gwt.inject.rebind.GuiceElementVisitor.visitElementsAndReportErrors(GuiceElementVisitor.java:73)
at com.google.gwt.inject.rebind.BindingsProcessor.createBindingsForModules(BindingsProcessor.java:201)
at com.google.gwt.inject.rebind.BindingsProcessor.process(BindingsProcessor.java:102)
at com.google.gwt.inject.rebind.GinjectorGeneratorImpl.generate(GinjectorGeneratorImpl.java:79)
at com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)
at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 3 months ago
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
5 more bugmates

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