Nupur
Nupur

Reputation: 1

Error in implementation of Web Service in eclipse

When I am creating a web service in eclipse with tomcat as the server, I am getting this error:

IWAB0398E Error in generating WSDL from Java: java.lang.ClassNotFoundException: uk.ac.open.t320.Hello cannot be found by org.eclipse.jst.ws.axis.consumption.core_1.0.600.v201910301957.

This is my code-

package uk.ac.open.t320;

public class Hello {
    public String helloName(String name)
    {
        return "Hello there"+ name;
    }
}

Upvotes: 0

Views: 475

Answers (1)

沒人緣
沒人緣

Reputation: 11

Refer to this question:Error in generating WSDL from Java

Right click uk.ac.open.t320 -> Export->Jar file->export to /WEB-INF/lib

Upvotes: 1

Related Questions