XSLTGeneral 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 p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
I have eclipse and weblogic and am trying to http://www.saxonica.com//download/S9APIExamples.java
example.I have included all jar files in web-inf/lib and also in eclipse project lib.
Still i get the below error.Pl. advise.Am i missing something.
java.lang.NoClassDefFoundError: net/sf/saxon/s9api/SaxonApiException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Cla ss.java:1618)
at java.lang.Class.getConstructor0(Class.java:1930)
at java.lang.Class.newInstance0(Class.java:278)
at java.lang.Class.newInstance(Class.java:261)
at weblogic.servlet.internal.ServletStubImpl$ServletI nitAction.run(ServletStubImpl.java:1097)
at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Se curityManager.java:121)
at weblogic.servlet.internal.ServletStubImpl.createSe rvlet(ServletStubImpl.java:975)
at weblogic.servlet.internal.ServletStubImpl.createIn stances(ServletStubImpl.java:954)
at weblogic.servlet.internal.ServletStubImpl.prepareS ervlet(ServletStubImpl.java:893)
at weblogic.servlet.internal.ServletStubImpl.getServl et(ServletStubImpl.java:598)
at weblogic.servlet.internal.ServletStubImpl.invokeSe rvlet(ServletStubImpl.java:406)
at weblogic.servlet.internal.ServletStubImpl.invokeSe rvlet(ServletStubImpl.java:348)
at weblogic.servlet.internal.RequestDispatcherImpl.fo rward(RequestDispatcherImpl.java:330)
It's quite difficult to help with configuration problems remotely, especially configuration of products you don't use yourself. Clearly the Java classloader isn't finding the classes in the saxon-s9api JAR file, but that's really all I can tell you.
Michael Kay http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference