Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 30th, 2006, 04:23 AM
Authorized User
 
Join Date: Jul 2006
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Default servlet calls saxon

Hello everyone,

            I'm working on a servlet that has to call saxon in order to apply and xslt file to an xml file.My servlet is working perfectly with Netbeans but I have to make it work in Eclipse where I get the following error messages:

java.lang.NoClassDefFoundError: net/sf/saxon/TransformerFactoryImpl
    java.lang.Class.getDeclaredConstructors0(Native Method)
    java.lang.Class.privateGetDeclaredConstructors(Unk nown Source)
    java.lang.Class.getConstructor0(Unknown Source)
    java.lang.Class.newInstance0(Unknown Source)
    java.lang.Class.newInstance(Unknown Source)
    org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
    org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
    org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:856)
    org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.processConnection(Http11Protocol.jav a:744)
    org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
    org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
    org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
    java.lang.Thread.run(Unknown Source

At first I thought it was a problem of the JVM but I included in the Library folder of my project both jre 1.5 and jdk 1.5 and didnt make any improvments.

Any ideas?

Thanks in advance.

Tomi.

 
Old August 30th, 2006, 06:35 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

The message means that the saxon8.jar file isn't on your classpath. But I'm not sure what this means you have to do in Eclipse terms - I think it has its own way of managing the classpath.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference





Similar Threads
Thread Thread Starter Forum Replies Last Post
XSL and href calls ... asearle XSLT 2 September 21st, 2006 11:02 AM
Highlighting calls from a same region lguzman Access VBA 5 April 6th, 2005 06:27 PM
detecting calls while online arbe1988 Beginning VB 6 0 October 3rd, 2004 03:53 PM
function calls ricmar Access VBA 3 September 24th, 2004 09:15 AM
Best practice for database calls beatty1 C# 0 July 2nd, 2004 09:58 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.