我正在尝试将应用程序从 jboss 5.1 迁移到 7.1,并且出现类似此错误消息的错误,我不确定为什么会收到此消息。如果有人有任何想法,请帮助我。
更新:1
@Stateless
@Remote(PackageService.class)
@Interceptors(CrossContextSpringBeanAutowiringInterceptor.class)
@WebContext(contextRoot="/appname_web_services", urlPattern="/MaintenanceService", authMethod="", secureWSDLAccess=false)
@WebService(
name="MaintenanceService",
targetNamespace = "http://appname.com/web/services",
serviceName = "MaintenanceService")
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
@HandlerChain(file = "WebServiceHandlerChains.xml")
@TransactionTimeout(10800)
public class MaintenanceServiceBean implements MaintenanceService {
private static final Logger logger = Logger.getLogger( MaintenanceServiceBean.class );
@Resource(mappedName="/ConnectionFactory")
ConnectionFactory connectionFactory;
@Resource(mappedName="topic/manager_system_topic")
javax.jms.Destination systemTopic;
@Autowired
MaintenanceService MigrationService;
@WebMethod
public List<Long> getSoftDeletedPackageIds(Long performedBy) throws Exception {
return MigrationService.getSoftDeletedPackageIds(null);
}
这是我认为失败的课程。