Facet 版本必须为 5.0 - 在 Websphere 中使用 Javassist

发布于 2024-08-03 03:22:43 字数 388 浏览 7 评论 0原文

我有一个正在尝试部署的 Websphere 6.1 EAR,当我将 javassist-3.4.GA.jar 添加到 EAR 时,当前收到以下消息。

企业应用程序项目 IntegrationEARProject 的 Facet 版本必须为 5.0 才能包含 Java EE 5.0 项目 lib //{path to file}/hibernate/R3_3_1/jars/javassist-3.4.GA.jar。

当前项目 Facet设置如下: EAR版本是1.4 Websphere 版本是 6.1

请注意,我们当前没有安装任何功能包,并且我没有安装功能包的选项。

有什么办法可以解决这个问题吗?我正在使用 java 1.5 进行编码。

非常感谢。

I have a Websphere 6.1 EAR that I am trying to deploy and I am currently getting the following message when I add javassist-3.4.GA.jar to the EAR.

Facet version for Enterprise Application project IntegrationEARProject must be 5.0 to contain Java EE 5.0 project lib //{path to file}/hibernate/R3_3_1/jars/javassist-3.4.GA.jar.

Currently the Project Facets are set as folows:
EAR version is 1.4
Websphere version is 6.1

Please note that we do not have any of the feature packs installed currently and I do not have the option to install the feature packs.

Is there anything that can be done to get around this issue? I am coding using java 1.5.

Thank you very much.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

一百个冬季 2024-08-10 03:22:43

为了解决这个问题,我继续下载源代码并自己构建项目。当我将构建的项目添加到 EAR 时,我没有遇到与 Javassist 网站上的 JAR 相同的问题。我已经测试了我在测试和 QA 区域中构建的 jar,迄今为止没有任何问题。

In order to get around the problem I went ahead and downloaded the source and built the project myself. When I added the project I built to the EAR I didn't encounter the same problems as the JAR from the Javassist web site. I have tested the jar I built in my test and QA regions without any problems to date.

叫嚣ゝ 2024-08-10 03:22:43

听起来您尝试使用的项目需要 Java EE 5,并且正如您所观察到的,没有功能包的 WAS 6.1 仅支持 J2EE 1.4,即使 Java SE 版本本身是 5。

我不清楚为什么 javaassist 关心哪个 Java EE它所使用的版本,或者是否有可以与 J2EE 1.4 一起使用的早期版本。

我担心您可能必须升级到 WAS 7,它确实支持 Java EE 5。

It sounds like the project you are trying to use needs Java EE 5, and as you observe WAS 6.1 without feature packs will only support J2EE 1.4 even though the Java SE version itself is 5.

I'm not clear why javaassist cares which Java EE version it's used with, or whether there might be an earlier version usable with J2EE 1.4.

I fear that you may have to move up to WAS 7, which does support Java EE 5.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文