Uwe created TOMEE-1994:
--------------------------
Summary: Outdated serp version: Entites with Java 8 features not
mapped
Key: TOMEE-1994
URL: https://issues.apache.org/jira/browse/TOMEE-1994
Project: TomEE
Issue Type: Bug
Components: TomEE Core Server
Affects Versions: 7.0.2
Reporter: Uwe
Long story short: To fix, upgrade to newest serp-1.15.1 which supports Java 8;
the one packaged with TomEE 7.0.2 (1.14.1) only supports Java 7.
I run TomEE Plus 7.0.2 on Java 8.
One of my entity classes uses Java 8 Lambdas. When I deploy the application,
TomEE will map all entities except for the one that contains lambdas. There's
an exception from the serp library that it can't read the class in question,
but TomEE seems to continue anyway. At runtime, the EntityManager does not
recognize the entity.
Replacing serp-1.14.1.jar with serp-1.15.1.jar in ${catalina}/lib fixes the
problem - I suggest an upgrade to the new serp version in the next TomEE
release.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)