I have 2 project A and B. Project A dependency project B. Project B have a "ToggleableEntity" class and Project A have a "OrganizationalUnit" class

"OrganizationalUnit" class extend "ToggleableEntity" class. When I build with maven and using hibernate jpamodelgen to generate "OrganizationalUnit_" class then ToggleableEntity missed in "OrganizationalUnit_" class

The pom.xml file alt text

The result: alt text

The expected alt text

asked 21.02.2020 at 04:08

anhle's gravatar image

anhle
(suspended)
accept rate: 0%

edited 25.02.2020 at 02:20

the maven-compiler-plugin looks dated... 3.5.0 is quite old and very likely not able to handle java 11 correctly (which is a must and the default language level on ivy 8.0 LTS).

So to starts with, upgrade the maven-compiler-plugin: https://stackoverflow.com/a/51586202

There are indicator in the web, that also dependencies to annotations must be adjusted in order to comply with java 11: https://stackoverflow.com/questions/58217544/hibernate-jpamodelgen-5-4-6-final-fails-on-jdk11

(21.02.2020 at 08:35) Reguel Werme... ♦♦ Reguel%20Wermelinger's gravatar image

Hello Reguel Wermelinger. I used maven-compiler-plugin version 3.8.0 instead of version 3.5.0 But the maven has error as my question before. You can check link below: https://answers.axonivy.com/questions/4400/some-libraries-in-axon-ivy-libraries-can-not-find-when-build-with-maven

link

answered 23.02.2020 at 23:44

anhle's gravatar image

anhle
(suspended)
accept rate: 0%

edited 24.02.2020 at 02:22

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×22
×6

Asked: 21.02.2020 at 04:08

Seen: 3,134 times

Last updated: 25.02.2020 at 02:20