java.lang.SecurityException: Prohibited package name: java.util [servicegen]

Oracle Community | 666705 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Generating EJB webservice using servicegen

    Oracle Community | 1 decade ago | 666705
    java.lang.SecurityException: Prohibited package name: java.util [servicegen]
  2. 0

    Generating EJB webservice using servicegen

    Oracle Community | 1 decade ago | 666705
    java.lang.SecurityException: Prohibited package name: java.util [servicegen]
  3. 0

    weblogic 815: Prohibited package name: java.util

    Oracle Community | 1 decade ago | 666705
    java.lang.SecurityException: Prohibited package name: java.util [servicegen]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception while doing servicegen

    Coderanch | 1 decade ago | Pam Theod
    java.lang.SecurityException: Prohibited package name: java.util

    19 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.SecurityException

      Prohibited package name: java.util [servicegen]

      at java.lang.ClassLoader.defineClass()
    2. Java RT
      SecureClassLoader.defineClass
      1. java.lang.ClassLoader.defineClass(ClassLoader.java:524)[servicegen]
      2. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)[servicegen]
      2 frames
    3. weblogic.utils.classloaders
      GenericClassLoader.findClass
      1. weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:476)[servicegen]
      2. weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:181)[servicegen]
      2 frames
    4. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:289)[servicegen]
      2. java.lang.ClassLoader.loadClass(ClassLoader.java:235)[servicegen]
      2 frames
    5. weblogic.utils.classloaders
      GenericClassLoader.loadClass
      1. weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:223)[servicegen]
      1 frame
    6. Java RT
      Class.forName
      1. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)[servicegen]
      2. java.lang.Class.forName0(Native Method)[servicegen]
      3. java.lang.Class.forName(Class.java:219)[servicegen]
      3 frames
    7. weblogic.xml.schema
      TypeMappingBuilderBase.addMapping
      1. weblogic.xml.schema.binding.internal.codegen.Compiler.loadClass(Compiler.java:641)[servicegen]
      2. weblogic.xml.schema.binding.internal.codegen.Compiler.addToMapping(Compiler.java:450)[servicegen]
      3. weblogic.xml.schema.binding.internal.codegen.Compiler.compile(Compiler.java:175)[servicegen]
      4. weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.mapClass(XSDTypeMappingBuilder.java:89)[servicegen]
      5. weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.mapClass(XSDTypeMappingBuilder.java:102)[servicegen]
      6. weblogic.xml.schema.binding.internal.TypeMappingBuilderBase.addMapping(TypeMappingBuilderBase.java:180)[servicegen]
      6 frames
    8. weblogic.ant.taskdefs
      ServiceGenTask.execute
      1. weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.addMapping(ComponentAutoTyper.java:88)[servicegen]
      2. weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.mapComponent(ComponentAutoTyper.java:141)[servicegen]
      3. weblogic.ant.taskdefs.webservices.autotype.EJBAutoTyper.run(EJBAutoTyper.java:115)[servicegen]
      4. weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.runAutoTyper(ServiceGenTask.java:367)[servicegen]
      5. weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:313)[servicegen]
      6. weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:181)[servicegen]
      6 frames
    9. Ant
      Main.main
      1. org.apache.tools.ant.Task.perform(Task.java:341)[servicegen]
      2. org.apache.tools.ant.Target.execute(Target.java:309)[servicegen]
      3. org.apache.tools.ant.Target.performTasks(Target.java:336)[servicegen]
      4. org.apache.tools.ant.Project.executeTarget(Project.java:1339)[servicegen]
      5. org.apache.tools.ant.Project.executeTargets(Project.java:1255)[servicegen]
      6. org.apache.tools.ant.Main.runBuild(Main.java:609)[servicegen]
      7. org.apache.tools.ant.Main.start(Main.java:196)[servicegen]
      8. org.apache.tools.ant.Main.main(Main.java:235)
      8 frames