[
https://jira.jboss.org/browse/JBIDE-7726?page=com.atlassian.jira.plugin.s...
]
Martin Gencur updated JBIDE-7726:
---------------------------------
Summary: Could not create JPA based Configuration thrown when using Hibernate Console
on a project generated with SeamGen (was: Persistence unit not found: 'null'
thrown when using Hibernate Console on a project generated with SeamGen)
We get to the conclusion, at least so far, that Beta1 works fine (both in JBossTools and
JBDS) while Beta2 throws the following exception:
org.hibernate.console.HibernateConsoleRuntimeException: Could not create JPA based
Configuration
Could not create JPA based Configuration
<No message>
java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException: <no message>
java.lang.reflect.InvocationTargetException
javax.persistence.PersistenceException: [PersistenceUnit: earproject2] Unable to configure
EntityManagerFactory
[PersistenceUnit: earproject2] Unable to configure EntityManagerFactory
org.hibernate.HibernateException: Unable to get the default Bean Validation factory
Unable to get the default Bean Validation factory
java.lang.reflect.InvocationTargetException: <no message>
java.lang.reflect.InvocationTargetException
java.lang.NoClassDefFoundError: javax/validation/Validation
javax/validation/Validation
java.lang.ClassNotFoundException: javax.validation.Validation
javax.validation.Validation
Could not create JPA based Configuration thrown when using Hibernate
Console on a project generated with SeamGen
----------------------------------------------------------------------------------------------------------------
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, JBTools vs. JBDS.png, JPA.png,
PersistenceUnitNotFound.png, warproject.zip
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