Hi,
So I get
An internal error occurred during: "Fetching children of mymy".
with: java.lang.NoClassDefFoundError: weblogic/jdbc/base/BaseDriver
The problem is that I have included the wlsqlserver.jar into classpath configuration of the 'Console Config', and that is the one I specified in hibernate.cfg.xml param: <property name="hibernate.connection.driver_class">weblogic.jdbc.sqlserver.SQLServerDriver</property>
Now that driver doesn't have the BaseDriver class at all. So the exception is expected. (or maybe I am really confused?)
The question is WHY and HOW? :)
Any hint would be beyond welcome,
Thanks
MB
PS Full stack trace
java.lang.NoClassDefFoundError: weblogic/jdbc/base/BaseDriver
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:101)
at org.hibernate.console.ConsoleConfiguration.registerFakeDriver(Unknown Source)
at org.hibernate.console.ConsoleConfiguration.access$1(Unknown Source)
at org.hibernate.console.ConsoleConfiguration$1.execute(Unknown Source)
at org.hibernate.console.execution.DefaultExecutionContext.execute(Unknown Source)
at org.hibernate.console.ConsoleConfiguration.buildWith(Unknown Source)
at org.hibernate.console.ConsoleConfiguration.build(Unknown Source)
at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(Unknown Source)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(Unknown Source)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:192)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
|