I'm getting this error when I'm trying to redeploy in Netbeans with GlassFish.
SEVERE: WS00034: Two web services are being deployed with the same endpoint URL
I'm not using two web services with the same endpoint URL so I don't know where this exception is coming from.
UPDATE: Also getting the following error:
SEVERE: Exception while shutting down application container : java.lang.NullPointerException
I'm only getting this error without any other errors or lines explaining why.
I found out what the problem was for me. Two method names were identical in two different classes.
In one class i had :
@WebMethod(operationName = "deleteRoute")
public void deleteRoute(@WebParam(name = "routeId") int routeId) {
}
and in the other i had :
@WebMethod(operationName = "deleteUser")
public void deleteRoute(@WebParam(name = "id") int id) {
}
I just renamed my second deleteRoute to deleteUser and it worked. But its kinda weird... i though WS would ignore the actual method, and only be interested in the operationName.
Appearantly, I got a vague nullpointerexception from weld import because I forgot to serialize my interceptor.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With