如何在WebLogic Server 12c中用EclipseLink 2.5替换EclipseLink 2.3.2 [英] How to replace EclipseLink 2.3.2 with EclipseLink 2.5 in WebLogic Server 12c

查看:80
本文介绍了如何在WebLogic Server 12c中用EclipseLink 2.5替换EclipseLink 2.3.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前试图在WebLogic Server 12c中运行Docx4j。 WebLogic Server 12c随附EclipseLink 2.3.2。

I currrently try to run Docx4j in WebLogic Server 12c. WebLogic Server 12c comes with EclipseLink 2.3.2.

有一个类似的帖子描述了不幸的是没有答案的情况。

There is a similar Post describing the situation which unfortunately yield no answer.

Docx4j不适用于EclipseLink 2.3.2的JAXB(MOXy)实现。我让Docx4j与EclipseLink 2.5独立运行。因此,我非常有信心将EclipseLink 2.5与Weblogic Server 12c一起使用可以解决Docx4j的问题。

Docx4j does not work with the JAXB (MOXy) implementation which is part of EclipseLink 2.3.2. I got Docx4j running standalone with EclipseLink 2.5. So I am very confident that using EclipseLink 2.5 with Weblogic Server 12c will solve the issue with Docx4j.

如何替换EclipseLink Vesion 2.3.2,WebLogic Server 12c是在EclipseLink 2.5版上运行?

How can I replace the EclipseLink Vesion 2.3.2 the WebLogic Server 12c is running on with EclipseLink Version 2.5?

推荐答案

Blaise在他的博客文章不适用于WebLogic 12c。使它正常工作的解决方案是通过显式定义所使用的库对application.xml进行较小更改:

The solution provided by Blaise in his Blogpost does not work with WebLogic 12c. The solution to get it working is a minor change to the application.xml by explicitly defining the used library:

<application>
  <display-name>EclipseLink 2.5 Shared Library</display-name>
    <module>
      <java>lib/eclipselink.jar</java>
  </module>
</application>

这篇关于如何在WebLogic Server 12c中用EclipseLink 2.5替换EclipseLink 2.3.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆