Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.26
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
the enunciate generated applicationContext.xml contains the following lines:
<import resource="classpath:META-INF/cxf/cxf.xml"/> <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/> <import resource="classpath:META-INF/cxf/cxf-extension-jaxrs-binding.xml"/>
which caused the following error.
Caused by: java.io.FileNotFoundException: class path resource [META-INF/cxf/cxf-extension-jaxrs-binding.xml] cannot be opened because it does not exist
Furthermore, as far as I can tell none of these cxf configuration file is actually being generated in the first place. It seems to me all we need are the cxf-jaxrs-servlet.xml and web.xml in WEB-INF.
AFAICT, you only need the first two lines in 2.6:
http://stackoverflow.com/questions/6349424/apache-cxf-rs-extensions-issue-in-2-4-0