Re: Hibernate Validator Issue
Try the following: !-- Hibernate bean validation binary for the server -- dependency groupIdorg.hibernate/groupId artifactIdhibernate-validator/artifactId version4.1.0.Final/version exclusions exclusion groupIdjavax.xml.bind/groupId artifactIdjaxb-api/artifactId /exclusion exclusion groupIdcom.sun.xml.bind/groupId artifactIdjaxb-impl/artifactId /exclusion /exclusions /dependency !-- Hibernate bean validation source for the GWT client -- dependency groupIdorg.hibernate/groupId artifactIdhibernate-validator/artifactId version4.1.0.Final/version classifiersources/classifier exclusions exclusion groupIdjavax.xml.bind/groupId artifactIdjaxb-api/artifactId /exclusion exclusion groupIdcom.sun.xml.bind/groupId artifactIdjaxb-impl/artifactId /exclusion /exclusions /dependency !-- Required by Hibernate validator because slf4j-log4j is optional in the hibernate-validator POM -- dependency groupIdorg.slf4j/groupId artifactIdslf4j-log4j12/artifactId version1.6.1/version /dependency dependency groupIdorg.slf4j/groupId artifactIdslf4j-api/artifactId version1.6.1/version /dependency Em quinta-feira, 19 de fevereiro de 2015 18:04:09 UTC-3, Ben Dol escreveu: Hey guys, I'm trying to get the GWT Validation working but I keep getting a ton of compile errors. I am using Maven to import the dependencies including the Hibernate Sources which I am manually installing with maven. This is the error I get when compiling: http://pastebin.com/TBt0ps4K and here is how I have it set up. Parent POM: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-install-plugin/artifactId version${maven-install-plugin.version}/version inheritedfalse/inherited executions execution idinstall-hibernate-validator/id phasevalidate/phase goals goalinstall-file/goal /goals configuration file${basedir}/lib/hibernate-validator-4.1.0.Final-sources.jar/file groupIdorg.hibernate/groupId artifactIdhibernate-validator-sources/artifactId version${hibernate-validator.version}/version packagingjar/packaging generatePomtrue/generatePom /configuration /execution /executions /plugin ... dependency groupIdorg.hibernate/groupId artifactIdhibernate-validator/artifactId version${hibernate-validator.version}/version/dependency dependency groupIdorg.hibernate/groupId artifactIdhibernate-validator-sources/artifactId version${hibernate-validator.version}/version /dependency ... Modules POM: dependency groupIdorg.hibernate/groupId artifactIdhibernate-validator/artifactId /dependency dependency groupIdorg.hibernate/groupId artifactIdhibernate-validator-sources/artifactId /dependency https://lh3.googleusercontent.com/-hBrkBSDzmeI/VOZPidyHJaI/AVA/Tl3R3u5DeCY/s1600/Untitled.png Any Ideas what might be going on here? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: Hibernate Validator Issue
Also forgot to mention I have the GWT inherit in my modules gwt.xml, like so: inherits name=org.hibernate.validator.HibernateValidator / replace-with class=nz.co.doltech.ims.client.core.AppValidatorFactory when-type-is class=javax.validation.ValidatorFactory / /replace-with -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Hibernate Validator Issue
Hey guys, I'm trying to get the GWT Validation working but I keep getting a ton of compile errors. I am using Maven to import the dependencies including the Hibernate Sources which I am manually installing with maven. This is the error I get when compiling: http://pastebin.com/TBt0ps4K and here is how I have it set up. Parent POM: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-install-plugin/artifactId version${maven-install-plugin.version}/version inheritedfalse/inherited executions execution idinstall-hibernate-validator/id phasevalidate/phase goals goalinstall-file/goal /goals configuration file${basedir}/lib/hibernate-validator-4.1.0.Final-sources.jar/file groupIdorg.hibernate/groupId artifactIdhibernate-validator-sources/artifactId version${hibernate-validator.version}/version packagingjar/packaging generatePomtrue/generatePom /configuration /execution /executions /plugin ... dependency groupIdorg.hibernate/groupId artifactIdhibernate-validator/artifactId version${hibernate-validator.version}/version/dependency dependency groupIdorg.hibernate/groupId artifactIdhibernate-validator-sources/artifactId version${hibernate-validator.version}/version /dependency ... Modules POM: dependency groupIdorg.hibernate/groupId artifactIdhibernate-validator/artifactId /dependency dependency groupIdorg.hibernate/groupId artifactIdhibernate-validator-sources/artifactId /dependency https://lh3.googleusercontent.com/-hBrkBSDzmeI/VOZPidyHJaI/AVA/Tl3R3u5DeCY/s1600/Untitled.png Any Ideas what might be going on here? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: Hibernate Validator Issue
Also this is the version used: hibernate-validator.version4.1.0.Final/hibernate-validator.version As instructed by the tutorial on the gwt webiste. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: Hibernate Validator Issue
You need only that: dependency groupIdjavax.validation/groupId artifactIdvalidation-api/artifactId version1.0.0.GA/version /dependency dependency groupIdorg.hibernate/groupId artifactIdhibernate-validator/artifactId version4.1.0.Final/version /dependency dependency groupIdorg.hibernate/groupId artifactIdhibernate-validator/artifactId version4.1.0.Final/version classifiersources/classifier /dependency -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.