1
的最後2個字,我試圖從JBoss的5.1應用程序遷移到7.1,我有這樣的Error message,我不知道爲什麼我得到這個錯誤。如果有人有任何想法,請幫助我。JBoss7.1 IllegalAnnotationExceptions
更新: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);
}
這是我認爲它失敗的類。
那麼到底在哪我要設置註釋,因爲我想要遷移的應用程序是不是我寫的,但我可以提供一些代碼示例,如果你想爲特定類,如果你可以從錯誤日誌中哪些類看你會需要。 –
請在你的問題中加入[SSCCE](http://sscce.org/)。 – Perception
我已經添加了失敗的類。 –