• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

package org.hibernate.validator does not exist

 
Silke Bader
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • 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
     
    Vijitha Kumara
    Bartender
    Pie
    Posts: 3930
    21
    Chrome Fedora Hibernate
    • Mark post as helpful
    • send pies
    • 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
    • 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
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic