Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-7884

Unable to get the default Bean Validation; missing javax.validation.Validation

XMLWordPrintable

    • Hide

      1* Create normal Java Project
      2* Add Classpath provided by Ivy.
      3* Create Hibernate Console File>New>Hibernate Console Configuration
      4* Settings for console: Type: annotations, Configuration file: phibase-database.cfg.xml (take from org.phibase.database/doc), database Dialect: MySQL; classpath: Advanced>Add library>IvyDE.
      5* In hibernate configurations: click right button and select Rebuild Configuration

      Show
      1* Create normal Java Project 2* Add Classpath provided by Ivy. 3* Create Hibernate Console File>New>Hibernate Console Configuration 4* Settings for console: Type: annotations, Configuration file: phibase-database.cfg.xml (take from org.phibase.database/doc), database Dialect: MySQL; classpath: Advanced>Add library>IvyDE. 5* In hibernate configurations: click right button and select Rebuild Configuration

      I am developing project Phibase. The source is here: http://phibase2.svn.sourceforge.net/viewvc/phibase2/trunk/org.phibase.database.schema/ and database config file here: http://phibase2.svn.sourceforge.net/viewvc/phibase2/trunk/org.phibase.database/doc/ I cannot rebuild configuration and I have error: org.hibernate.HibernateException: Unable to get the default Bean Validation factory. Stack track shows it's missing javax.validation.Validation. However this class occurs in ivy dependencies (look at ivy.xml). This error doesn't occurs in linux environment.

        1. newEmptyPhibase-2010-12-08.sql
          45 kB
          Jacek Grzebyta
        2. stackTrace.log
          11 kB
          Jacek Grzebyta

              dgeraskov Dmitry Geraskov (Inactive)
              phibase Jacek Grzebyta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: