Thank you for you all. I'm sorry that the Controller indead starts with upercace C. I messed up when writing the email.
I still didn't find out what want wrong. It is working befor on another machine under tomcat1 Thank you again. Yunming -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 6:04 PM To: Tomcat Users List Subject: Re: java.lang.NoClassDefFoundError-Con't find the Class in the same p ackage? Apparently it cannot seem to find the class " org/apache/xerces/dom/DOMExceptionImpl" which is being referenced from "com.fis.Controller.Controller" class. See if you have xerces.jar under $CATALINA_HOME/common/lib. Also this maybe a typo on your part when composing your email but nevertheless, <snip> the structure is: --classes (file: Find.class) --com --fis --controller (Controller.class, Composer.class) </snip> ^ (the "c" should be uppercase. Note "C" in the "Controller" package name in your javacode is in uppercase. RS [EMAIL PROTECTED] on 05/03/2002 04:52:25 PM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc: Subject: java.lang.NoClassDefFoundError-Con't find the Class in the same p ackage? I've put a class struecture into Tomcat4_home/webapps/jds/WEB-INFO/classes the structure is: --classes (file: Find.class) --com --fis --controller (Controller.class, Composer.class) in Find.java: import com.fis.Controller.*; ... protected Controller controller =null; ... controller = new Controller(...); in Composer.java, package com.fis.Controller; Hi, I can't figure it out what is happening. please help. in Controller.java: package com.fis.Controller; private com.fis.Controller.Composer _composer = null; //Controller constructor: { _composer = new com.fis.Controller.Composer(..., ...); # ERROR LINE (line 104) .. } java.lang.NoClassDefFoundError: org/apache/xerces/dom/DOMExceptionImpl at com.fis.Controller.Controller.(Controller.java:104) at Find.init(Find.java:54) ... My Qestion is : Why the NoClassDefFoundError? the Controller.class and Composer.class is in the same package! Thank you very much. -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>