[
https://jira.jboss.org/browse/JBIDE-7726?page=com.atlassian.jira.plugin.s...
]
Martin Gencur commented on JBIDE-7726:
--------------------------------------
Stack trace: org.hibernate.console.HibernateConsoleRuntimeException: Persistence unit not
found: 'null'.
at
org.hibernate.console.ConfigurationFactory.buildJPAConfiguration(ConfigurationFactory.java:230)
at
org.hibernate.console.ConfigurationFactory.buildConfiguration(ConfigurationFactory.java:172)
at
org.hibernate.console.ConfigurationFactory.createConfiguration(ConfigurationFactory.java:94)
at org.hibernate.console.ConsoleConfiguration$3.execute(ConsoleConfiguration.java:207)
at
org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:71)
at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:204)
at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:160)
at
org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:40)
at
org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:100)
at
org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:106)
at
org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:235)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
The problem that this should work out of the box with a project generated with SeamGen.
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