在 weblogic 12C 本地服务器上部署的 Eclipse 和 Java 配置不起作用

Eclipse and Java Configuration to deploy on weblogic 12C local server not work

我已经在我的计算机上配置并 运行 一个 weblogic12C 服务器 (12.2.1.4.0),我正在使用 eclipe,其中我有一个 spring 启动应用程序 java 1.8.

我需要配置 ecplipse 以在我的本地 weblogic 服务器上进行部署和调试。

问题是当尝试在 Eclipse 中创建服务器并指出服务器将是什么、它的域和要部署的 WAR 时,wizzard 说“服务器不支持 4.0 版J2EE Web 模块规范。"

奇怪的是我的客户端有一个12C的weblogic服务器(12.2.1.3.0),我可以通过控制台(ip:7001 / console)毫无问题地部署到那里。

有什么想法吗?会不会是域配置的问题? 感谢您的回答!!

有些图片会说一千多个字:

Configuration server weblogic wizzard

Selecting the domain

Indicating that it is a local domain

When trying to move the resource, the wizard tells me that it is not compatible

Checking the domain settings, I don't see anything wrong

根据这份文件

https://docs.oracle.com/en/middleware/fusion-middleware/weblogic-server/12.2.1.4/wbapp/basics.html#GUID-62B6050D-6DD3-4028-B863-4CD0B5692E7F

WebLogic Server fully supports HTTP servlets as defined in the Servlet 3.1 specification at http://jcp.org/en/jsr/detail?id=340. HTTP servlets form an integral part of the Java EE standard.

您的 Eclipse 安装似乎正在尝试使用 Java EE 版本 4,Oracle Weblogic 12.2.1 不支持它。*

此外,我还找到了以下 post,我认为它可能对解决您的问题有用。

post 解释了 Servlet-API 4.0 版的问题以及如何配置您的 IDE 以使用 Oracle Weblogic 12.2.1 支持的版本。*