You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Pedro Herrera <pe...@hotmail.com> on 2008/04/30 14:40:18 UTC

missing DWRValidator in struts 2.1.1

I´m migrating a system created with struts 2.0.11 to struts 2.1.1. dwr.xml
has configurated a DWRValidator like this :

 <create creator="new" javascript="validator">
            
  </create >

When tomcat is started a warning is showed in console : 

[ERROR] 09:43:15,544 [org.directwebremoting.util.CommonsLoggingOutput : 75]
: Creator: 'NewCreator[validator]' for validator.js is returning null for
type queries.
[ERROR] 09:43:15,559 [org.directwebremoting.util.CommonsLoggingOutput : 83]
: Unexpected Error
java.lang.SecurityException: No class by name: DWRValidator


Thanks in advanced 

Herrera     
        
-- 
View this message in context: http://www.nabble.com/missing-DWRValidator-in-struts-2.1.1-tp16981509p16981509.html
Sent from the Struts - Dev mailing list archive at Nabble.com.


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


Re: missing DWRValidator in struts 2.1.1

Posted by Don Brown <mr...@twdata.org>.
The DWR class in question has been moved to the DWR Plugin.  Drop that
jar into your WEB-INF/lib to install.

Don

On Wed, Apr 30, 2008 at 10:40 PM, Pedro Herrera
<pe...@hotmail.com> wrote:
>
>  I´m migrating a system created with struts 2.0.11 to struts 2.1.1. dwr.xml
>  has configurated a DWRValidator like this :
>
>   <create creator="new" javascript="validator">
>
>   </create >
>
>  When tomcat is started a warning is showed in console :
>
>  [ERROR] 09:43:15,544 [org.directwebremoting.util.CommonsLoggingOutput : 75]
>  : Creator: 'NewCreator[validator]' for validator.js is returning null for
>  type queries.
>  [ERROR] 09:43:15,559 [org.directwebremoting.util.CommonsLoggingOutput : 83]
>  : Unexpected Error
>  java.lang.SecurityException: No class by name: DWRValidator
>
>
>  Thanks in advanced
>
>  Herrera
>
>  --
>  View this message in context: http://www.nabble.com/missing-DWRValidator-in-struts-2.1.1-tp16981509p16981509.html
>  Sent from the Struts - Dev mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>  For additional commands, e-mail: dev-help@struts.apache.org
>
>

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