1
我使用Glassfish 3.1.2和Eclipselink 2.4.1(至少我认为是这样!)和德比(来自Glassfish作为JTA资源)。Eclipselink JPARS例外“ECLIPSELINK_OXM_XML_KEY未找到”
当通过“XXXX:8080/myapp/persistence /”访问我的应用程序中的实体时,出现以下错误:请注意:“Eclipselink持久性服务”报告为2.3.2版本, ,也是我希望看到我的配置版本2.4.1(见下文)
任何想法
INFO: JTS5014: Recoverable JTS instance, serverId = [100]
INFO: [EL Info]: 2013-04-05 17:11:09.876--ServerSession(478107)--file:Server/glassfish3/glassfish/domains/domain1/eclipseApps/stats/WEB-INF/classes/_onLocal login successful
FINE: An Exception was thrown while creating a JAXBContext for persistence unit [onLocal]: [javax.xml.bind.JAXBException
- with linked exception:
[Exception [EclipseLink-50055] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.JAXBException
Exception Description: Error creating DynamicJAXBContext: ECLIPSELINK_OXM_XML_KEY not found in properties map, or map was null.]]
INFO: [EL Info]: 2013-04-05 17:11:10.191--ServerSession(478107)--file:Server/glassfish3/glassfish/domains/domain1/eclipseApps/tracktron_stats/WEB-INF/classes/_tracktronLocal logout successful
FINE: You are requesting types [[*/*]] from JPA RS.
FINE: exception_marshalling_persitence_unit (There is no English translation for this message.)