How to resolve error “No runtime specified. WLS Web Service projects require a runtime to be present for most tooling.” when publishing my project?

血红的双手。 提交于 2021-02-07 14:42:59

问题


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.

Issue: When I try to publish project via eclipse, I'm getting this error message:

No runtime specified. WLS Web Service projects require a runtime to be present for most tooling.

How to solve this problem?


回答1:


(Credits go to Akshay who originally posted this solution in his question.)

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. Right click on your Project Folder, then Properties
  2. Select Target Runtimes
  3. Once you select you will see the WebLogic version you have added for your project
  4. Just activate the checkbox and hit Apply
  5. Done - your error should be gone


来源:https://stackoverflow.com/questions/16652837/how-to-resolve-error-no-runtime-specified-wls-web-service-projects-require-a-r

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!