0
當發佈CXF的WebService來Glassfish4,我得到了以下錯誤消息:錯誤發佈CXF的WebService時Glassfish4
deploy is failing=Error occurred during deployment: Exception while deploying
the app [...] : The lifecycle method [close] must not throw a checked exception.
Related annotation information: annotation [@javax.annotation.PreDestroy()] on
annotated element
[public void org.apache.cxf.rs.security.saml.sso.AbstractSSOSpHandler.close()
throws java.io.IOException] of type [METHOD]. Please see server.log for more details.
版本:
- Apache的CXF-3.0.0-milestone1
- Glassfish的4.0
(我曾與在CXF-3.0.0分配中的AMQ-5.8.0庫相同的問題n,我通過更新到amq-5.9.0庫解決)
任何幫助表示讚賞。謝謝。