Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions
demo.order.dao.ParamDao is an interface, and JAXB can't handle interfaces.
this problem is related to the following location:
at demo.order.dao.ParamDao
at private demo.order.dao.ParamDao demo.jaxrs.server.jaxws_asm.SetParamDao.arg0
at demo.jaxrs.server.jaxws_asm.SetParamDao
demo.order.dao.ParamDao does not have a no-arg default constructor.
this problem is related to the following location:
at demo.order.dao.ParamDao ....
private ParamDao paramDao;
@WebMethod(exclude = true)
public void setParamDao(ParamDao paramDao) {
this.paramDao = paramDao;
}