You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Alex Rodrigues da Silva <al...@yahoo.com.br> on 2005/02/24 19:00:22 UTC

Error with ValidatorResources

Hi,
I have the following structure:
+------WEB-INF
        +--classes
		+--books
			Book.java
			BookAction.java
		MessageResources.properties
	+-lib
		commoms-beansutils.jar
		commoms-digester.jar
		commoms-fileupload.jar
		commoms-loggin.jar
		commoms-validator.jar
		jakarta-oro.jar
		struts.jar
        struts-beans.tld
        struts-config.xml
  	struts-html.tld
	struts-logic.tld
	struts-nested.tld
 	struts-tiles.tld
  	tiles-defs.xml
	validation.xml
 	validator-rules.xml
  	web.xml
 bookview.jsp
createbook.jsp
index.jsp

i made this application based at Struts Tutorial, and then i try view the 
createbook.jsp, i get an error:
24/02/2005 14:43:06 org.apache.struts.action.ActionServlet init
SEVERE: Unable to initialize Struts ActionServlet due to an unexpected 
exception or error thrown, so marking the servlet as unavailable.  Most 
likely, this is due to an incorrect or missing library dependency.
java.lang.NoClassDefFoundError: 
org/apache/commons/validator/ValidatorResources

and dont know what is happining. the class is in the path 
lib/commoms-validator.jar.

can you helpme?

thanks

-- 
Alex Rodrigues da Silva
Analista de Sistemas
tel.: 55 21 8825-1967
alrsilva@yahoo.com.br
Linux User #378866

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