You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Nicholls, Leon" <ln...@sonusnet.com> on 2002/03/21 16:25:12 UTC

JSPC problem

Hi
I have been trying to use the java precompiler for Tomcat 3.3a. However, I
am getting weird error messages.
It seems to complain about not finding the crimson xml parser, but the
crimson.jar file is located under jakarta-tomcat/lib/container. The crimson
parser seems to have registered itself as a parser, but then the parser
cannot be instantiated!?

"c:\jdk1.3\bin\java"  -Dtomcat.home="c:\PROGRA~1\APACHE~1\jakarta-tomcat"
org.apache.tomcat.startup.Main jspc -p "" -webapp
s:\wsx\release\build\subscriber
Guessed home=C:\Program Files\Apache Group\jakarta-tomcat
java.lang.reflect.InvocationTargetException:
java.lang.reflect.InvocationTargetException:
javax.xml.parsers.FactoryConfigurationError: Provider org.apache.crims
on.jaxp.DocumentBuilderFactoryImpl not found
        at
javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.
java:145)
        at org.apache.jasper.compiler.JspUtil.parseXMLDocJaxp(Unknown
Source)
        at org.apache.jasper.compiler.JspUtil.parseXMLDoc(Unknown Source)
        at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(Unknown
Source)
        at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(Unknown
Source)
        at
org.apache.jasper.compiler.DelegatingListener.handleDirective(Unknown
Source)
        at org.apache.jasper.compiler.Parser$Directive.accept(Unknown
Source)
        at org.apache.jasper.compiler.Parser.parse(Unknown Source)
        at org.apache.jasper.compiler.Parser.parse(Unknown Source)
        at org.apache.jasper.compiler.Parser.parse(Unknown Source)
        at org.apache.jasper.compiler.Compiler.compile(Unknown Source)
        at org.apache.jasper.JspC.parseFile(Unknown Source)
        at org.apache.jasper.JspC.parseFiles(Unknown Source)
        at org.apache.jasper.JspC.main(Unknown Source)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.tomcat.util.IntrospectionUtils.callMain(Unknown
Source)
        at org.apache.tomcat.startup.Jspc.execute(Unknown Source)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.tomcat.util.IntrospectionUtils.execute(Unknown Source)
        at org.apache.tomcat.startup.Main.execute(Unknown Source)
        at org.apache.tomcat.startup.Main.main(Unknown Source)


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>