[ 
https://issues.apache.org/activemq/browse/CAMEL-884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45600#action_45600
 ] 

Willem Jiang commented on CAMEL-884:
------------------------------------

Hi Pawel,

I just checked your pom.xml, you add some cxf modules which will introduce the 
Spring modules 2.0.8 dependencies.
You can specify the Spring modules dependencies in your pom like this , if you 
don't want to remove the cxf additional modules. 
{code}
   <dependency>
       <groupId>org.springframework</groupId>
       <artifactId>spring-core</artifactId>
       <version>${spring-version}</version>
    </dependency>

    <dependency>
       <groupId>org.springframework</groupId>
       <artifactId>spring-beans</artifactId>
       <version>${spring-version}</version>
     </dependency>

    <dependency>
       <groupId>org.springframework</groupId>
       <artifactId>spring-context</artifactId>
       <version>${spring-version}</version>
     </dependency>

    <dependency>
       <groupId>org.springframework</groupId>
       <artifactId>spring-web</artifactId>
       <version>${spring-version}</version>
     </dependency>
{code}

Please let me know if you have any further questions.

Willem

> exception when cxf-codegen and camel used in the same maven project
> -------------------------------------------------------------------
>
>                 Key: CAMEL-884
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-884
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 1.4.0
>         Environment: Maven version: 2.0.9
> Java version: 1.5.0_15
> OS name: "linux" version: "2.6.24-19-generic" arch: "i386" Family: "unix"
>            Reporter: Pawel Jasinski
>            Priority: Minor
>         Attachments: exception.log, pom.xml, pom.xml.nocamel
>
>
> the exception (WARNING level) comes in the project where camel and cxf are 
> together.
> When the camel references are removed, the exception disappear.
> The actual stubs are generated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to