Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-1994

Outdated serp version: Entites with Java 8 features not mapped

    XMLWordPrintableJSON

Details

    • Dependency upgrade
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 7.0.2
    • 7.0.3
    • TomEE Core Server
    • None

    Description

      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.

      Attachments

        Activity

          People

            romain.manni-bucau Romain Manni-Bucau
            uwe_pachler Uwe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: