Hi,
I have problems with the Hibernate Console Configuration using DB2.
I have installed the Hibernate Tools (copying the plugins and features folders) and ran the Code Generation.
When I want to create the SessionFactory from the Hibernate Configuration Console, I have the following error:
Message: Problems while creating sessionfactory
Exception Stack Trace:
javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source) at net.sf.ehcache.config.Configurator.configure(Configurator.java:116) at net.sf.ehcache.CacheManager.configure(CacheManager.java:166) at net.sf.ehcache.CacheManager.<init>(CacheManager.java:138) at net.sf.ehcache.CacheManager.create(CacheManager.java:193) at org.hibernate.cache.EhCacheProvider.start(EhCacheProvider.java:130) at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:175) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1180) at org.hibernate.console.ConsoleConfiguration$2.execute(ConsoleConfiguration.java:265) at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:35) at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:68) at org.hibernate.console.ConsoleConfiguration.buildSessionFactory(ConsoleConfiguration.java:260) at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:24) at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:69) at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:192) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Session data:
eclipse.buildId=M20060118-1600 java.version=1.5.0_06 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=es_MX Command-line arguments: -os win32 -ws win32 -arch x86 -clean -clean
The xercesImpl.jar is inside of my classpath and the xerces plugin is installed (org.apache.xerces_2.7.0).
What can I do?
Thank you.
Julien
|