Try moving them into tomcat's lib folder just as an experiment. I seem to remember having this problem before myself. I think web-apis.jar might need to be in tomcat's lib folder, but xalan can be in the webapp's lib I believe, but I'm not completely sure, so you might just play around with different combinations. I think it might be a load order thing. i.e. tomcat's trying to load xalan (which requires classes in xml-apis.jar) before xml-apis.jar has been loaded.
--jim ----- Original Message ----- From: "Charles N. Harvey III" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 20, 2002 4:51 PM Subject: RE: [Mav-user] init error > Argh. I put all three in my buid.xml so they get copied into the > WEB-INF/lib > directory. And they have definately been copied. I fire-up tomcat and I > still get the exact same stacktrace. > > Do I maybe have the wrong versions? I just got the newest xalan (which > comes > with xml-apis.jar) from xml.apache.org. > > > Thanks again. This is helping a lot. > > > Charlie > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of jim moore > Sent: Friday, September 20, 2002 4:17 PM > To: [EMAIL PROTECTED] > Subject: Re: [Mav-user] init error > > > They just have to be on the the classpath. Dropping them (all 3 of them) > into the lib folder of your web app (everything in there will be on the > classpath) should do it. Alternately you could put them in tomcat's lib > folder, then all webapps would have access to them. Your call. > > --jim > > > ----- Original Message ----- > From: "Charles N. Harvey III" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, September 20, 2002 4:13 PM > Subject: RE: [Mav-user] init error > > > > Bingo. That is exactly what is at the bottom of the stacktrace. > > Should I put xalan or xerces in the lib? Or do I just need > > to put xml-apis.jar in the lib? Or should they all be in the classpath > > as well as the lib? > > > > Thanks so much for the help. > > > > > > Charlie > > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of jim moore > > Sent: Friday, September 20, 2002 4:07 PM > > To: [EMAIL PROTECTED] > > Subject: Re: [Mav-user] init error > > > > > > If you look at the bottom of the stack trace, you will see that the root > > cause is: > > > > java.lang.NoClassDefFoundError: javax/xml/transform/TransformerException > > > > My guess is you are using jdk1.3 and don't have xml-apis.jar in your > > classpath. Or maybe you don't have xerces.jar or xalan.jar in there. > > > > --jim > > > > ----- Original Message ----- > > From: "Charles N. Harvey III" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, September 20, 2002 4:01 PM > > Subject: [Mav-user] init error > > > > > > > I have a webapp with domify in the WEB-INF/lib directory and the usual > > > maverick stuff at the top of my web.xml file. When I start up Tomcat > > > I am getting this error. Its as if the Dispatcher class isn't there. > > > But I know it is. > > > > > > Any ideas? Thanks a lot. > > > > > > > > > Charlie > > > > > > > > > > -------------------------------------------------------------------------- > > -- > > > ------ > > > > > > 2002-09-20 15:51:47 StandardContext[/staffingauthority]: Servlet > > > /staffingauthority threw load() exception > > > javax.servlet.ServletException: Error instantiating servlet class > > > org.infohazard.maverick.Dispatcher > > > at > > > > > > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:89 > > > 3) > > > at > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808) > > > at > > > > > > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java: > > > 3266) > > > at > > > > org.apache.catalina.core.StandardContext.start(StandardContext.java:3395) > > > at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785) > > > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454) > > > at org.apache.catalina.core.StandardHost.install(StandardHost.java:714) > > > at > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:300) > > > at org.apache.catalina.startup.HostConfig.start(HostConfig.java:389) > > > at > > > > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:232) > > > at > > > > > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor > > > t.java:155) > > > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131) > > > at org.apache.catalina.core.StandardHost.start(StandardHost.java:614) > > > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) > > > at > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343) > > > at > > org.apache.catalina.core.StandardService.start(StandardService.java:388) > > > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:506) > > > at org.apache.catalina.startup.Catalina.start(Catalina.java:781) > > > at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) > > > at org.apache.catalina.startup.Catalina.process(Catalina.java:179) > > > at java.lang.reflect.Method.invoke(Native Method) > > > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) > > > ----- Root Cause ----- > > > java.lang.NoClassDefFoundError: javax/xml/transform/TransformerException > > > at java.lang.Class.newInstance0(Native Method) > > > at java.lang.Class.newInstance(Class.java:237) > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Mav-user mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/mav-user > > > Archives are available at http://www.mail-archive.com/ > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Mav-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/mav-user > > Archives are available at http://www.mail-archive.com/ > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Mav-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/mav-user > > Archives are available at http://www.mail-archive.com/ > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Mav-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/mav-user > Archives are available at http://www.mail-archive.com/ > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Mav-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/mav-user > Archives are available at http://www.mail-archive.com/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Mav-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mav-user Archives are available at http://www.mail-archive.com/
