dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #51544
Re: Error when installing dhis2 on tomcat 9 and postgres 10.4
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.factory.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/ROOT/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/ROOT/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.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/ROOT/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/ROOT/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.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:588)
> at
> org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
> at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:366)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1264)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
> at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
> at
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
> at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
> at
> org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443)
> at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325)
> at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4643)
> at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5109)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:742)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.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(HostConfig.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.submit(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(HostConfig.java:308)
> at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
> at
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
> at
> org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
> at
> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:966)
> at
> org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:839)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1427)
> at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.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.submit(AbstractExecutorService.java:140)
> at
> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:943)
> at
> org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:258)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> at
> org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> at
> org.apache.catalina.core.StandardServer.startInternal(StandardServer.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.invoke(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/ROOT/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/ROOT/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.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:588)
> at
> org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
> at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:366)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1264)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
> at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
> at
> org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)
> at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.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/ROOT/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/ROOT/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.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:321)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1264)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
> at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
> at
> org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)
> at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.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/ROOT/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/ROOT/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.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
> at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1531)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1276)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
> at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
> at
> org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:522)
> at
> org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:496)
> at
> org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:627)
> at
> org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:169)
> at
> org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
> at
> org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.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/ROOT/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.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
> at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1531)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1276)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
> at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
> at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.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.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:137)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:409)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1620)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
> at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
> at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
> ... 105 more
> Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
> at
> org.hibernate.boot.spi.XmlMappingBinderAccess.<init>(XmlMappingBinderAccess.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.DefaultHibernateConfigurationProvider.init(DefaultHibernateConfigurationProvider.java:116)
> at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(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.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366)
> at
> org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:311)
> at
> org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:134)
> ... 114 more
> Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException
> at
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1309)
> at
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.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
>
Follow ups
References