java.lang.ClassNotFoundException: com.sun.tools.javac.Main [clientgen]

Oracle Community | 3004 | 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

    Clientgen Bug

    Oracle Community | 1 decade ago | 3004
    java.lang.ClassNotFoundException: com.sun.tools.javac.Main [clientgen]
  2. 0

    Java Problem

    wpthm.com | 2 years ago
    java.lang.ClassNotFoundException: com.sun.tools.javac.Main
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Weblogic.ejbc error

    Google Groups | 1 decade ago | Dhirender Kumar Thakur
    java.lang.ClassNotFoundException: com.sun.tools.javac.Main
  5. 0

    Weblogic. ejbc error

    Google Groups | 1 decade ago | DhirenThakur
    java.lang.ClassNotFoundException: com.sun.tools.javac.Main
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.ClassNotFoundException

    com.sun.tools.javac.Main [clientgen]

    at java.net.URLClassLoader$1.run()
  2. Java RT
    Class.forName
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:198)[clientgen]
    2. java.security.AccessController.doPrivileged(Native Method)[clientgen]
    3. java.net.URLClassLoader.findClass(URLClassLoader.java:186)[clientgen]
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:299)[clientgen]
    5. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)[clientgen]
    6. java.lang.ClassLoader.loadClass(ClassLoader.java:255)[clientgen]
    7. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)[clientgen]
    8. java.lang.Class.forName0(Native Method)[clientgen]
    9. java.lang.Class.forName(Class.java:140)[clientgen]
    9 frames
  3. weblogic.utils.compiler
    CompilerInvoker.compile
    1. weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:435)[clientgen]
    2. weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:364)[clientgen]
    2 frames
  4. weblogic.xml.schema
    TypeMappingBuilderBase.processSchemaTypes
    1. weblogic.xml.schema.binding.internal.codegen.Compiler.invoke_compiler(Compiler.java:563)[clientgen]
    2. weblogic.xml.schema.binding.internal.codegen.Compiler.compile_descriptors(Compiler.java:374)[clientgen]
    3. weblogic.xml.schema.binding.internal.codegen.Compiler.compile(Compiler.java:284)[clientgen]
    4. weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.addTypesInSchemas(XSDTypeMappingBuilder.java:138)[clientgen]
    5. weblogic.xml.schema.binding.internal.TypeMappingBuilderBase.processSchemaTypes(TypeMappingBuilderBase.java:307)[clientgen]
    5 frames
  5. weblogic.webservice.tools
    ClientGenImpl.run
    1. weblogic.webservice.tools.build.internal.Schema2JavaImpl.doTypeMapping(Schema2JavaImpl.java:292)[clientgen]
    2. weblogic.webservice.tools.build.internal.Schema2JavaImpl.run(Schema2JavaImpl.java:182)[clientgen]
    3. weblogic.webservice.tools.build.internal.WSDL2JavaImpl.run(WSDL2JavaImpl.java:183)[clientgen]
    4. weblogic.webservice.tools.build.internal.ClientGenImpl.getTypeMappingFromWSDL(ClientGenImpl.java:674)[clientgen]
    5. weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromWsdl(ClientGenImpl.java:398)[clientgen]
    6. weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.java:338)[clientgen]
    6 frames
  6. weblogic.ant.taskdefs
    ClientGenTask.execute
    1. weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doClientGen(ClientGenTask.java:351)[clientgen]
    2. weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenTask.java:208)[clientgen]
    2 frames
  7. Ant
    Main.main
    1. org.apache.tools.ant.Task.perform(Task.java:317)[clientgen]
    2. org.apache.tools.ant.Target.execute(Target.java:309)[clientgen]
    3. org.apache.tools.ant.Target.performTasks(Target.java:334)[clientgen]
    4. org.apache.tools.ant.Project.executeTarget(Project.java:1306)[clientgen]
    5. org.apache.tools.ant.Project.executeTargets(Project.java:1250)[clientgen]
    6. org.apache.tools.ant.Main.runBuild(Main.java:610)[clientgen]
    7. org.apache.tools.ant.Main.start(Main.java:196)[clientgen]
    8. org.apache.tools.ant.Main.main(Main.java:235)
    8 frames