[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-618) Exception in Hibernate, when hibernate.cfg.xml not found
Max Andersen (JIRA)
jira-events at lists.jboss.org
Thu Jul 26 08:56:47 EDT 2007
[ http://jira.jboss.com/jira/browse/JBIDE-618?page=comments#action_12370120 ]
Max Andersen commented on JBIDE-618:
------------------------------------
so this is a featurerequest about getting a dialog instead of a line with the error,correct?
where did you put your cfg.xmlfile? it should be somewhere in the classpath ...or you should point to it from the configuration...
> Exception in Hibernate, when hibernate.cfg.xml not found
> --------------------------------------------------------
>
> Key: JBIDE-618
> URL: http://jira.jboss.com/jira/browse/JBIDE-618
> Project: JBoss Tools
> Issue Type: Bug
> Components: Hibernate
> Environment: WindowsXP SP2
> rhds-win32-1.0.0.alpha.jar
> Red Hat Developer Studio
> Version: 1.0.0
> Build: build 20070711-nightly
> JDK 1.5_08
> Reporter: Aliaksey Nis
> Assigned To: Max Andersen
> Attachments: HibernateCfgLog.txt
>
>
> Simple way to reproduce exception.
> 1. Create JSF 1.2 Kickstart project in RHDS
> 2. Ctrl+N - select Hibernate>Hibernate Configuration File
> 3. Select KickStart project, Press Finish.
> 4. Ctrl+N - select Hibernate>Hibernate Console Configuration
> 5. Enter Project Kickstart as project, and configuration name, press Finish.
> 6. Open Hibernate Configurations View.
> 7. Click on newly created console configuration.
> Exception appears, instead of warning about "no cfg file".
> Error log attached.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list