GitHub user weizhouapache added a comment to the discussion: HTTP ERROR 503
Service Unavailable
When I run cloudstack-management 4.19.1.2 with java17, I got the following error
```
2024-11-06 14:47:42,582 WARN [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(main:null) (logid:) Failed to start module [system] due to: [Error creating
bean with name 'org.apache.cloudstack.spring.lifecycle.ConfigDepotLifeCycle#0':
Unsatisfied dependency expressed through field 'configDepotAdmin'; nested
exception is org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'configDepot': Unsatisfied dependency expressed
through field '_configDao'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'configurationDaoImpl' defined in URL
[jar:file:/usr/share/cloudstack-management/lib/cloud-client-ui-4.19.1.2.jar!/META-INF/cloudstack/system/spring-framework-config-system-context.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl]: Constructor
threw exce
ption; nested exception is java.lang.ExceptionInInitializerError].
2024-11-06 14:47:42,583 DEBUG [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(main:null) (logid:) module start failure of module [system] was due to:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name
'org.apache.cloudstack.spring.lifecycle.ConfigDepotLifeCycle#0': Unsatisfied
dependency expressed through field 'configDepotAdmin'; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'configDepot': Unsatisfied dependency expressed through
field '_configDao'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'configurationDaoImpl' defined in URL
[jar:file:/usr/share/cloudstack-management/lib/cloud-client-ui-4.19.1.2.jar!/META-INF/cloudstack/system/spring-framework-config-system-context.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl]: Constructor
threw exception; nested exception is java.lang.ExceptionInInitializerError
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:660)
```
GitHub link:
https://github.com/apache/cloudstack/discussions/9880#discussioncomment-11167665
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]