last note: we have the property "openejb.bean-validation.provider" to globally change of bean valiadtion provider (you could use it to set hib val instead of bval) if it is still an issue
- Romain 2012/8/6 Romain Manni-Bucau <[email protected]> > Should work on trunk. Here what i get: > > ATTENTION: jar > '/tmp/apache-tomee-webprofile-1.1.0-SNAPSHOT/webapps/grail/WEB-INF/lib/hibernate-jpa-2.0-api-1.0.1.Final.jar' > contains offending class: javax.persistence.Entity. It will be ignored. > 6 août 2012 10:52:58 org.apache.tomee.catalina.TomEEClassLoaderHelper > validateJarFile > ATTENTION: jar > '/tmp/apache-tomee-webprofile-1.1.0-SNAPSHOT/webapps/grail/WEB-INF/lib/jta-1.1.jar' > contains offending class: javax.transaction.Transaction. It will be ignored. > 6 août 2012 10:52:58 org.apache.tomee.catalina.TomEEClassLoaderHelper > validateJarFile > ATTENTION: jar > '/tmp/apache-tomee-webprofile-1.1.0-SNAPSHOT/webapps/grail/WEB-INF/lib/validation-api-1.0.0.GA.jar' > contains offending class: javax.validation.Validation. It will be ignored. > > Note: i simply removed slf4j-api from the war since it is provided too > > - Romain > > > > 2012/8/3 Jeremyau <[email protected]> > >> I have found the issue. This is the validation-api-1.0.0.GA.jar. It's >> kind of >> weird because if I delete this jar from the war file, it works. If I >> delete >> the bval-jsr303-0.4.jar from ToMEE, it works. Which means that there is a >> kind of conflict right? >> >> Thanks again for your help Romain! >> >> >> >> -- >> View this message in context: >> http://openejb.979440.n4.nabble.com/Grails-on-TomEE-tp4656642p4656667.html >> Sent from the OpenEJB User mailing list archive at Nabble.com. >> > >
