When I invoke weblogic.appc to generate my jsp's, it concludes parsing the jsp's and generating the java files successfully. However, when it invokes javac, the following error is displayed:
[jspc] Invoking the compiler
java.lang.NoSuchMethodException: sun.tools.javac.Main does not define a default constructor
at weblogic.utils.compiler.CompilerInvoker.invokeCompile(CompilerInvoker.java:276)
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:419)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:329)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:337)
at weblogic.jspc.doCompile(jspc.java:817)
at weblogic.jspc.runJspc(jspc.java:626)
at weblogic.jspc.runJspc(jspc.java:437)
at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:163)
at weblogic.appc.compileWAR(appc.java:853)
at weblogic.appc.compileModules(appc.java:644)
at weblogic.appc.compileEAR(appc.java:727)
at weblogic.appc.compileInput(appc.java:457)
at weblogic.appc.runBody(appc.java:183)
at weblogic.utils.compiler.Tool.run(Tool.java:146)
at weblogic.utils.compiler.Tool.run(Tool.java:103)
at weblogic.appc.main(appc.java:1022)
Error: [jspc]: 0 file(s) failed:
[J2EE:160121]Errors encountered while compiling module 'idmmanage_war':
The classpath looks fine, and the correct javac is being invoked. Does anyone know why this is happening?
Thanks.
[jspc] Invoking the compiler
java.lang.NoSuchMethodException: sun.tools.javac.Main does not define a default constructor
at weblogic.utils.compiler.CompilerInvoker.invokeCompile(CompilerInvoker.java:276)
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:419)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:329)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:337)
at weblogic.jspc.doCompile(jspc.java:817)
at weblogic.jspc.runJspc(jspc.java:626)
at weblogic.jspc.runJspc(jspc.java:437)
at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:163)
at weblogic.appc.compileWAR(appc.java:853)
at weblogic.appc.compileModules(appc.java:644)
at weblogic.appc.compileEAR(appc.java:727)
at weblogic.appc.compileInput(appc.java:457)
at weblogic.appc.runBody(appc.java:183)
at weblogic.utils.compiler.Tool.run(Tool.java:146)
at weblogic.utils.compiler.Tool.run(Tool.java:103)
at weblogic.appc.main(appc.java:1022)
Error: [jspc]: 0 file(s) failed:
[J2EE:160121]Errors encountered while compiling module 'idmmanage_war':
The classpath looks fine, and the correct javac is being invoked. Does anyone know why this is happening?
Thanks.