JRE greater than 1.8 #631
In my real project I need to use at least Java 11 as the Eclipse Quickstart features have that as a minimum requirement. When I switch the
target to use an execution environment of JRE11 the products stop working as below.
Hibernate – complains about javax.xml.bind as a missing constraint. I added that bundle to the
feature.hibernatewithout resolving the missing constraint.
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit"> <repository location="https://download.eclipse.org/releases/2018-09"/> <unit id="javax.xml" version="0.0.0"/></location>
EclipseLink – fails with the exception below that indicates EclipseLink was unable to initialize. This is with the javax.xml.bind in the target and the feature.eclipse.
java.lang.IllegalArgumentException: No [EntityType] was found for the key class [com.vogella.jpa.model.Todo] in the Metamodel - please verify that the [Entity] class was referenced in persistence.xml using a specific <class>com.vogella.jpa.model.Todo</class> property or a global <exclude-unlisted-classes>false</exclude-unlisted-classes> element.
Can you provide updated configuration that will work with Java 11?
Please login to write a comment.