Closed GoogleCodeExporter closed 9 years ago
This is really an issue with JBoss Application Server's class loader not with
TongueTied. JBoss AS 5.1.0GA release ships with 3.2.0GA of hibernate core and
3.3.x
of hibernate annotations and 3.0.x of hibernate validator. TongueTied 1.3.0
makes use
of more recent versions of Hibernate 3.3.1 core, 3.4.0 annotations and does not
make
use of hibernate validator.
In order to make this work, there are a few options available to you. The first
option is definitely the easiest, but I will leave it to your discretion.
1. This is the simple option, add hibernate validator 3.1.0GA jar file to
TongueTied.war file. To do this download from here:
https://www.hibernate.org/6.html
and then add the hibernate-validator.jar to the /WEB-INF/lib directory in the
TongueTied.war file. Then redeploy the war file.
2. Upgrade your hibernate libraries in JBoss. See the link here:
http://jaitechwriteups.blogspot.com/2008/08/how-to-upgrade-hibernate-in-jboss.html
One other way I found was to copy over the newer (i.e. replace) hibernate libs to
<JBOSS_HOME>/common/lib
I am closing this issue for now. Let me know if you have any other issues.
Original comment by bjs...@gmail.com
on 8 Dec 2009 at 4:21
Original issue reported on code.google.com by
tch...@gmail.com
on 3 Dec 2009 at 12:25Attachments: