将CXF Web服务发布到Glassfish 4时出错

时间:2014-01-27 20:48:11

标签: java web-services cxf glassfish-4

向Glassfish4发布CXF WebService时,收到以下错误消息:

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库相同的问题,我通过更新到amq-5.9.0库解决了这个问题)

感谢任何帮助。 THX。

1 个答案:

答案 0 :(得分:0)

此问题已得到修复。修复在3.0.0-milestone2内提供。

请参阅Apache JIRA问题CXF-5529