Skip to content

Error creating bean with name 'entityManagerFactory' #2

@damithnh

Description

@damithnh

Hi,
I cloned your application, created a new database called webservice, edited the application.properties file,
spring.datasource.username = user
spring.datasource.password = password
and tried to run the application. But i get this error. Could you please help me fix it?
Thank you

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions