[jbosstools-issues] [JBoss JIRA] Issue Comment Edited: (JBIDE-7726) Unable to create JPA based Configuration due to java.lang.ClassNotFoundException: javax.validation.Validation

Dmitry Geraskov (JIRA) jira-events at lists.jboss.org
Wed Nov 24 07:24:59 EST 2010


    [ https://jira.jboss.org/browse/JBIDE-7726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565067#comment-12565067 ] 

Dmitry Geraskov edited comment on JBIDE-7726 at 11/24/10 7:23 AM:
------------------------------------------------------------------

Deleted

      was (Author: dgeraskov):
    Have you tried to click Browse near Persistence Unit name field and select the persistence unit name?

BTW. It seems I have found a bug there, and this should help you:
1. Set persistence unit name
2. makeProperty file field empty
3. go to warproject\WebContent\WEB-INF\dev\META-INF\ and replace the persistence.xml with actual one (which is located in src/main/META-INF)
Console configuration should build ok. (but probably you'll need to update the persistence.xml by hands)
  
> Unable to create JPA based Configuration due to java.lang.ClassNotFoundException: javax.validation.Validation
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-7726
>                 URL: https://jira.jboss.org/browse/JBIDE-7726
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Hibernate
>    Affects Versions: 3.2.0.Beta2
>         Environment: JBoss Tools 3.2.0.v20101122-2055-H270-Beta2, Seam 2.2.1-SNAPSHOT from 2010-11-23
>            Reporter: Martin Gencur
>            Assignee: Max Andersen
>             Fix For: 3.2.0.Final
>
>         Attachments: Configuration.png, JPA.png, PersistenceUnitNotFound.png
>
>
> Steps to reproduce the bug:
> 1) import a Seam project generated by SeamGen, enable Seam support on the project
> 2) open Window -> Show View -> Hibernate Configurations, click the project in the view
> 3) now you get the exception shown in the attached screenshot

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list