Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 907
Akshay Avatar asked Oct 04 '22 02:10

Akshay


1 Answers

(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
like image 179
2 revs Avatar answered Oct 23 '22 10:10

2 revs