• 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

package org.hibernate.validator does not exist

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am newbie, so maybe this is an dummy question for you;

I am getting error-message

package org.hibernate.validator does not exist



This seem to be related to following code:


I already tried to include hibernate-library in the project as well as the following jar-files:

  • hibernate3.jar
  • hibernate-annotations.jar
  • hibernate-commons-annotations.jar
  • hibernate-core.jar
  • hibernate-entitymanager.jar
  • hibernate-jmx.jar
  • hibernate-testing.jar
  • hibernate-validtor.jar


  • Would be very happy to get any hint from you.

    THANKS
     
    Bartender
    Posts: 4116
    72
    Mac TypeScript Chrome Java Linux
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    I already tried to include hibernate-library in the project as well as the following jar-files:..


    How did you compile them, in IDE/command prompt? Do you have the "hibernate-validator-xx.jar" in your compile classpath ?
     
    Silke Bader
    Greenhorn
    Posts: 3
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Hi,

    I compiled in Netbeans via right-click on project and then klick on "deploy". "build project" gave the same effect.
    I only have hibernet-validator-sources.jar in my classpath, additionally to the mentioned ones below.

    THANKS
     
    Bras cause cancer. And tiny ads:
    a bit of art, as a gift, that will fit in a stocking
    https://gardener-gift.com
    reply
      Bookmark Topic Watch Topic
    • New Topic