[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-7985) NoSuchMethodError Trying to explore a DB from Hibernate Configurations
Vitali Yemialyanchyk (JIRA)
jira-events at lists.jboss.org
Wed Dec 22 14:57:18 EST 2010
[ https://issues.jboss.org/browse/JBIDE-7985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572039#comment-12572039 ]
Vitali Yemialyanchyk commented on JBIDE-7985:
---------------------------------------------
for me this issue is not look like Hibernate Tools issue, the issue is a problem with your logger configuration, look like incompatible jars mixup in your Hibernate Console Configuration classpath.
for example I google "hibernate org.apache.commons.logging.impl.SLF4JLocationAwareLog" - take a look.
may be http://efreedom.com/Question/1-3519978/Logging-Framework-Incompatibility - answer will helps to fix your issue.
> NoSuchMethodError Trying to explore a DB from Hibernate Configurations
> ----------------------------------------------------------------------
>
> Key: JBIDE-7985
> URL: https://issues.jboss.org/browse/JBIDE-7985
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Hibernate
> Affects Versions: 3.2.0.Beta2
> Reporter: Angus Mezick
> Assignee: Dmitry Geraskov
> Priority: Critical
>
> What steps will reproduce the problem?
> 1. Create a new hibernate configuration
> 2. Use the "Hibernate Configurations" view to explore the database
> 3. Notice the error popup.
> -- Error Details --
> Date: Wed Dec 22 12:47:27 EST 2010
> Message: An internal error occurred during: "Fetching children of Database".
> Severity: Error
> Product: Eclipse 1.3.1.20100913-1228 (org.eclipse.epp.package.jee.product)
> Plugin: org.eclipse.core.jobs
> Session Data:
> eclipse.buildId=M20100909-0800
> java.version=1.6.0_22
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Framework arguments: -product org.eclipse.epp.package.jee.product
> Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product
> Exception Stack Trace:
> java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
> at org.apache.commons.logging.impl.SLF4JLocationAwareLog.debug(SLF4JLocationAwareLog.java:133)
> at org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect.getTables(JDBCMetaDataDialect.java:26)
> at org.hibernate.cfg.reveng.JDBCReader.processTables(JDBCReader.java:476)
> at org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:74)
> at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter$2.execute(LazyDatabaseSchemaWorkbenchAdapter.java:116)
> at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
> at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.readDatabaseSchema(LazyDatabaseSchemaWorkbenchAdapter.java:107)
> at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(LazyDatabaseSchemaWorkbenchAdapter.java:63)
> 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)
--
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