如何解决错误“未指定运行时".WLS Web服务项目要求为大多数工具提供运行时.发布项目时? [英] How to resolve error "No runtime specified. WLS Web Service projects require a runtime to be present for most tooling." when publishing my project?
问题描述
我花了一天的时间来解决此问题,终于找到了解决方案.由于Google对于该Eclipse错误没有任何答案,因此我考虑将其提供给所有人.
I spend one day trying to fix this issue, and finally found a solution. As Google doesn't have any answer for this Eclipse error, I thought of putting this for everyone.
问题:当我尝试通过Eclipse发布项目时,出现以下错误消息:
Issue: When I try to publish project via eclipse, I'm getting this error message:
未指定运行时.WLS Web服务项目要求大多数工具都需要一个运行时.
No runtime specified. WLS Web Service projects require a runtime to be present for most tooling.
如何解决这个问题?
推荐答案
(版权归Akshay最初在其问题中发布了此解决方案.)
如果您的目标运行时未设置为您使用的Weblogic版本,则会出现此错误消息.
This error message appears if your target runtime is not set to the Weblogic version you are using.
修复非常简单,只需执行以下步骤:
The fix is pretty simple, just follow these steps:
- 右键单击您的项目文件夹,然后单击属性
- 选择目标运行时间
- 选择后,您将看到为项目添加的WebLogic版本
- 只需激活复选框并点击应用
- 完成-您的错误应该消失了
这篇关于如何解决错误“未指定运行时".WLS Web服务项目要求为大多数工具提供运行时.发布项目时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!