I just renamed my project to ICOMSSecurityAudit and re-created the Hibernate console config and still getting same types of errors. Errors only display in Hibernate perspective, not in the JavaEE perspective.
Is it ok to leave the property file blank? I don't know what to put for it. Also, one of the errors is saying that "/hibernate.cfg.xml not found" but this is a JPA project and I selected that in the Hibernate Console config. I wonder if I should start all over with a new workspace... or am I still missing something? org.hibernate.console.HibernateConsoleRuntimeException: Could not load JPA Configuration | | org.hibernate.console.HibernateConsoleRuntimeException: Could not load JPA Configuration | at org.hibernate.console.ConsoleConfiguration.buildConfiguration(ConsoleConfiguration.java:499) | at org.hibernate.console.ConsoleConfiguration.access$0(ConsoleConfiguration.java:484) | at org.hibernate.console.ConsoleConfiguration$2.execute(ConsoleConfiguration.java:203) | at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:65) | at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:185) | at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:106) | at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:38) | at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:97) | at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:103) | at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:196) | at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) | Caused by: org.hibernate.console.HibernateConsoleRuntimeException: Could not create JPA based Configuration | at org.hibernate.console.ConsoleConfiguration.buildJPAConfiguration(ConsoleConfiguration.java:142) | at org.hibernate.console.ConsoleConfiguration.buildConfiguration(ConsoleConfiguration.java:496) | ... 10 more | Caused by: java.lang.InstantiationException: org.xml.sax.EntityResolver | at java.lang.Class.newInstance0(Class.java:335) | at java.lang.Class.newInstance(Class.java:303) | at org.hibernate.console.ConsoleConfiguration.buildJPAConfiguration(ConsoleConfiguration.java:127) | ... 11 more | | java.lang.InstantiationException: org.xml.sax.EntityResolver | | java.lang.InstantiationException: org.xml.sax.EntityResolver | at java.lang.Class.newInstance0(Class.java:335) | at java.lang.Class.newInstance(Class.java:303) | at org.hibernate.console.ConsoleConfiguration.buildJPAConfiguration(ConsoleConfiguration.java:127) | at org.hibernate.console.ConsoleConfiguration.buildConfiguration(ConsoleConfiguration.java:496) | at org.hibernate.console.ConsoleConfiguration.access$0(ConsoleConfiguration.java:484) | at org.hibernate.console.ConsoleConfiguration$2.execute(ConsoleConfiguration.java:203) | at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:65) | at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:185) | at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:106) | at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:38) | at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:97) | at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:103) | at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:196) | at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) | | org.hibernate.HibernateException: /hibernate.cfg.xml not found | | org.hibernate.HibernateException: /hibernate.cfg.xml not found | at org.hibernate.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:147) | at org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:1405) | at org.hibernate.cfg.Configuration.configure(Configuration.java:1427) | at org.hibernate.cfg.Configuration.configure(Configuration.java:1414) | at org.hibernate.console.ConsoleConfiguration.loadConfigurationXML(ConsoleConfiguration.java:299) | at org.hibernate.console.ConsoleConfiguration.configureStandardConfiguration(ConsoleConfiguration.java:531) | at org.hibernate.console.ConsoleConfiguration.buildConfiguration(ConsoleConfiguration.java:503) | at org.hibernate.console.ConsoleConfiguration.access$0(ConsoleConfiguration.java:484) | at org.hibernate.console.ConsoleConfiguration$2.execute(ConsoleConfiguration.java:203) | at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:65) | at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:185) | at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:106) | at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:38) | at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:97) | at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:103) | at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:196) | at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) | | Unhandled event loop exception | | org.hibernate.console.HibernateConsoleRuntimeException: Could not compute classpath | at org.hibernate.eclipse.console.EclipseLaunchConsoleConfigurationPreferences.getCustomClassPathURLS(EclipseLaunchConsoleConfigurationPreferences.java:93) | at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:158) | at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:106) | at org.hibernate.eclipse.console.actions.ExecuteQueryAction.execute(ExecuteQueryAction.java:66) | at org.hibernate.eclipse.console.actions.ExecuteQueryAction.run(ExecuteQueryAction.java:52) | at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) | at org.hibernate.eclipse.console.actions.ExecuteQueryAction.runWithEvent(ExecuteQueryAction.java:56) | at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546) | at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490) | at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:443) | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) | at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682) | at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293) | at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389) | at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) | at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) | at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) | at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) | at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) | at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) | at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) | at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169) | at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) | at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) | at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) | at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508) | at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447) | at org.eclipse.equinox.launcher.Main.run(Main.java:1173) | Caused by: org.eclipse.core.runtime.CoreException: Launch configuration ICOMSSecurityAudit references non-existing project ICOMSSecurityAudit. | at org.eclipse.jdt.launching.JavaRuntime.abort(JavaRuntime.java:1321) | at org.eclipse.jdt.launching.JavaRuntime.getJavaProject(JavaRuntime.java:1201) | at org.eclipse.jdt.launching.StandardClasspathProvider.computeUnresolvedClasspath(StandardClasspathProvider.java:39) | at org.eclipse.jdt.launching.JavaRuntime.computeUnresolvedRuntimeClasspath(JavaRuntime.java:1167) | at org.hibernate.eclipse.console.utils.ClassLoaderHelper.getClasspath(ClassLoaderHelper.java:146) | at org.hibernate.eclipse.console.EclipseLaunchConsoleConfigurationPreferences.getCustomClassPathURLS(EclipseLaunchConsoleConfigurationPreferences.java:84) | ... 33 more | | | Launch configuration ICOMSSecurityAudit references non-existing project ICOMSSecurityAudit. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142195#4142195 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4142195 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
