A BIG BUG IN DHIS2-API

Dear Abyota and everyone,

After checkout the new source code from Lauchpad. I have re-built dhis2-api and then ran up tomcat server.
Unfortunately, an expecting thing which has been occurred. I would paste several errors in here:

SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener

org.springframework.beans.factory.BeanCreationException:

Error creating bean with name ‘org.hisp.dhis.i18n.locale.LocaleManagerDb’ defined in URL [jar:file:/C:/Program%20Files/apache-tomcat-6.0.18/webapps/dhis/WEB-INF/lib/dhis-i18n-db-2.0.3-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException:

Error creating bean with name ‘org.springframework.aop.support.RegexpMethodPointcutAdvisor#0’ defined in URL [jar:file:/C:/Program%20Files/apache-tomcat-6.0.18/webapps/dhis/WEB-INF/lib/dhis-service-reporting-2.0.3-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘statementInterceptor’ while setting bean property ‘advice’; nested exception is org.springframework.beans.factory.BeanCreationException:

Error creating bean with name ‘statementInterceptor’ defined in URL [jar:file:/C:/Program%20Files/apache-tomcat-6.0.18/webapps/dhis/WEB-INF/lib/dhis-service-jdbc-2.0.3-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘statementManager’ while setting bean property ‘statementManager’; nested exception is org.springframework.beans.factory.BeanCreationException:

Error creating bean with name ‘statementManager’ defined in URL [jar:file:/C:/Program%20Files/apache-tomcat-6.0.18/webapps/dhis/WEB-INF/lib/dhis-service-jdbc-2.0.3-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘jdbcConfiguration’ while setting bean property ‘jdbcConfiguration’; nested exception is org.springframework.beans.factory.BeanCreationException:

Error creating bean with name ‘jdbcConfiguration’ defined in URL [jar:file:/C:/Program%20Files/apache-tomcat-6.0.18/webapps/dhis/WEB-INF/lib/dhis-service-jdbc-2.0.3-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘org.hisp.dhis.hibernate.HibernateConfigurationProvider’ while setting bean property ‘configurationProvider’; nested exception is org.springframework.beans.factory.BeanCreationException:

Error creating bean with name ‘org.hisp.dhis.hibernate.HibernateConfigurationProvider’ defined in URL [jar:file:/C:/Program%20Files/apache-tomcat-6.0.18/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.0.3-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not read mapping documents from jar: dhis-service-core-2.0.3-SNAPSHOT.jar

Related cause: org.springframework.beans.factory.CannotLoadBeanClassException:

Error loading class [org.hisp.dhis.dataelement.hibernate.HibernateDataElementDimensionColumnOrderStore] for bean with name ‘org.hisp.dhis.dataelement.DataElementDimensionColumnOrderStore’ defined in URL [jar:file:/C:/Program%20Files/apache-tomcat-6.0.18/webapps/dhis/WEB-INF/lib/dhis-service-core-2.0.3-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/hisp/dhis/dataelement/DataElementDimensionColumnOrderStore

Related cause: org.springframework.beans.factory.CannotLoadBeanClassException:

Error loading class [org.hisp.dhis.dataelement.hibernate.HibernateDataElementDimensionRowOrderStore] for bean with name ‘org.hisp.dhis.dataelement.DataElementDimensionRowOrderStore’ defined in URL [jar:file:/C:/Program%20Files/apache-tomcat-6.0.18/webapps/dhis/WEB-INF/lib/dhis-service-core-2.0.3-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/hisp/dhis/dataelement/DataElementDimensionRowOrderStore

Related cause: org.springframework.beans.factory.CannotLoadBeanClassException:

Error loading class [org.hisp.dhis.dataelement.DefaultDataElementDimensionRowOrderService] for bean with name ‘org.hisp.dhis.dataelement.DataElementDimensionRowOrderService’ defined in URL [jar:file:/C:/Program%20Files/apache-tomcat-6.0.18/webapps/dhis/WEB-INF/lib/dhis-service-core-2.0.3-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/hisp/dhis/dataelement/DataElementDimensionRowOrderService

Related cause: org.springframework.beans.factory.CannotLoadBeanClassException:

Error loading class [org.hisp.dhis.dataelement.DefaultDataElementDimensionColumnOrderService] for bean with name ‘org.hisp.dhis.dataelement.DataElementDimensionColumnOrderService’ defined in URL [jar:file:/C:/Program%20Files/apache-tomcat-6.0.18/webapps/dhis/WEB-INF/lib/dhis-service-core-2.0.3-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/hisp/dhis/dataelement/DataElementDimensionColumnOrderService

Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.hisp.dhis.mapping.action.AddMapLegendSetAction] for bean with name ‘org.hisp.dhis.mapping.action.AddMapLegendSetAction’ defined in URL [jar:file:/C:/Program%20Files/apache-tomcat-6.0.18/webapps/dhis/WEB-INF/lib/dhis-web-mapping.jar!/META-INF/dhis/beans.xml]; nested exception is java.lang.ClassNotFoundException: org.hisp.dhis.mapping.action.AddMapLegendSetAction

p.s: Attach more referencing file**, plz enclosed**.

Thank you !

localhost.2009-10-15.log (241 KB)

···


Hieu.HISPVietnam
Good Health !

Hi Hieu,

all these errors related to classes that has just been removed or added. Things work fine here. Please update the code and build everything and try again…

Lars

···

On Thu, Oct 15, 2009 at 7:12 AM, Hieu Dang Duy hieu.hispvietnam@gmail.com wrote:

Dear Abyota and everyone,

After checkout the new source code from Lauchpad. I have re-built dhis2-api and then ran up tomcat server.
Unfortunately, an expecting thing which has been occurred. I would paste several errors in here:

SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener

org.springframework.beans.factory.BeanCreationException:

Error creating bean with name ‘org.hisp.dhis.i18n.locale.LocaleManagerDb’ defined in URL [jar:file:/C:/Program%20Files/apache-tomcat-6.0.18/webapps/dhis/WEB-INF/lib/dhis-i18n-db-2.0.3-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException:

Error creating bean with name ‘org.springframework.aop.support.RegexpMethodPointcutAdvisor#0’ defined in URL [jar:file:/C:/Program%20Files/apache-tomcat-6.0.18/webapps/dhis/WEB-INF/lib/dhis-service-reporting-2.0.3-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘statementInterceptor’ while setting bean property ‘advice’; nested exception is org.springframework.beans.factory.BeanCreationException:

Error creating bean with name ‘statementInterceptor’ defined in URL [jar:file:/C:/Program%20Files/apache-tomcat-6.0.18/webapps/dhis/WEB-INF/lib/dhis-service-jdbc-2.0.3-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘statementManager’ while setting bean property ‘statementManager’; nested exception is org.springframework.beans.factory.BeanCreationException:

Error creating bean with name ‘statementManager’ defined in URL [jar:file:/C:/Program%20Files/apache-tomcat-6.0.18/webapps/dhis/WEB-INF/lib/dhis-service-jdbc-2.0.3-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘jdbcConfiguration’ while setting bean property ‘jdbcConfiguration’; nested exception is org.springframework.beans.factory.BeanCreationException:

Error creating bean with name ‘jdbcConfiguration’ defined in URL [jar:file:/C:/Program%20Files/apache-tomcat-6.0.18/webapps/dhis/WEB-INF/lib/dhis-service-jdbc-2.0.3-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘org.hisp.dhis.hibernate.HibernateConfigurationProvider’ while setting bean property ‘configurationProvider’; nested exception is org.springframework.beans.factory.BeanCreationException:

Error creating bean with name ‘org.hisp.dhis.hibernate.HibernateConfigurationProvider’ defined in URL [jar:file:/C:/Program%20Files/apache-tomcat-6.0.18/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.0.3-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not read mapping documents from jar: dhis-service-core-2.0.3-SNAPSHOT.jar

Related cause: org.springframework.beans.factory.CannotLoadBeanClassException:

Error loading class [org.hisp.dhis.dataelement.hibernate.HibernateDataElementDimensionColumnOrderStore] for bean with name ‘org.hisp.dhis.dataelement.DataElementDimensionColumnOrderStore’ defined in URL [jar:file:/C:/Program%20Files/apache-tomcat-6.0.18/webapps/dhis/WEB-INF/lib/dhis-service-core-2.0.3-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/hisp/dhis/dataelement/DataElementDimensionColumnOrderStore

Related cause: org.springframework.beans.factory.CannotLoadBeanClassException:

Error loading class [org.hisp.dhis.dataelement.hibernate.HibernateDataElementDimensionRowOrderStore] for bean with name ‘org.hisp.dhis.dataelement.DataElementDimensionRowOrderStore’ defined in URL [jar:file:/C:/Program%20Files/apache-tomcat-6.0.18/webapps/dhis/WEB-INF/lib/dhis-service-core-2.0.3-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/hisp/dhis/dataelement/DataElementDimensionRowOrderStore

Related cause: org.springframework.beans.factory.CannotLoadBeanClassException:

Error loading class [org.hisp.dhis.dataelement.DefaultDataElementDimensionRowOrderService] for bean with name ‘org.hisp.dhis.dataelement.DataElementDimensionRowOrderService’ defined in URL [jar:file:/C:/Program%20Files/apache-tomcat-6.0.18/webapps/dhis/WEB-INF/lib/dhis-service-core-2.0.3-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/hisp/dhis/dataelement/DataElementDimensionRowOrderService

Related cause: org.springframework.beans.factory.CannotLoadBeanClassException:

Error loading class [org.hisp.dhis.dataelement.DefaultDataElementDimensionColumnOrderService] for bean with name ‘org.hisp.dhis.dataelement.DataElementDimensionColumnOrderService’ defined in URL [jar:file:/C:/Program%20Files/apache-tomcat-6.0.18/webapps/dhis/WEB-INF/lib/dhis-service-core-2.0.3-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/hisp/dhis/dataelement/DataElementDimensionColumnOrderService

Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.hisp.dhis.mapping.action.AddMapLegendSetAction] for bean with name ‘org.hisp.dhis.mapping.action.AddMapLegendSetAction’ defined in URL [jar:file:/C:/Program%20Files/apache-tomcat-6.0.18/webapps/dhis/WEB-INF/lib/dhis-web-mapping.jar!/META-INF/dhis/beans.xml]; nested exception is java.lang.ClassNotFoundException: org.hisp.dhis.mapping.action.AddMapLegendSetAction

p.s: Attach more referencing file**, plz enclosed**.

Thank you !


Hieu.HISPVietnam

Good Health !


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp