问题
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:
- Right click on your Project Folder, then Properties
- Select Target Runtimes
- Once you select you will see the WebLogic version you have added for your project
- Just activate the checkbox and hit Apply
- 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