Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Where should i put hibernate related jars in webviewerexample
ganesh1984
Hi All,
From past two days i got stuck with this problem. I have deployed the web viewer example that comes up with birt-runtime-2_3_1(i.e birt-runtime-2_3_1WebViewerExample) into JBoss application server.
when i created and deployed the reports using Hibernate datasource, I am getting exceptions. I am able to see the report preview in eclipse. but when i deploy it i am getting following exception.
java.lang.NoClassDefFoundError: org/hibernate/Session at org.jboss.tools.birt.oda.impl.HibernateConnection.open(HibernateConnection.java:43) at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaConnection.open(OdaConnection.java:235)
The plugin org.jboss.tools.birt.oda_1.0.0.jar is not able to find hibernate.jar.
where should i put hibernate related plugins in WebViewerExample, so the reports using hibernate datasource will work?.
I had put the jars inside WEB-INF/lib , its not working.
Already we have jars inside JBoss server's common/lib, from there also its not loading.
So where exactly the plugin is looking for the hibernate related jars?.
Any help or suggestion is appreciated. please reply soon. its very urgent.
regards,
ganesh
Find more posts tagged with
Comments
JasonW
Ganesh,
I assume you have
org.jboss.tools.birt.oda_1.0.0.jar in your
WebViewer/web-inf/platform/plugins directory?
I just noticed in the mf file that this plugin also requires:
org.hibernate.eclipse
Do you have this plugin?
Jason