Sun Java System Application Server Platform Edition 9 Release Notes

You cannot list MappedSuperclass explicitly using class element in persistence.xml.

For more information, see https://glassfish.dev.java.net/issues/show_bug.cgi?id=558.

Solution

Do not list MappedSuperclass explicitly.