Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in GiftCard Demo #1038

Open
crivera opened this issue Mar 25, 2019 · 1 comment

Comments

Projects
None yet
3 participants
@crivera
Copy link

commented Mar 25, 2019

Hi

just downloaded the 4.1 version of the demo and tried running it. Axon Server starts without issues. Then when I run:

./mvnw spring-boot:run I get the following error: (running openjdk version "11.0.2" 2019-01-15)

[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.0.5.RELEASE:run (default-cli) on project giftcard-demo: An exception occurred while running. null: InvocationTargetException: 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 javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.MappingException: Could not get constructor for org.hibernate.persister.entity.SingleTableEntityPersister: Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer]: NullPointerException -> [Help 1]

Thanks
Chris

@abuijze

This comment has been minimized.

Copy link
Member

commented Mar 26, 2019

We'd have to look into it, but my guess is that the demo uses an older version of Spring Boot and Hibernate, which aren't JDK 11 compatible. (It's probably a JDK 9+ issue).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.