英文:
Eclipse and Java Configuration to deploy on weblogic 12C local server not work
问题
我已经配置并运行了一个位于我的计算机上的WebLogic 12C服务器(版本12.2.1.4.0),我正在使用Eclipse进行工作,我在其中有一个使用Java 1.8的Spring Boot应用程序。
我需要配置Eclipse以在我的本地WebLogic服务器上部署和调试。
问题在于,当我尝试在Eclipse中创建服务器并指定服务器、域和要部署的WAR文件时,向导显示“服务器不支持J2EE Web模块规范的4.0版本。”
奇怪的是,我的客户端有一个12C的WebLogic服务器(版本12.2.1.3.0),我可以通过控制台(IP:7001 / console)无问题地部署。
有任何想法吗?可能是域配置有问题吗?
感谢回答!!
一些图片胜过千言万语:
英文:
I have configured and running a weblogic12C server (12.2.1.4.0) on my computer, and I am working with eclipe, where I have a spring boot application with java 1.8.
I need to configure ecplipse to deploy and debug on my local weblogic server.
The problem is that when trying to create the server in Eclipse and indicate what the server will be, its domain and the WAR to deploy, the wizzard says "The server does not support version 4.0 of the J2EE Web module specification."
The strange thing is that my client has a 12C weblogic server (12.2.1.3.0) and I can deploy there without problems via console (ip: 7001 / console).
Any ideas? Will it be a problem with the domain configuration?
Grateful for the answers !!
Some images speak more than a thousand words:
> Configuration server weblogic wizzard
> Indicating that it is a local domain
> When trying to move the resource, the wizard tells me that it is not compatible
答案1
得分: 1
根据这份文档:
WebLogic Server完全支持HTTP servlet,其定义在Servlet 3.1规范中,链接为http://jcp.org/en/jsr/detail?id=340。HTTP servlet是Java EE标准的一个重要组成部分。
看起来您的Eclipse安装正在尝试使用Java EE版本4,而这不受Oracle Weblogic 12.2.1.*支持。
此外,我找到了下面的帖子,我认为它可能对解决您的问题有用:
这个帖子解释了Servlet-API版本4.0的问题以及如何配置您的IDE以使用Oracle Weblogic 12.2.1.*支持的版本。
英文:
According to this document
>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.
It looks like your Eclipse installation is trying to use Java EE version 4, which is not supported by Oracle Weblogic 12.2.1.*
Furthermore, I have found the below post, which I think could be useful to fix your issue.
That post explains the issue with Servlet-API version 4.0 and how to configure your IDE to use the version supported by Oracle Weblogic 12.2.1.*
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论