0 Replies Latest reply on Jun 3, 2014 10:53 AM by Amit Ger

    CXF error when deploying in Jboss EAP 6.1

    Amit Ger Newbie

      I am new to JBOSS and I am trying to deploy a WAR file. I get the following error when deploying the application. I get the following error:

       

      09:57:22,102 ERROR [org.springframework.web.context.ContextLoader] (ServerService Thread Pool -- 83) Context initialization failed: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:META-INF/cxf/cxf.xml]

      Offending resource: ServletContext resource [/WEB-INF/cxf.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [META-INF/cxf/cxf.xml]; nested exception is java.io.FileNotFoundException: class path resource [META-INF/cxf/cxf.xml] cannot be opened because it does not exist

        at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68) [spring-beans.jar:3.0.7.RELEASE]

       

      How do I get rid of this error? I have attached the  jboss-deployment-structure.xml file.