Liferay DXP Free Tier    |    From download to running in minutes    |    Get started →

Blogs

Run Portal 6 on JBoss 5.1

Igor Spasić
Igor Spasić
Alle Minuutin Luku

Although Liferays jboss-web.xml is set correctly, JBoss 5.1 is still picking up the older hibernate-validator.jar from the commons/lib folder. The exception coming while starting JBoss is:

java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator.<init>(... 

To solve this issue without touching the commons/lib, add following lines into portal-ext.properties

 hibernate.validator.apply_to_ddl=false
hibernate.validator.autoregister_listeners=false

 

Sivun kommentit

Related Assets...

Tuloksia Ei Löytynyt

More Blog Entries...

Ben Turner
marraskuuta 26, 2026
Himanshu Chauhan
marraskuuta 20, 2026
Tony Lim
marraskuuta 19, 2026