如何解决错误“未指定运行时".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?

查看:65
本文介绍了如何解决错误“未指定运行时".WLS Web服务项目要求为大多数工具提供运行时.发布项目时?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我花了一天的时间来解决此问题,终于找到了解决方案.由于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:

  1. 右键单击您的项目文件夹,然后单击属性
  2. 选择目标运行时间
  3. 选择后,您将看到为项目添加的WebLogic版本
  4. 只需激活复选框并点击应用
  5. 完成-您的错误应该消失了

这篇关于如何解决错误“未指定运行时".WLS Web服务项目要求为大多数工具提供运行时.发布项目时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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