← Back to team overview

dhis2-devs team mailing list archive

Re: Error when installing dhis2 on tomcat 9 and postgres 10.4

 

Thanks Vladimer,

this resolved my problem.

On 24 July 2018 at 11:25, Michael Mwebaze <michael.mwebaze@xxxxxxxxx> wrote:

> Yes I am using Java 9. Let me try this and I will give you an update.
>
> Thanks
>
> On 24 July 2018 at 11:15, Vladimer Shioshvili <vshioshvili@xxxxxxxxx>
> wrote:
>
>> Are you using Java 9 or higher? because, starting with Java 9, xml
>> components are now modules that you need to specify to be included.
>>
>> You can either add "--add-modules java.xml.bind" to JAVA_OPTS environment
>> variable or edit catalina.bat/catalina.sh to hard code it. But keep in mind
>> that --add-modules does not work in java 8 if you intend to use both jvm
>> versions.
>>
>>
>> On Tue, Jul 24, 2018 at 10:11 AM Michael Mwebaze <
>> michael.mwebaze@xxxxxxxxx> wrote:
>>
>>> Any ideas with this?
>>>
>>> * WARN  2018-07-24 09:53:42,048 Exception encountered during context
>>> initialization - cancelling refresh attempt: org.springframework.beans.fact
>>> ory.UnsatisfiedDependencyException: Error creating bean with name
>>> 'org.hisp.dhis.appstore.AppStoreManager': Unsatisfied dependency
>>> expressed through field 'appManager'; nested exception is
>>> org.springframework.beans.factory.UnsatisfiedDependencyException: Error
>>> creating bean with name 'org.hisp.dhis.appmanager.AppManager':
>>> Unsatisfied dependency expressed through field 'appSettingManager'; nested
>>> exception is org.springframework.beans.factory.BeanCreationException:
>>> Error creating bean with name 'org.hisp.dhis.setting.SystemSettingManager':
>>> Injection of resource dependencies failed; nested exception is
>>> org.springframework.beans.factory.BeanCreationException: Error creating
>>> bean with name 'tripleDesStringEncryptor' defined in URL
>>> [jar:file:/usr/local/Cellar/tomcat/9.0.10/libexec/webapps/RO
>>> OT/WEB-INF/lib/dhis-support-hibernate-2.27.jar!/META-INF/dhis/beans.xml]:
>>> Cannot resolve reference to bean 'encryptionPassword' while setting bean
>>> property 'password'; nested exception is org.springframework.beans.factory.BeanCreationException:
>>> Error creating bean with name 'encryptionPassword' defined in URL
>>> [jar:file:/usr/local/Cellar/tomcat/9.0.10/libexec/webapps/RO
>>> OT/WEB-INF/lib/dhis-support-hibernate-2.27.jar!/META-INF/dhis/beans.xml]:
>>> Cannot resolve reference to bean 'hibernateConfigurationProvider' while
>>> setting bean property 'hibernateConfigurationProvider'; nested
>>> exception is org.springframework.beans.factory.BeanCreationException:
>>> Error creating bean with name 'hibernateConfigurationProvider':
>>> Invocation of init method failed; nested exception is
>>> java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
>>> (AbstractApplicationContext.java [main])
>>> * ERROR 2018-07-24 09:53:42,053 Context initialization failed
>>> (ContextLoader.java [main])
>>> org.springframework.beans.factory.UnsatisfiedDependencyException: Error
>>> creating bean with name 'org.hisp.dhis.appstore.AppStoreManager':
>>> Unsatisfied dependency expressed through field 'appManager'; nested
>>> exception is org.springframework.beans.fact
>>> ory.UnsatisfiedDependencyException: Error creating bean with name
>>> 'org.hisp.dhis.appmanager.AppManager': Unsatisfied dependency expressed
>>> through field 'appSettingManager'; nested exception is
>>> org.springframework.beans.factory.BeanCreationException: Error creating
>>> bean with name 'org.hisp.dhis.setting.SystemSettingManager': Injection
>>> of resource dependencies failed; nested exception is
>>> org.springframework.beans.factory.BeanCreationException: Error creating
>>> bean with name 'tripleDesStringEncryptor' defined in URL
>>> [jar:file:/usr/local/Cellar/tomcat/9.0.10/libexec/webapps/RO
>>> OT/WEB-INF/lib/dhis-support-hibernate-2.27.jar!/META-INF/dhis/beans.xml]:
>>> Cannot resolve reference to bean 'encryptionPassword' while setting bean
>>> property 'password'; nested exception is org.springframework.beans.factory.BeanCreationException:
>>> Error creating bean with name 'encryptionPassword' defined in URL
>>> [jar:file:/usr/local/Cellar/tomcat/9.0.10/libexec/webapps/RO
>>> OT/WEB-INF/lib/dhis-support-hibernate-2.27.jar!/META-INF/dhis/beans.xml]:
>>> Cannot resolve reference to bean 'hibernateConfigurationProvider' while
>>> setting bean property 'hibernateConfigurationProvider'; nested
>>> exception is org.springframework.beans.factory.BeanCreationException:
>>> Error creating bean with name 'hibernateConfigurationProvider':
>>> Invocation of init method failed; nested exception is
>>> java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
>>>     at org.springframework.beans.factory.annotation.AutowiredAnnota
>>> tionBeanPostProcessor$AutowiredFieldElement.inject(A
>>> utowiredAnnotationBeanPostProcessor.java:588)
>>>     at org.springframework.beans.factory.annotation.InjectionMetada
>>> ta.inject(InjectionMetadata.java:88)
>>>     at org.springframework.beans.factory.annotation.AutowiredAnnota
>>> tionBeanPostProcessor.postProcessPropertyValues(AutowiredAnn
>>> otationBeanPostProcessor.java:366)
>>>     at org.springframework.beans.factory.support.AbstractAutowireCa
>>> pableBeanFactory.populateBean(AbstractAutowireCapableBeanFac
>>> tory.java:1264)
>>>     at org.springframework.beans.factory.support.AbstractAutowireCa
>>> pableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFac
>>> tory.java:553)
>>>     at org.springframework.beans.factory.support.AbstractAutowireCa
>>> pableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
>>>     at org.springframework.beans.factory.support.AbstractBeanFactor
>>> y$1.getObject(AbstractBeanFactory.java:306)
>>>     at org.springframework.beans.factory.support.DefaultSingletonBe
>>> anRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
>>>     at org.springframework.beans.factory.support.AbstractBeanFactor
>>> y.doGetBean(AbstractBeanFactory.java:302)
>>>     at org.springframework.beans.factory.support.AbstractBeanFactor
>>> y.getBean(AbstractBeanFactory.java:197)
>>>     at org.springframework.beans.factory.support.DefaultListableBea
>>> nFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
>>>     at org.springframework.context.support.AbstractApplicationConte
>>> xt.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
>>>     at org.springframework.context.support.AbstractApplicationConte
>>> xt.refresh(AbstractApplicationContext.java:543)
>>>     at org.springframework.web.context.ContextLoader.configureAndRe
>>> freshWebApplicationContext(ContextLoader.java:443)
>>>     at org.springframework.web.context.ContextLoader.initWebApplica
>>> tionContext(ContextLoader.java:325)
>>>     at org.springframework.web.context.ContextLoaderListener.contex
>>> tInitialized(ContextLoaderListener.java:107)
>>>     at org.apache.catalina.core.StandardContext.listenerStart(Stand
>>> ardContext.java:4643)
>>>     at org.apache.catalina.core.StandardContext.startInternal(Stand
>>> ardContext.java:5109)
>>>     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.
>>> java:183)
>>>     at org.apache.catalina.core.ContainerBase.addChildInternal(Cont
>>> ainerBase.java:742)
>>>     at org.apache.catalina.core.ContainerBase.addChild(ContainerBas
>>> e.java:718)
>>>     at org.apache.catalina.core.StandardHost.addChild(StandardHost.
>>> java:703)
>>>     at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.
>>> java:986)
>>>     at org.apache.catalina.startup.HostConfig$DeployWar.run(HostCon
>>> fig.java:1858)
>>>     at java.base/java.util.concurrent.Executors$RunnableAdapter.
>>> call(Executors.java:514)
>>>     at java.base/java.util.concurrent.FutureTask.run(FutureTask.
>>> java:264)
>>>     at org.apache.tomcat.util.threads.InlineExecutorService.execute
>>> (InlineExecutorService.java:75)
>>>     at java.base/java.util.concurrent.AbstractExecutorService.submi
>>> t(AbstractExecutorService.java:118)
>>>     at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig
>>> .java:772)
>>>     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig
>>> .java:426)
>>>     at org.apache.catalina.startup.HostConfig.start(HostConfig.java
>>> :1585)
>>>     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo
>>> nfig.java:308)
>>>     at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(Li
>>> fecycleBase.java:123)
>>>     at org.apache.catalina.util.LifecycleBase.setStateInternal(Life
>>> cycleBase.java:424)
>>>     at org.apache.catalina.util.LifecycleBase.setState(LifecycleBas
>>> e.java:367)
>>>     at org.apache.catalina.core.ContainerBase.startInternal(Contain
>>> erBase.java:966)
>>>     at org.apache.catalina.core.StandardHost.startInternal(Standard
>>> Host.java:839)
>>>     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.
>>> java:183)
>>>     at org.apache.catalina.core.ContainerBase$StartChild.call(Conta
>>> inerBase.java:1427)
>>>     at org.apache.catalina.core.ContainerBase$StartChild.call(Conta
>>> inerBase.java:1417)
>>>     at java.base/java.util.concurrent.FutureTask.run(FutureTask.
>>> java:264)
>>>     at org.apache.tomcat.util.threads.InlineExecutorService.execute
>>> (InlineExecutorService.java:75)
>>>     at java.base/java.util.concurrent.AbstractExecutorService.submi
>>> t(AbstractExecutorService.java:140)
>>>     at org.apache.catalina.core.ContainerBase.startInternal(Contain
>>> erBase.java:943)
>>>     at org.apache.catalina.core.StandardEngine.startInternal(Standa
>>> rdEngine.java:258)
>>>     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.
>>> java:183)
>>>     at org.apache.catalina.core.StandardService.startInternal(Stand
>>> ardService.java:422)
>>>     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.
>>> java:183)
>>>     at org.apache.catalina.core.StandardServer.startInternal(Standa
>>> rdServer.java:770)
>>>     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.
>>> java:183)
>>>     at org.apache.catalina.startup.Catalina.start(Catalina.java:682)
>>>     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
>>> Method)
>>>     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invo
>>> ke(NativeMethodAccessorImpl.java:62)
>>>     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.
>>> invoke(DelegatingMethodAccessorImpl.java:43)
>>>     at java.base/java.lang.reflect.Method.invoke(Method.java:564)
>>>     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
>>>     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
>>> Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
>>> Error creating bean with name 'org.hisp.dhis.appmanager.AppManager':
>>> Unsatisfied dependency expressed through field 'appSettingManager'; nested
>>> exception is org.springframework.beans.factory.BeanCreationException:
>>> Error creating bean with name 'org.hisp.dhis.setting.SystemSettingManager':
>>> Injection of resource dependencies failed; nested exception is
>>> org.springframework.beans.factory.BeanCreationException: Error creating
>>> bean with name 'tripleDesStringEncryptor' defined in URL
>>> [jar:file:/usr/local/Cellar/tomcat/9.0.10/libexec/webapps/RO
>>> OT/WEB-INF/lib/dhis-support-hibernate-2.27.jar!/META-INF/dhis/beans.xml]:
>>> Cannot resolve reference to bean 'encryptionPassword' while setting bean
>>> property 'password'; nested exception is org.springframework.beans.factory.BeanCreationException:
>>> Error creating bean with name 'encryptionPassword' defined in URL
>>> [jar:file:/usr/local/Cellar/tomcat/9.0.10/libexec/webapps/RO
>>> OT/WEB-INF/lib/dhis-support-hibernate-2.27.jar!/META-INF/dhis/beans.xml]:
>>> Cannot resolve reference to bean 'hibernateConfigurationProvider' while
>>> setting bean property 'hibernateConfigurationProvider'; nested
>>> exception is org.springframework.beans.factory.BeanCreationException:
>>> Error creating bean with name 'hibernateConfigurationProvider':
>>> Invocation of init method failed; nested exception is
>>> java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
>>>     at org.springframework.beans.factory.annotation.AutowiredAnnota
>>> tionBeanPostProcessor$AutowiredFieldElement.inject(A
>>> utowiredAnnotationBeanPostProcessor.java:588)
>>>     at org.springframework.beans.factory.annotation.InjectionMetada
>>> ta.inject(InjectionMetadata.java:88)
>>>     at org.springframework.beans.factory.annotation.AutowiredAnnota
>>> tionBeanPostProcessor.postProcessPropertyValues(AutowiredAnn
>>> otationBeanPostProcessor.java:366)
>>>     at org.springframework.beans.factory.support.AbstractAutowireCa
>>> pableBeanFactory.populateBean(AbstractAutowireCapableBeanFac
>>> tory.java:1264)
>>>     at org.springframework.beans.factory.support.AbstractAutowireCa
>>> pableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFac
>>> tory.java:553)
>>>     at org.springframework.beans.factory.support.AbstractAutowireCa
>>> pableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
>>>     at org.springframework.beans.factory.support.AbstractBeanFactor
>>> y$1.getObject(AbstractBeanFactory.java:306)
>>>     at org.springframework.beans.factory.support.DefaultSingletonBe
>>> anRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
>>>     at org.springframework.beans.factory.support.AbstractBeanFactor
>>> y.doGetBean(AbstractBeanFactory.java:302)
>>>     at org.springframework.beans.factory.support.AbstractBeanFactor
>>> y.getBean(AbstractBeanFactory.java:202)
>>>     at org.springframework.beans.factory.config.DependencyDescripto
>>> r.resolveCandidate(DependencyDescriptor.java:208)
>>>     at org.springframework.beans.factory.support.DefaultListableBea
>>> nFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)
>>>     at org.springframework.beans.factory.support.DefaultListableBea
>>> nFactory.resolveDependency(DefaultListableBeanFactory.java:1066)
>>>     at org.springframework.beans.factory.annotation.AutowiredAnnota
>>> tionBeanPostProcessor$AutowiredFieldElement.inject(A
>>> utowiredAnnotationBeanPostProcessor.java:585)
>>>     ... 56 more
>>> Caused by: org.springframework.beans.factory.BeanCreationException:
>>> Error creating bean with name 'org.hisp.dhis.setting.SystemSettingManager':
>>> Injection of resource dependencies failed; nested exception is
>>> org.springframework.beans.factory.BeanCreationException: Error creating
>>> bean with name 'tripleDesStringEncryptor' defined in URL
>>> [jar:file:/usr/local/Cellar/tomcat/9.0.10/libexec/webapps/RO
>>> OT/WEB-INF/lib/dhis-support-hibernate-2.27.jar!/META-INF/dhis/beans.xml]:
>>> Cannot resolve reference to bean 'encryptionPassword' while setting bean
>>> property 'password'; nested exception is org.springframework.beans.factory.BeanCreationException:
>>> Error creating bean with name 'encryptionPassword' defined in URL
>>> [jar:file:/usr/local/Cellar/tomcat/9.0.10/libexec/webapps/RO
>>> OT/WEB-INF/lib/dhis-support-hibernate-2.27.jar!/META-INF/dhis/beans.xml]:
>>> Cannot resolve reference to bean 'hibernateConfigurationProvider' while
>>> setting bean property 'hibernateConfigurationProvider'; nested
>>> exception is org.springframework.beans.factory.BeanCreationException:
>>> Error creating bean with name 'hibernateConfigurationProvider':
>>> Invocation of init method failed; nested exception is
>>> java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
>>>     at org.springframework.context.annotation.CommonAnnotationBeanP
>>> ostProcessor.postProcessPropertyValues(Comm
>>> onAnnotationBeanPostProcessor.java:321)
>>>     at org.springframework.beans.factory.support.AbstractAutowireCa
>>> pableBeanFactory.populateBean(AbstractAutowireCapableBeanFac
>>> tory.java:1264)
>>>     at org.springframework.beans.factory.support.AbstractAutowireCa
>>> pableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFac
>>> tory.java:553)
>>>     at org.springframework.beans.factory.support.AbstractAutowireCa
>>> pableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
>>>     at org.springframework.beans.factory.support.AbstractBeanFactor
>>> y$1.getObject(AbstractBeanFactory.java:306)
>>>     at org.springframework.beans.factory.support.DefaultSingletonBe
>>> anRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
>>>     at org.springframework.beans.factory.support.AbstractBeanFactor
>>> y.doGetBean(AbstractBeanFactory.java:302)
>>>     at org.springframework.beans.factory.support.AbstractBeanFactor
>>> y.getBean(AbstractBeanFactory.java:202)
>>>     at org.springframework.beans.factory.config.DependencyDescripto
>>> r.resolveCandidate(DependencyDescriptor.java:208)
>>>     at org.springframework.beans.factory.support.DefaultListableBea
>>> nFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)
>>>     at org.springframework.beans.factory.support.DefaultListableBea
>>> nFactory.resolveDependency(DefaultListableBeanFactory.java:1066)
>>>     at org.springframework.beans.factory.annotation.AutowiredAnnota
>>> tionBeanPostProcessor$AutowiredFieldElement.inject(A
>>> utowiredAnnotationBeanPostProcessor.java:585)
>>>     ... 69 more
>>> Caused by: org.springframework.beans.factory.BeanCreationException:
>>> Error creating bean with name 'tripleDesStringEncryptor' defined in URL
>>> [jar:file:/usr/local/Cellar/tomcat/9.0.10/libexec/webapps/RO
>>> OT/WEB-INF/lib/dhis-support-hibernate-2.27.jar!/META-INF/dhis/beans.xml]:
>>> Cannot resolve reference to bean 'encryptionPassword' while setting bean
>>> property 'password'; nested exception is org.springframework.beans.factory.BeanCreationException:
>>> Error creating bean with name 'encryptionPassword' defined in URL
>>> [jar:file:/usr/local/Cellar/tomcat/9.0.10/libexec/webapps/RO
>>> OT/WEB-INF/lib/dhis-support-hibernate-2.27.jar!/META-INF/dhis/beans.xml]:
>>> Cannot resolve reference to bean 'hibernateConfigurationProvider' while
>>> setting bean property 'hibernateConfigurationProvider'; nested
>>> exception is org.springframework.beans.factory.BeanCreationException:
>>> Error creating bean with name 'hibernateConfigurationProvider':
>>> Invocation of init method failed; nested exception is
>>> java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
>>>     at org.springframework.beans.factory.support.BeanDefinitionValu
>>> eResolver.resolveReference(BeanDefinitionValueResolver.java:359)
>>>     at org.springframework.beans.factory.support.BeanDefinitionValu
>>> eResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
>>>     at org.springframework.beans.factory.support.AbstractAutowireCa
>>> pableBeanFactory.applyPropertyValues(AbstractAu
>>> towireCapableBeanFactory.java:1531)
>>>     at org.springframework.beans.factory.support.AbstractAutowireCa
>>> pableBeanFactory.populateBean(AbstractAutowireCapableBeanFac
>>> tory.java:1276)
>>>     at org.springframework.beans.factory.support.AbstractAutowireCa
>>> pableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFac
>>> tory.java:553)
>>>     at org.springframework.beans.factory.support.AbstractAutowireCa
>>> pableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
>>>     at org.springframework.beans.factory.support.AbstractBeanFactor
>>> y$1.getObject(AbstractBeanFactory.java:306)
>>>     at org.springframework.beans.factory.support.DefaultSingletonBe
>>> anRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
>>>     at org.springframework.beans.factory.support.AbstractBeanFactor
>>> y.doGetBean(AbstractBeanFactory.java:302)
>>>     at org.springframework.beans.factory.support.AbstractBeanFactor
>>> y.getBean(AbstractBeanFactory.java:202)
>>>     at org.springframework.context.annotation.CommonAnnotationBeanP
>>> ostProcessor.autowireResource(CommonAnnotationBeanPostProces
>>> sor.java:522)
>>>     at org.springframework.context.annotation.CommonAnnotationBeanP
>>> ostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:496)
>>>     at org.springframework.context.annotation.CommonAnnotationBeanP
>>> ostProcessor$ResourceElement.getResourceToInject(CommonAnnot
>>> ationBeanPostProcessor.java:627)
>>>     at org.springframework.beans.factory.annotation.InjectionMetada
>>> ta$InjectedElement.inject(InjectionMetadata.java:169)
>>>     at org.springframework.beans.factory.annotation.InjectionMetada
>>> ta.inject(InjectionMetadata.java:88)
>>>     at org.springframework.context.annotation.CommonAnnotationBeanP
>>> ostProcessor.postProcessPropertyValues(Comm
>>> onAnnotationBeanPostProcessor.java:318)
>>>     ... 80 more
>>> Caused by: org.springframework.beans.factory.BeanCreationException:
>>> Error creating bean with name 'encryptionPassword' defined in URL
>>> [jar:file:/usr/local/Cellar/tomcat/9.0.10/libexec/webapps/RO
>>> OT/WEB-INF/lib/dhis-support-hibernate-2.27.jar!/META-INF/dhis/beans.xml]:
>>> Cannot resolve reference to bean 'hibernateConfigurationProvider' while
>>> setting bean property 'hibernateConfigurationProvider'; nested
>>> exception is org.springframework.beans.factory.BeanCreationException:
>>> Error creating bean with name 'hibernateConfigurationProvider':
>>> Invocation of init method failed; nested exception is
>>> java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
>>>     at org.springframework.beans.factory.support.BeanDefinitionValu
>>> eResolver.resolveReference(BeanDefinitionValueResolver.java:359)
>>>     at org.springframework.beans.factory.support.BeanDefinitionValu
>>> eResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
>>>     at org.springframework.beans.factory.support.AbstractAutowireCa
>>> pableBeanFactory.applyPropertyValues(AbstractAu
>>> towireCapableBeanFactory.java:1531)
>>>     at org.springframework.beans.factory.support.AbstractAutowireCa
>>> pableBeanFactory.populateBean(AbstractAutowireCapableBeanFac
>>> tory.java:1276)
>>>     at org.springframework.beans.factory.support.AbstractAutowireCa
>>> pableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFac
>>> tory.java:553)
>>>     at org.springframework.beans.factory.support.AbstractAutowireCa
>>> pableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
>>>     at org.springframework.beans.factory.support.AbstractBeanFactor
>>> y$1.getObject(AbstractBeanFactory.java:306)
>>>     at org.springframework.beans.factory.support.DefaultSingletonBe
>>> anRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
>>>     at org.springframework.beans.factory.support.AbstractBeanFactor
>>> y.doGetBean(AbstractBeanFactory.java:302)
>>>     at org.springframework.beans.factory.support.AbstractBeanFactor
>>> y.getBean(AbstractBeanFactory.java:197)
>>>     at org.springframework.beans.factory.support.BeanDefinitionValu
>>> eResolver.resolveReference(BeanDefinitionValueResolver.java:351)
>>>     ... 95 more
>>> Caused by: org.springframework.beans.factory.BeanCreationException:
>>> Error creating bean with name 'hibernateConfigurationProvider':
>>> Invocation of init method failed; nested exception is
>>> java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
>>>     at org.springframework.beans.factory.annotation.InitDestroyAnno
>>> tationBeanPostProcessor.postProcessBeforeInitialization(Init
>>> DestroyAnnotationBeanPostProcessor.java:137)
>>>     at org.springframework.beans.factory.support.AbstractAutowireCa
>>> pableBeanFactory.applyBeanPostProcessorsBeforeInitialization
>>> (AbstractAutowireCapableBeanFactory.java:409)
>>>     at org.springframework.beans.factory.support.AbstractAutowireCa
>>> pableBeanFactory.initializeBean(AbstractAutowir
>>> eCapableBeanFactory.java:1620)
>>>     at org.springframework.beans.factory.support.AbstractAutowireCa
>>> pableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFac
>>> tory.java:555)
>>>     at org.springframework.beans.factory.support.AbstractAutowireCa
>>> pableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
>>>     at org.springframework.beans.factory.support.AbstractBeanFactor
>>> y$1.getObject(AbstractBeanFactory.java:306)
>>>     at org.springframework.beans.factory.support.DefaultSingletonBe
>>> anRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
>>>     at org.springframework.beans.factory.support.AbstractBeanFactor
>>> y.doGetBean(AbstractBeanFactory.java:302)
>>>     at org.springframework.beans.factory.support.AbstractBeanFactor
>>> y.getBean(AbstractBeanFactory.java:197)
>>>     at org.springframework.beans.factory.support.BeanDefinitionValu
>>> eResolver.resolveReference(BeanDefinitionValueResolver.java:351)
>>>     ... 105 more
>>> Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
>>>     at org.hibernate.boot.spi.XmlMappingBinderAccess.<init>(XmlMapp
>>> ingBinderAccess.java:43)
>>>     at org.hibernate.boot.MetadataSources.<init>(MetadataSources.
>>> java:87)
>>>     at org.hibernate.cfg.Configuration.<init>(Configuration.java:124)
>>>     at org.hibernate.cfg.Configuration.<init>(Configuration.java:119)
>>>     at org.hisp.dhis.hibernate.DefaultHibernateConfigurationProvide
>>> r.init(DefaultHibernateConfigurationProvider.java:116)
>>>     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
>>> Method)
>>>     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invo
>>> ke(NativeMethodAccessorImpl.java:62)
>>>     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.
>>> invoke(DelegatingMethodAccessorImpl.java:43)
>>>     at java.base/java.lang.reflect.Method.invoke(Method.java:564)
>>>     at org.springframework.beans.factory.annotation.InitDestroyAnno
>>> tationBeanPostProcessor$LifecycleElement.invoke(InitDe
>>> stroyAnnotationBeanPostProcessor.java:366)
>>>     at org.springframework.beans.factory.annotation.InitDestroyAnno
>>> tationBeanPostProcessor$LifecycleMetadata.invokeInitMe
>>> thods(InitDestroyAnnotationBeanPostProcessor.java:311)
>>>     at org.springframework.beans.factory.annotation.InitDestroyAnno
>>> tationBeanPostProcessor.postProcessBeforeInitialization(Init
>>> DestroyAnnotationBeanPostProcessor.java:134)
>>>     ... 114 more
>>> Caused by: java.lang.ClassNotFoundException:
>>> javax.xml.bind.JAXBException
>>>     at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(W
>>> ebappClassLoaderBase.java:1309)
>>>     at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(W
>>> ebappClassLoaderBase.java:1138)
>>>     ... 126 more
>>>
>>>
>>> thanks,
>>>
>>> Michael
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>

References