How to fix “org.eclipse.jst.ws.util.JspUtils cannot be resolved to a type” Error in Eclipse?

While creating sample WSDL in Eclipse and Generating Java Client I faced below issue. Here is a tutorial: http://crunchify.com/create-sample-wsdl-in-eclipse-and-generate-client/

org.eclipse.jst .ws .util .JspUtils Error How to fix org.eclipse.jst.ws.util.JspUtils cannot be resolved to a type Error in Eclipse?

JSP error org.eclipse.jst .ws .util .JspUtils How to fix org.eclipse.jst.ws.util.JspUtils cannot be resolved to a type Error in Eclipse?

This might be the reason for missing loaded webserviceutils.jar in your Java Project.

If your project is Maven Project then add below as dependency to your pom.xml file:

For Standalone project follow below steps to fix this error.

Step 1.

Right click on project -> Click Properties.

Step 2.

Click on Java Build Path.

Step 3.

Click on Libraries.

Right click on project then add Jar file How to fix org.eclipse.jst.ws.util.JspUtils cannot be resolved to a type Error in Eclipse?

Step 4.

Add webserviceutils.jar. You could download it here.

Add jar to library How to fix org.eclipse.jst.ws.util.JspUtils cannot be resolved to a type Error in Eclipse?

Step 5.

Clean, Publish and Restart Tomcat.

Clean publish Tomcat and Restart How to fix org.eclipse.jst.ws.util.JspUtils cannot be resolved to a type Error in Eclipse?

Step 6.

Execute the same URL and see there shouldn’t be any error now.

Error Resolved How to fix org.eclipse.jst.ws.util.JspUtils cannot be resolved to a type Error in Eclipse?

Have anything to add to this article? Please chime in and join the conversion.
twitter How to fix org.eclipse.jst.ws.util.JspUtils cannot be resolved to a type Error in Eclipse?facebook How to fix org.eclipse.jst.ws.util.JspUtils cannot be resolved to a type Error in Eclipse?google How to fix org.eclipse.jst.ws.util.JspUtils cannot be resolved to a type Error in Eclipse?pinterest How to fix org.eclipse.jst.ws.util.JspUtils cannot be resolved to a type Error in Eclipse?tumblr How to fix org.eclipse.jst.ws.util.JspUtils cannot be resolved to a type Error in Eclipse?buffer How to fix org.eclipse.jst.ws.util.JspUtils cannot be resolved to a type Error in Eclipse?