Skip to content

Using ImageStream java:8#22

Open
xandradx wants to merge 1 commit intorh-openshift-ansible-better-together:masterfrom
xandradx:master
Open

Using ImageStream java:8#22
xandradx wants to merge 1 commit intorh-openshift-ansible-better-together:masterfrom
xandradx:master

Conversation

@xandradx
Copy link

on Java 9+ , the deployment for the app will fail because JAX-B is not present.

It will fail with the error:

2020-05-13 00:33:54.239 ERROR 1 --- [ main] o.s.boot.SpringApplication : Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException

on Java 9+ , the deployment for the app will fail because JAX-B is not present.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant