Re: jsf validator not found when using maven tomcat 7 plugin

2014-05-18 Thread Burghard Britzke

Am 18.05.2014 um 02:35 schrieb Dafinoiu Iulian cicoron...@yahoo.com:

 
 
 Hey guys,
 
 
 I'm developing a web application using latest version of spring 3.2 and 
 latest version of jsf 2.2 (on Mac Mavericks). I defined a custom validator 
 and give it an id using the faces exception annotation. If I run the 
 application from Netbeans with the same tomcat version it works fine, if I 
 run it from command line using mvn package tomcat7:run, the app starts and I 
 get the javax.faces exception that my custom validator is not defined. 
 
 Do you know if I have to do something different when running from maven?
 
 Thank you,
 Iulian

which javax.faces exception do you get? ValidatorException? 


signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: jsf validator not found when using maven tomcat 7 plugin

2014-05-18 Thread Dafinoiu Iulian
Hey,

No, I get 

javax.faces.FacesException Expression error: Named object customXmlValidator 
not found

even though is defined perfectly, otherwise it wouldn't have worked when I run 
it from my IDE or manually with any server. Just when I run it using the maven 
tomcat connector, I get this error

Thank you,
Iulian




 From: Burghard Britzke b...@charmides.in-berlin.de
To: Tomcat Users List users@tomcat.apache.org; Dafinoiu Iulian 
cicoron...@yahoo.com 
Sent: Sunday, May 18, 2014 10:50 AM
Subject: Re: jsf validator not found when using maven tomcat 7 plugin
 



Am 18.05.2014 um 02:35 schrieb Dafinoiu Iulian cicoron...@yahoo.com:

 
 
 Hey guys,
 
 
 I'm developing a web application using latest version of spring 3.2 and 
 latest version of jsf 2.2 (on Mac Mavericks). I defined a custom validator 
 and give it an id using the faces exception annotation. If I run the 
 application from Netbeans with the same tomcat version it works fine, if I 
 run it from command line using mvn package tomcat7:run, the app starts and I 
 get the javax.faces exception that my custom validator is not defined. 
 
 Do you know if I have to do something different when running from maven?
 
 Thank you,
 Iulian

which javax.faces exception do you get? ValidatorException? 

jsf validator not found when using maven tomcat 7 plugin

2014-05-17 Thread Dafinoiu Iulian


Hey guys,


I'm developing a web application using latest version of spring 3.2 and latest 
version of jsf 2.2 (on Mac Mavericks). I defined a custom validator and give it 
an id using the faces exception annotation. If I run the application from 
Netbeans with the same tomcat version it works fine, if I run it from command 
line using mvn package tomcat7:run, the app starts and I get the javax.faces 
exception that my custom validator is not defined. 

Do you know if I have to do something different when running from maven?

Thank you,
Iulian