Skip to main content



      Home
Home » Archived » BIRT » Anyone know how to use Hibernate with BIRT 2.1.0?
Anyone know how to use Hibernate with BIRT 2.1.0? [message #184457] Sat, 12 August 2006 20:51
Eclipse UserFriend
Using Hiberate with Eclipse 3.2 and BIRT 2.1.0 seems to be coming down to
this conundrum:

If I don't copy commons-logging-1.0.4.jar into the
eclipse\plugins\org.eclipse.birt.report.viewer_2.1.0.N200606 28-1351\birt\WEB-INF\lib
folder I get this exception when I try to preview a report with a scripted
data source that calls HibernateUtil: java.lang.NoClassDefFoundError:
org/hibernate/HibernateException

If I copy commons-logging-1.0.4.jar into the
eclipse\plugins\org.eclipse.birt.report.viewer_2.1.0.N200606 28-1351\birt\WEB-INF\lib
folder I get this error message in the preview:
HTTP Status 500 - type Exception report message
description The server encountered an internal error () that prevented it
from fulfilling this request.

Note that commons-logging-1.0.4.jar is required not optional according the
Hibernate documentation.

I another poster who has what appears to be the same problem, but no
solution:
http://dev.eclipse.org/newslists/news.eclipse.birt/msg11791. html

Apparently, it was ok for him in Eclipse 3.1 but started having this problem
when he upgraded to 3.2.

Anyone know how to overcome this problem?

Mark
Previous Topic:dynamic sorting order
Next Topic:Publishing a Library to a resource folder.
Goto Forum:
  


Current Time: Mon Aug 11 01:53:02 EDT 2025

Powered by FUDForum. Page generated in 0.04504 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top