excel web module has missing bean references

Reported by Bob Jolliffe on 2010-10-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DHIS
Critical
Unassigned

Bug Description

trunk is currently broken.

It builds but doesn't run. Possible reason:

There is a bean in the dhis-web-excel-reporting which refers to class org.hisp.dhis.reportexcel.jchart.action.UpdateJChartUserRoleAction yet this class doesn't seem to exist. The same seems to be true of UpdateJChartUserRoleFormAction. Perhaps this was a partial commit.

Bob Jolliffe (bobjolliffe) wrote :
Download full text (3.2 KiB)

2010-10-03 17:17:29.809::WARN: Failed startup of context org.mortbay.jetty.webapp.WebAppContext@668387{/,/home/bobj/dhis2-live/dhis2-live/webapps/dhis}
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.hisp.dhis.datamart.DataMartExportStore' defined in URL [jar:file:/home/bobj/dhis2-live/dhis2-live/webapps/dhis/WEB-INF/lib/dhis-service-datamart-default-2.0.6-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [jar:file:/home/bobj/dhis2-live/dhis2-live/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.0.6-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in URL [jar:file:/home/bobj/dhis2-live/dhis2-live/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.0.6-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'driverClassName' while setting bean property 'driverClass'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'driverClassName': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hisp.dhis.hibernate.HibernateConfigurationProvider org.hisp.dhis.hibernate.ConnectionPropertyFactoryBean.hibernateConfigurationProvider; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.hisp.dhis.reportexcel.jchart.action.UpdateJChartUserRoleAction] for bean with name 'org.hisp.dhis.reportexcel.jchart.action.UpdateJChartUserRoleAction' defined in URL [jar:file:/home/bobj/dhis2-live/dhis2-live/webapps/dhis/WEB-INF/lib/dhis-web-excel-reporting.jar!/META-INF/dhis/beans.xml]; nested exception is java.lang.ClassNotFoundException: org.hisp.dhis.reportexcel.jchart.action.UpdateJChartUserRoleAction
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.hisp.dhis.reportexcel.jchart.action.UpdateJChartUserRoleAction] for bean with name 'org.hisp.dhis.reportexcel.jchart.action.UpdateJChartUserRoleAction' defined in URL [jar:file:/home/bobj/dhis2-live/dhis2-live/webapps/dhis/WEB-INF/lib/dhis-web-excel-reporting.jar!/META-INF/dhis/beans.xml]; nested exception is java.lang.ClassNotFoundException: org.hisp.dhis.reportexcel.jchart.action.UpdateJChartUserRoleAction
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.hisp.dhis.reportexcel.jchart.action.UpdateJChartUserRoleFormAction] for bean with name 'org.hisp.dhis.reportexcel.jchart.action.UpdateJChartUserRoleFormAction' defined in URL [jar:file:/home/bobj/dhis2-live/dhis2-live/webapps/dhis/WEB-INF/lib/dhis-web-excel-reporting.jar!/META-INF/dhis/beans.xml]; nested exception is java.lang.ClassNotFoundException: org.hisp.dhis.report...

Read more...

Changed in dhis2:
importance: Undecided → Critical
Bob Jolliffe (bobjolliffe) wrote :

I see Tran committed the missing file with r2300. Thanks Tran.

Changed in dhis2:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers