• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Bean Validation with Hibernate 3.6 in GlassFish 3.0.1

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm using Hibernate 3.6 in a web application that I'm deploying to GlassFish 3.0.1. All seems well except for Beans Validation. I was using EclipseLink before because it comes built-in with GlassFish 3.0.1 and Bean Validation worked then. Now that I've switched to Hibernate Beans Validation doesn't work anymore. I see this message in the log when the application is deployed:

INFO: Hibernate Validator not found: ignoring



What gives? Bean Validation comes with GlassFish so why can it not find it? Is there a version mismatch?
 
Ryan Slominski
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Nevermind. Apparently that logger Info message about Hibernate Validator doesn't matter. What does matter is that any custom validation messages properties files are in the classpath!

I would delete this post, but I can't find the option.
 
Oh. Hi guys! Look at this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic