Error in Web Service Java SOAP in GlassFish

1

I have the following method in a SOAP Web Service running through GlassFish 4.1.1:

@WebService(serviceName = "CalculatorWS")
@Stateless()
public class CalculatorWS {

    @WebMethod(operationName = "add")
    public int add(@WebParam(name = "i") int i, @WebParam(name = "j") int j) {
        return i + j;
    }
}

When you try to run it, the following error is returned to me:

What should I do?

    
asked by anonymous 14.03.2017 / 11:40

0 answers