Unable to build Hibernate SessionFactory with GlassFish 5

Description

When trying to deploy an application containing Hibernate OGM with Mongo in Glassfish 5 and presented the following error in both version 5.1 and 5.2 Alpha:

Environment

Ubuntu 16.04 LTS
GlassFish 5.0 (build 25)
OpenJDK Runtime Environment (build 1.8.0_131-8u131 b11-2ubuntu1.16.04.3-b11)
Mavem 3.5.0

Status

Assignee

Unassigned

Reporter

Daniel Dias dos Santos

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Affects versions

Priority

Minor
Configure