Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XSLT
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 15th, 2006, 02:51 AM
Authorized User
Join Date: Jun 2006
Location: Chennai, tamilnadu, India.
Posts: 16
Thanks: 0
Thanked 3 Times in 3 Posts
Default Exception Error While Running XSL.Files

Dear Team,
I have generated XSL files which is fully based on XSLT 2.0, and I execute it thru command line. If i use
C:\>java -jar C:\saxon\saxon8.jar C:\ssst\manualsax\othello.xml C:\ssst\xslt\main.xsl

work perfectly.If i use
C:\>java net.sf.saxon.Transform C:\saxon\saxon8.jar C:\ssst\manualsax\othello.xml C:\ssst\xslt\main.xsl

Gives Error
Exception in thread "main" java.lang.NoClassDefFoundError: net/sf/saxon/Transform

Any help would be appreciatable.

Thanks and Regards,

Reply With Quote
  #2 (permalink)  
Old June 15th, 2006, 02:58 AM
mhkay's Avatar
Wrox Author
Points: 18,487, Level: 59
Points: 18,487, Level: 59 Points: 18,487, Level: 59 Points: 18,487, Level: 59
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts

The message java.lang.NoClassDefFoundError from the Java VM can only mean one thing: the class isn't on your classpath.

The command you want is:

java -cp C:\saxon\saxon8.jar net.sf.saxon.Transform C:\ssst\manualsax\othello.xml C:\ssst\xslt\main.xsl

Michael Kay
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Exception in running a program furqanms Java Basics 2 June 21st, 2006 10:39 PM
running jsp from WAR files samarthvn JSP Basics 3 April 2nd, 2006 09:59 PM
Running Jar files in NetBeans Ibn_Aziz JSP Basics 0 May 17th, 2004 01:17 PM
Strange error when running macro in multiple files medaugh Excel VBA 0 September 15th, 2003 11:06 AM
Exception while running BMP ramko J2EE 0 August 5th, 2003 05:27 AM

All times are GMT -4. The time now is 04:22 AM.

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