java.lang.NoSuchMethodException: com.sun.tools.javac.Main does not define 'public static int compile(String[], java.io.PrintWriter)' [servicegen]

Oracle Community | 3004 | 1 decade ago
  1. 0

    Servicegen issues

    Oracle Community | 1 decade ago | 3004
    java.lang.NoSuchMethodException: com.sun.tools.javac.Main does not define 'public static int compile(String[], java.io.PrintWriter)' [servicegen]
  2. 0

    db:: 4.33::Servicegen and documentation of method and parameters pk

    hivmr.com | 8 months ago
    java.lang.NoSuchMethodException: com.sun.tools.javac.Main does not define 'public static int compile(String[], java.io.PrintWriter)'
  3. 0

    try JspC as jsp compiler or using jikes..for TL "dyanmic attributes"

    Oracle Community | 1 decade ago | 666705
    java.lang.NoSuchMethodException: org.apache.jasper.JspC does not define 'public static int compile(String[], java.io.PrintWriter)'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Servlet load on server startup ?

    Google Groups | 2 decades ago | Hien Q. Nguyen
    java.lang.NoSuchMethodException: com.mycom.MyServlet does not define 'public static void main(String[])'
  6. 0

    Servlet load on server startup ?

    Oracle Community | 2 decades ago | 3004
    java.lang.NoSuchMethodException: com.mycom.MyServlet does not define 'public >> static void main(String[])' >>

    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.NoSuchMethodException

      com.sun.tools.javac.Main does not define 'public static int compile(String[], java.io.PrintWriter)' [servicegen]

      at weblogic.utils.compiler.CompilerInvoker.invokeCompile()
    2. weblogic.utils.compiler
      CompilerInvoker.compile
      1. weblogic.utils.compiler.CompilerInvoker.invokeCompile(CompilerInvoker.java:321)[servicegen]
      2. weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:448)[servicegen]
      3. weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:364)[servicegen]
      3 frames
    3. weblogic.xml.schema
      TypeMappingBuilderBase.addMapping
      1. weblogic.xml.schema.binding.internal.codegen.Compiler.invoke_compiler(Compiler.java:563)[servicegen]
      2. weblogic.xml.schema.binding.internal.codegen.Compiler.compile(Compiler.java:166)[servicegen]
      3. weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.mapClass(XSDTypeMappingBuilder.java:88)[servicegen]
      4. weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.mapClass(XSDTypeMappingBuilder.java:101)[servicegen]
      5. weblogic.xml.schema.binding.internal.TypeMappingBuilderBase.addMapping(TypeMappingBuilderBase.java:179)[servicegen]
      5 frames
    4. 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:119)[servicegen]
      3. weblogic.ant.taskdefs.webservices.autotype.JavaAutoTyper.run(JavaAutoTyper.java:81)[servicegen]
      4. weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.runAutoTyper(ServiceGenTask.java:348)[servicegen]
      5. weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:292)[servicegen]
      6. weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:169)[servicegen]
      6 frames
    5. Ant
      Main.main
      1. org.apache.tools.ant.Task.perform(Task.java:317)[servicegen]
      2. org.apache.tools.ant.Target.execute(Target.java:309)[servicegen]
      3. org.apache.tools.ant.Target.performTasks(Target.java:334)[servicegen]
      4. org.apache.tools.ant.Project.executeTarget(Project.java:1306)[servicegen]
      5. org.apache.tools.ant.Project.executeTargets(Project.java:1250)[servicegen]
      6. org.apache.tools.ant.Main.runBuild(Main.java:610)[servicegen]
      7. org.apache.tools.ant.Main.start(Main.java:196)[servicegen]
      8. org.apache.tools.ant.Main.main(Main.java:235)
      8 frames