Hi,
I’ve got the problem when starting Tomcat (version 6 and 7 also). With the same as dhis.war file, it’s run successfully in other but mine is failed. Any one likes me and any thought ?
- INFO 2012-03-14 10:39:34,173 Environment variable DHIS2_HOME points to d:\wor
king\DHIS2OH-2.0\config (DefaultLocationManager.java [main])
- ERROR 2012-03-14 10:39:44,310 Context initialization failed (ContextLoader.jav
a [main])
org.springframework.beans.factory.BeanCreationException: Error creating bean wit
h name ‘org.hisp.dhis.resourcetable.ResourceTableService’ defined in URL [jar:fi
le:/C:/Apache%20Software%20Foundation/Tomcat%206.0/webapps/dhis/WEB-INF/lib/dhis
-service-administration-2.8-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: Cannot resol
ve reference to bean ‘org.hisp.dhis.organisationunit.OrganisationUnitService’ wh
ile setting bean property ‘organisationUnitService’; nested exception is org.spr
ingframework.beans.factory.BeanCreationException: Error creating bean with name
‘org.hisp.dhis.organisationunit.OrganisationUnitService’ defined in URL [jar:fil
e:/C:/Apache%20Software%20Foundation/Tomcat%206.0/webapps/dhis/WEB-INF/lib/dhis-
service-core-2.8-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: Cannot resolve referenc
e to bean ‘org.hisp.dhis.organisationunit.OrganisationUnitStore’ while setting b
ean property ‘organisationUnitStore’; nested exception is org.springframework.be
ans.factory.BeanCreationException: Error creating bean with name 'org.hisp.dhis.
organisationunit.OrganisationUnitStore’ defined in URL [jar:file:/C:/Apache%20So
ftware%20Foundation/Tomcat%206.0/webapps/dhis/WEB-INF/lib/dhis-service-core-2.8-
SNAPSHOT.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'sessio
nFactory’ while setting bean property ‘sessionFactory’; nested exception is org.
springframework.beans.factory.BeanCreationException: Error creating bean with na
me ‘sessionFactory’ defined in URL [jar:file:/C:/Apache%20Software%20Foundation/
Tomcat%206.0/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.8-SNAPSHOT.jar!/M
ETA-INF/dhis/beans.xml]: Invocation of init method failed; nested exception is j
ava.lang.NoClassDefFoundError: org/hibernate/cache/TimestampsRegion
at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveReference(BeanDefinitionValueResolver.java:328)
···
–
“Expert By Chance”