Hi,
I am using 4.5.1 and am trying to pre-compile a jsp file. Actually, I
eventually want to pre-compile all of the JSP files so that
I can test that they compile without having to invoke them using a browser.
I am getting the following error when running weblogic.jspc:
This is the stack trace.
java.lang.ExceptionInInitializerError
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Error.<init>(Compiled Code)
at java.lang.LinkageError.<init>(Compiled Code)
at java.lang.ExceptionInInitializerError.<init>(Compiled Code)
at java.beans.Beans.instantiate(Compiled Code)
at weblogic.servlet.jsp.JspLexer.processBeanTag(Compiled Code)
at weblogic.servlet.jsp.JspLexer.mXML_OPEN_USEBEAN(Compiled
Code)
at weblogic.servlet.jsp.JspLexer.mXML_THING(Compiled Code)
at weblogic.servlet.jsp.JspLexer.mTOKEN(Compiled Code)
at weblogic.servlet.jsp.JspLexer.nextToken(Compiled Code)
at weblogic.servlet.jsp.JspLexer.parse(Compiled Code)
at weblogic.servlet.jsp.JspParser.doit(Compiled Code)
at weblogic.servlet.jsp.JspParser.parse(Compiled Code)
at
weblogic.servlet.jhtmlc.Jhtml2Java$Output.setSourceFile(Compiled Code)
at weblogic.servlet.jhtmlc.Jhtml2Java.outputs(Compiled Code)
at weblogic.utils.compiler.CodeGenerator.generate(Compiled Code)
at weblogic.jhtmlc.runBody(Compiled Code)
at weblogic.jspc.runBody(Compiled Code)
at weblogic.utils.compiler.Tool.run(Compiled Code)
at weblogic.jspc.main(Compiled Code)
I am using the following command line:
java -classpath $CLASSPATH:$WEBLOGICCLASSPATH
-Dweblogic.class.path=$WEBLOGICCLASSPATH weblogic.jspc 100-Welcome.jsp
I have also tried the above command w/ -classpath $CLASSPATH
Thanks,
Richard
Zoho (Z)*
*The Premier Online Hospitality Marketplace
============================================================================
Richard Yee
Zoho Corporation
470 Potrero Ave.
Sunnyvale, CA. 94086
408-469-4216
[EMAIL PROTECTED]
============================================================================
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets