在工作流程管理中,有一个Task类的接口,如果我想创建一个方法List<Task> query(String),然后发布为WebService,在jdk1.6里面直接注解为@WebService,然后通过publish方法发布,但是终端报错:org.jbpm.api.Task is an interface, and JAXB can't handle interfaces.
this problem is related to the following location:不知道怎样灵活处理比较好??