← Back to team overview

dhis2-devs team mailing list archive

Re: Fwd: Integrating Birt Reports

 

>
> java.lang.NoClassDefFoundError: org.apache.commons.logging.LogFactory
>
>
> and on DHIS this:
>
> type Status report
> message Servlet ViewerServlet is not available
> description The requested resource (Servlet ViewerServlet is not available)
> is not available.
>
>
> Any Help?
>


Hi Cintia,

well done so far.

The problem is that the commons-logging library is missing (see log) and
must be included, put this jar in birt-viewer/WEB-INF/lib


http://repo1.maven.org/maven2/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar


You must probably also put the appropriate JDBC driver jar file in
birt-viewer\WEB-INF\platform\plugins\org.eclipse.birt.report.data.oda.jdbc_2.3.1.v20080827\drivers

Postgres:

http://repo1.maven.org/maven2/postgresql/postgresql/8.3-603.jdbc4/postgresql-8.3-603.jdbc4.jar

Mysql:

http://repo2.maven.org/maven2/mysql/mysql-connector-java/5.1.6/mysql-connector-java-5.1.6.jar


regards Lars

References