← Back to team overview

dhis2-devs team mailing list archive

Re: Version 947 failing to execute

 

OK.  the original problem wasn't entirely fixed.

My first reaction was to comment out all reference to the excel-reporting
modules completely and let it stay that way until there is some kind of code
review.  Sadly that doesn't work because now dhis-service-user-hibernate is
dependent on dhis-excel-reporting module.  This in itself must be a
mistake.  There *really* should not be this kind of dependency.

Dependencies seem fixed now and r948 runs fine.

Regards
Bob

2009/11/1 Bob Jolliffe <bobjolliffe@xxxxxxxxx>

> I'll take a look now.  The original problem was fixed so this is
> different.  I think this one might be due to the combined categoryservice
> which was recently introduced.  I don't think there is a
> DataElementCategoryOptionComboService anymore ...
>
> Bob
>
> 2009/11/1 Jason Pickering <jason.p.pickering@xxxxxxxxx>
>
> I am able to build but get this during start-up. Solutions? Bob, you
>> mentioned a work around.
>>
>> Caused by: org.springframework.beans.factory.BeanCreationException:
>> Error creating bean with name
>> 'org.hisp.dhis.aggregation.impl.indicator.IndicatorAggregation'
>> defined in URL
>> [jar:file:/usr/local/tomcat6/apache-tomcat-6.0.20/webapps/dhis/WEB-INF/lib/dhis-service-aggregationengine-default-2.0.3-SNAPSHOT.jar!/META-INF/dhis/beans.xml]:
>> Initialization of bean failed; nested exception is
>> java.lang.NoClassDefFoundError:
>> org/hisp/dhis/dataelement/DataElementCategoryOptionComboService
>>        at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
>>        at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
>>        at java.security.AccessController.doPrivileged(Native Method)
>>        at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
>>        at
>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
>>        at
>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
>>        at
>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
>>        at
>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
>>        at
>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>>        at
>> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
>>        ... 42 more
>> Caused by: java.lang.NoClassDefFoundError:
>> org/hisp/dhis/dataelement/DataElementCategoryOptionComboService
>>        at java.lang.Class.getDeclaredMethods0(Native Method)
>>        at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
>>        at java.lang.Class.getDeclaredMethods(Class.java:1791)
>>        at java.beans.Introspector$1.run(Introspector.java:1272)
>>        at java.security.AccessController.doPrivileged(Native Method)
>>        at
>> java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1270)
>>        at
>> java.beans.Introspector.getTargetMethodInfo(Introspector.java:1136)
>>        at java.beans.Introspector.getBeanInfo(Introspector.java:387)
>>        at java.beans.Introspector.getBeanInfo(Introspector.java:159)
>>        at
>> org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:220)
>>        at
>> org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:144)
>>        at
>> org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:252)
>>        at
>> org.springframework.beans.BeanWrapperImpl.getPropertyDescriptors(BeanWrapperImpl.java:259)
>>        at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.filterPropertyDescriptorsForDependencyCheck(AbstractAutowireCapableBeanFactory.java:1132)
>>        at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:992)
>>        at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
>>        ... 51 more
>> Caused by: java.lang.ClassNotFoundException:
>> org.hisp.dhis.dataelement.DataElementCategoryOptionComboService
>>        at
>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
>>        at
>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
>>        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>>        ... 67 more
>> Nov 1, 2009 3:38:16 PM org.apache.catalina.core.ApplicationContext log
>> INFO: Closing Spring root WebApplicationContext
>> Nov 1, 2009 3:38:17 PM org.apache.catalina.core.ApplicationContext log
>> INFO: ContextListener: contextInitialized()
>> Nov 1, 2009 3:38:17 PM org.apache.catalina.core.ApplicationContext log
>> INFO: SessionListener: contextInitialized()
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>

References