Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 8595 invoked by uid 500); 14 Dec 2001 17:31:58 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 8584 invoked from network); 14 Dec 2001 17:31:57 -0000 Message-ID: <001301c184c4$f6221610$6401a8c0@domain> From: "Brent L Johnson" To: "Cocoon Users" Subject: [c1] java.lang.NoClassDefFoundError with custom class? Date: Fri, 14 Dec 2001 12:29:59 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0010_01C1849B.0BCAEC50" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host11.globalhosting.com X-AntiAbuse: Original Domain - xml.apache.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [0 0] X-AntiAbuse: Sender Address Domain - bjohnson.net X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0010_01C1849B.0BCAEC50 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm running Cocoon 1.8.2 and I've just upgraded from Tomcat3.x to = Tomcat4.0.1. According to Tomcat's documentation, anything in = WEB-INF/classes is available (so I dont have to put it in my classpath). = I've got my own com.blah.globals package in = WEB-INF/classes/com/blah/globals. When I try and import this in my = cocoon logicsheet I get a NoClassDefFoundError: java.lang.NoClassDefFoundError: com/rrp/globals/Globals at = _home._reedy._docs._production._pcteachit_com._temp.(_temp.java:33)= at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:237) If anyone has any ideas on this I would really appreciate it. I tried = adding it to my classpath and restarting everything and I still get the = same error. Thanks! - Brent ------=_NextPart_000_0010_01C1849B.0BCAEC50 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I'm running Cocoon 1.8.2 and I've just = upgraded=20 from Tomcat3.x to Tomcat4.0.1.  According to Tomcat's = documentation,=20 anything in WEB-INF/classes is available (so I dont have to put it in my = classpath). I've got my own com.blah.globals package in=20 WEB-INF/classes/com/blah/globals.  When I try and import this in my = cocoon=20 logicsheet I get a NoClassDefFoundError:
 
java.lang.NoClassDefFoundError: com/rrp/globals/Globals
at=20 _home._reedy._docs._production._pcteachit_com._temp.<init>(_temp.ja= va:33)
at=20 java.lang.Class.newInstance0(Native Method)
at=20 java.lang.Class.newInstance(Class.java:237)
If anyone has any ideas on this I would = really=20 appreciate it.  I tried adding it to my classpath and restarting = everything=20 and I still get the same error.
 
Thanks!
 
- Brent
------=_NextPart_000_0010_01C1849B.0BCAEC50--