>>>>> On Tue, 28 Apr 2009 01:36:46 +0200, Juergen.Zimmermann_at_HS-Karlsruhe.de said:
>> I assume Juergen is not using Glassfish V3, then? Glassfish V3 nightly
>> builds have had Bean Validation integrated since early April.
JZ> Right. I'm using Tomcat + the latest Hibernate Validator 4.0.0.BETA1 which
JZ> was released on April 27. They changed the API! Your Glassfish V3 nightly
JZ> probably contains Alpha3 or even Alpha2...
JZ> You can download 4.0.0.BETA1 from
JZ>
http://sourceforge.net/project/showfiles.php?group_id=40712&package_id=22520
JZ> 6
For what it's worth, I'm updating the jars for this.
They'll be in the next Glassfish milestone, but for now you can get the jar from
http://download.java.net/maven/2/org/glassfish/bean-validator/3.0-JBoss-4.0.0.Beta1-SNAPSHOT/bean-validator-3.0-JBoss-4.0.0.Beta1-SNAPSHOT.jar
You might have to wait until 11am EDT, since I just posted it.
Note that you have to modify the felix config.properties to add
javax.xml.bind,
javax.xml.bind.annotation,
to the list of packages expoted in the jdk1.6 entry in that file. Also,
Ryan hasn't yet committed the API changes so you'll run into trouble there.
Ed