[ 
https://issues.apache.org/jira/browse/CXF-7422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16059282#comment-16059282
 ] 

Raghuram commented on CXF-7422:
-------------------------------

[~deki]
complete POM, I can't attach. I can paste the snippet where cxf related things 
are present. Hope this would give some insight to you:
<!---- Section 1 ---->
 <dependency>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-bundle</artifactId>
        <version>2.2.12</version> 
        <exclusions>
          <exclusion>
            <groupId>xerces</groupId>
            <artifactId>xercesImpl</artifactId>
          </exclusion>
        </exclusions>
    </dependency>

<!---- Section 2 ---->
      <plugin>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-codegen-plugin</artifactId>
            <version>2.2.7</version>
            <dependencies>
                <dependency>
                    <groupId>xerces</groupId>
                    <artifactId>xercesImpl</artifactId>
                    <version>2.8.1</version>
                </dependency>
            </dependencies>
            <executions>
            <execution>
                <id>mse-msap-client-code-gen</id>
                <phase>generate-sources</phase>
                <goals>
                  <goal>wsdl2java</goal>
                </goals>
                <configuration>
                    
<sourceRoot>${basedir}/target/generated-sources/axistools/wsdl2java</sourceRoot>
                    <wsdlOptions>
                        <wsdlOption>
                            <wsdl>${basedir}/src/main/wsdl/mse-msap.wsdl</wsdl>
                        </wsdlOption>
                    </wsdlOptions>
                </configuration>
            </execution>
            <execution>
                <id>mse-location-client-code-gen</id>
                <phase>generate-sources</phase>
                <goals>
                  <goal>wsdl2java</goal>
                </goals>
                <configuration>
                    
<sourceRoot>${basedir}/target/generated-sources/axistools/wsdl2java</sourceRoot>
                    <wsdlOptions>
                        <wsdlOption>
                            
<wsdl>${basedir}/src/main/wsdl/mse-location.wsdl</wsdl>
                        </wsdlOption>
                    </wsdlOptions>
                </configuration>
            </execution>
            <execution>
                <id>mse-common-client-code-gen</id>
                <phase>generate-sources</phase>
                <goals>
                  <goal>wsdl2java</goal>
                </goals>
                <configuration>
                    
<sourceRoot>${basedir}/target/generated-sources/axistools/wsdl2java</sourceRoot>
                    <wsdlOptions>
                        <wsdlOption>
                            <wsdl>${basedir}/src/main/wsdl/MseAdmin.wsdl</wsdl>
                        </wsdlOption>
                    </wsdlOptions>
                </configuration>
            </execution>
            <execution>
                <id>mse-proxy-client-code-gen</id>
                <phase>generate-sources</phase>
                <goals>
                  <goal>wsdl2java</goal>
                </goals>
                <configuration>
                    
<sourceRoot>${basedir}/target/generated-sources/axistools/wsdl2java</sourceRoot>
                    <wsdlOptions>
                        <wsdlOption>
                            
<wsdl>${basedir}/src/main/wsdl/mse-proxy-service.wsdl</wsdl>
                        </wsdlOption>
                    </wsdlOptions>
                </configuration>
            </execution>
            <execution>
                <id>mse-ha-client-code-gen</id>
                <phase>generate-sources</phase>
                <goals>
                  <goal>wsdl2java</goal>
                </goals>
                <configuration>
                    
<sourceRoot>${basedir}/target/generated-sources/axistools/wsdl2java</sourceRoot>
                    <wsdlOptions>
                        <wsdlOption>
                            <wsdl>${basedir}/src/main/wsdl/mse-ha.wsdl</wsdl>
                        </wsdlOption>
                    </wsdlOptions>
                </configuration>
            </execution>
            </executions>
          </plugin>

<!---- Section 3 ---->
        <dependency>
          <groupId>raghu.test</groupId>
          <artifactId>raghu_service</artifactId>
          <exclusions>
            <exclusion>
                  <artifactId>cxf-bundle-jaxrs</artifactId>
                  <groupId>org.apache.cxf</groupId>
              </exclusion>
          </exclusions>
      </dependency>


> Getting Bean Creation exception while building application
> ----------------------------------------------------------
>
>                 Key: CXF-7422
>                 URL: https://issues.apache.org/jira/browse/CXF-7422
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Raghuram
>             Fix For: NeedMoreInfo
>
>
> Getting the below exception while doing mvn clean install. Also, this 
> exception is printed many times which is also leading to StackOverflow 
> Exception.
> cxf-bundle version - 2.2.12
> org.springframework.beans.factory.BeanCreationException: 
> Error creating bean with name 'org.apache.cxf.binding.BindingFactoryManager' 
> defined in class path resource [META-INF/cxf/cxf.xml]: Cannot create inner 
> bean 'org.apache.cxf.configuration.spring.SpringBeanMap#ca65c63' of type 
> [org.apache.cxf.configuration.spring.SpringBeanMap] while setting bean 
> property 'mapProvider'; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'org.apache.cxf.configuration.spring.SpringBeanMap#ca65c63' defined 
> in class path resource [META-INF/cxf/cxf.xml]: Invocation of init method 
> failed; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean threw 
> exception on object creation; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean threw 
> exception on object creation; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean threw 
> exception on object creation; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean threw 
> exception on object creation; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean threw 
> exception on object creation; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean threw 
> exception on object creation; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean threw 
> exception on object creation; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to