• 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
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic