struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen, Yong" <YC...@coral-energy.com>
Subject JBuilder 5 and Validator Framework
Date Mon, 26 Nov 2001 21:16:18 GMT
Hi, 

I am using Jbuilder 5, Tomcat 3.2 to develop my web app in struts framework.
I tried to integrate David Winterfeldt's
<http://home.earthlink.net/~dwinterfeldt/> Validation framework into my
project, however, I got this error when Tomcat is trying to load
validation.xml file:
2001-11-26 03:09:46 - path="/mystruts" :validator: init 
2001-11-26 03:09:46 - path="/mystruts" :validator: Loading validation file
from '/WEB-INF/validation.xml' 
java.lang.NoClassDefFoundError: org/xml/sax/helpers/DefaultHandler 	
	at java.lang.ClassLoader.defineClass0(Native Method) 	
	at java.lang.ClassLoader.defineClass(ClassLoader.java:486) 	
	at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)

	at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)

	at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:195) 	
	at java.security.AccessController.doPrivileged(Native Method) 	
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188) 	
	at java.lang.ClassLoader.loadClass(ClassLoader.java:297) 	
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)

	at java.lang.ClassLoader.loadClass(ClassLoader.java:253) 	
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)

	at
com.wintecinc.struts.validation.ValidatorResourcesInitializer.initialize(Val
idatorResourcesInitializer.java:142) 	
	at
com.wintecinc.struts.validation.ValidatorResourcesInitializer.initialize(Val
idatorResourcesInitializer.java:123) 	
	at
com.wintecinc.struts.action.ValidatorServlet.initMapping(ValidatorServlet.ja
va:223) 	
	at
com.wintecinc.struts.action.ValidatorServlet.init(ValidatorServlet.java:123)

	at javax.servlet.GenericServlet.init(GenericServlet.java:258) 	
	at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317) 	
	at org.apache.tomcat.core.Handler.init(Handler.java:215) 	
	at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296) 	
	at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java:130) 	
	at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)

	at
org.apache.tomcat.core.ContextManager.init(ContextManager.java:453) 	
	at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195) 	
	at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235) 
Exception in thread "main" 

Any idea? 

Yong Chen


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message