On Thursday 30 November 2000 14:57, Scott Liu wrote:
> Hi All,
>
> I have installed j2sdk1_3_0 binary version on solaris 2.6
> and had jakarta-ant built. When I tried to build the tomcat
> it failed since there was no class of SAXParserFactory.
> I could not find anything in the j2sdk1_3_0 directories.
> Do I need to install other class libraries to make it work?
>
> Thanks
>

You are missing the Java API for XML Parsing.  When you unzipped the 
jakarta-tomcat, you should find a README file.  You'll have to read it's 
installation steps one by one.  It explains what else you have to install and 
how to setup all of the environment variables etc to make things work 
smoothly.  I'm a novice at Java stuff, but followed the README and it is 
working.  Now I just have to read LOTS more documentation to learn how to 
start making my own stuff.  I come from php/apache and postgresql, so this is 
much different!


> Scott
>
> # ./build.sh
> Searching for build.xml ...
> Buildfile: /export/home/usr/local/jakarta-tomcat/build.xml
>
> BUILD FAILED
>
> No JAXP compliant XML parser found. See http://java.sun.com/xml for the
> reference implementation.
> java.lang.ClassNotFoundException: javax.xml.parsers.SAXParserFactory
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
>
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
>
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:120)
>         at org.apache.tools.ant.Main.runBuild(Main.java:401)
>         at org.apache.tools.ant.Main.main(Main.java:149)

-- 
-------- Robert B. Easter  [EMAIL PROTECTED] ---------
- CompTechNews Message Board   http://www.comptechnews.com/ -
- CompTechServ Tech Services   http://www.comptechserv.com/ -
---------- http://www.comptechnews.com/~reaster/ ------------

Reply via email to