Content-Type: message/rfc822 Received: from nex2120cdc.us.global.schwab.com (10.100.125.155) by NEX5005BDC.us.global.schwab.com (10.104.125.183) with Microsoft SMTP Server id 14.1.339.1; Wed, 7 Dec 2011 18:13:37 -0500 Received: from svs0001bdc.cdc.schwab.com ([10.104.52.116]) by nex2120cdc.us.global.schwab.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 7 Dec 2011 16:13:36 -0700 Received: ( Schwab Email ) by sendmail.cf svs0001cdc with ESMTP id pB7NDZCr016758 for ; Wed, 7 Dec 2011 18:13:35 -0500 Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by svsd0002bdc.schwab.com (Sentrion-MTA-4.0.5/Sentrion-MTA-4.0.5) with ESMTP id pB7NDYLT004484 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 7 Dec 2011 18:13:35 -0500 Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1RYQfe-0003SO-OF; Wed, 07 Dec 2011 23:13:02 +0000 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1RYQfd-0003SJ-8d for saxon-help@lists.sourceforge.net; Wed, 07 Dec 2011 23:13:01 +0000 X-ACL-Warn: Received: from relay01.mail.uk1.eechost.net ([217.69.40.69] helo=uk1rly2283.eechost.net) by sog-mx-4.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1RYQfc-0001BW-0n for saxon-help@lists.sourceforge.net; Wed, 07 Dec 2011 23:13:01 +0000 Received: from [81.99.244.80] (helo=Michaels-MacBook-Pro.local) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from ) id 1RYQfV-0002Nz-Va for saxon-help@lists.sourceforge.net; Wed, 07 Dec 2011 23:12:54 +0000 Message-ID: <4EDFF2F5.10006@saxonica.com> Date: Wed, 7 Dec 2011 23:12:53 +0000 From: Michael Kay User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: References: , In-Reply-To: X-Auth-Info: mike@saxonica.com (plain) X-Spam-Score: 0.9 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. 1.0 HTML_MESSAGE BODY: HTML included in message 0.3 HTML_FONT_FACE_BAD BODY: HTML font face is not a word -0.4 AWL AWL: From: address is in the auto white-list X-Headers-End: 1RYQfc-0001BW-0n Subject: Re: [saxon] What does the Exception in thread "main" java.lang.NoClassDefFoundError: Saxonica/Transform/ error message mean? X-BeenThere: saxon-help@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: Mailing list for the SAXON XSLT and XQuery processor List-Id: Mailing list for the SAXON XSLT and XQuery processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="_99572ff2-5d22-4747-9605-2645eba08025_" Errors-To: saxon-help-bounces@lists.sourceforge.net X-Brightmail-Tracker: AAAAAgAAAUAAAAFQ X-TM-AS-Product-Ver: IMSS-7.1.0.1224-6.8.0.1017-18568.001 X-TM-AS-Result: No--25.127-7.0-31-1 X-imss-scan-details: No--25.127-7.0-31-1 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TM-AS-Result-Xfilter: Match text exemption rules:No Return-Path: saxon-help-bounces@lists.sourceforge.net X-OriginalArrivalTime: 07 Dec 2011 23:13:36.0583 (UTC) FILETIME=[D905C570:01CCB535] X-MS-Exchange-Organization-OriginalArrivalTime: 07 Dec 2011 23:13:36.3800 (UTC) X-MS-Exchange-Forest-ArrivalHubServer: NEX5005BDC.us.global.schwab.com X-MS-Exchange-Organization-OriginalClientIPAddress: 10.100.125.155 X-MS-Exchange-Organization-OriginalServerIPAddress: 10.104.125.183 X-MS-Exchange-Organization-AuthSource: NEX5005BDC.us.global.schwab.com X-MS-Exchange-Organization-AuthAs: Anonymous X-MS-Exchange-Organization-MessageDirectionality: Incoming X-MS-Exchange-Organization-Cross-Premises-Headers-Processed: NEX5005BDC.us.global.schwab.com X-MS-Exchange-Organization-OriginalSize: 8212 X-MS-Exchange-Forest-MessageScope: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Organization-MessageScope: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Organization-HygienePolicy: Standard X-MS-Exchange-Organization-Recipient-Limit-Verified: True X-MS-Exchange-Forest-RulesExecuted: NEX5005BDC X-MS-Exchange-Organization-Rules-Execution-History: Prevent Outbound SMTP Mail to Internet%%%SPAM: Here You Have --_99572ff2-5d22-4747-9605-2645eba08025_ Content-Type: multipart/alternative; boundary="_ddb44250-5404-4ef3-a200-68b4d04fbd20_" --_ddb44250-5404-4ef3-a200-68b4d04fbd20_ Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit On 07/12/2011 21:26, matthew.j.mccready@census.gov wrote: > When I type this command "java Saxonica.Transform. > -s:/mtdata/geo/gpms/input/fgdc/tl_2010_02_prisecroads.shp.xml > -xsl:/mt/apps/gpms/FGDC2MRF/FGDC2mif_vector.xsl" > > I get this error message > > Exception in thread "main" java.lang.NoClassDefFoundError: > Saxonica/Transform/ > > What does this mean? What do I need to do to get this error fixed. Any > you could give me would be greatly appreciated. > The message NoClassDefFoundError usually means you have got your Java classpath wrong, which is very easy to do. In this case, however, it means that you have got the class name wrong. The class name you are probably thinking of is com.saxonica.Transform Note the capitalization, which must be correctly entered, even on Windows. Michael Kay Saxonica --_ddb44250-5404-4ef3-a200-68b4d04fbd20_ Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit On 07/12/2011 21:26, matthew.j.mccready@census.gov wrote:
When I type this command "java Saxonica.Transform. -s:/mtdata/geo/gpms/input/fgdc/tl_2010_02_prisecroads.shp.xml -xsl:/mt/apps/gpms/FGDC2MRF/FGDC2mif_vector.xsl" 

I get this error message

Exception in thread "main" java.lang.NoClassDefFoundError: Saxonica/Transform/

What does this mean? What do I need to do to get this error fixed. Any you could give me would be greatly appreciated.

The message NoClassDefFoundError usually means you have got your Java classpath wrong, which is very easy to do.

In this case, however, it means that you have got the class name wrong. The class name you are probably thinking of is

com.saxonica.Transform

Note the capitalization, which must be correctly entered, even on Windows.

Michael Kay
Saxonica
--_ddb44250-5404-4ef3-a200-68b4d04fbd20_-- --_99572ff2-5d22-4747-9605-2645eba08025_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ --_99572ff2-5d22-4747-9605-2645eba08025_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ saxon-help mailing list archived at http://saxon.markmail.org/ saxon-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/saxon-help --_99572ff2-5d22-4747-9605-2645eba08025_--