You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Nestor Urquiza <ne...@gmail.com> on 2012/04/30 04:26:18 UTC
duplicated classes in camel-core and camel-spring 2.9.2
Hello Camel team,
Not sure if this should be reported as a bug. After adding camel-spring I
had to ignore the below warnings:
[WARNING] Found duplicate classes in
[org.apache.camel:camel-core:2.9.2,org.apache.camel:camel-spring:2.9.2] :
[WARNING] org.apache.camel.component.test.TestComponent
[WARNING] org.apache.camel.component.test.TestEndpoint
[WARNING] org.apache.camel.component.validator.DefaultLSResourceResolver
[WARNING] org.apache.camel.component.validator.ValidatorComponent
[WARNING] org.apache.camel.component.xslt.XsltComponent
[WARNING] org.apache.camel.component.xslt.XsltConstants
[WARNING] org.apache.camel.component.xslt.XsltEndpoint
Thanks,
-Nestor
--
View this message in context: http://camel.465427.n5.nabble.com/duplicated-classes-in-camel-core-and-camel-spring-2-9-2-tp5674967p5674967.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: duplicated classes in camel-core and camel-spring 2.9.2
Posted by Claus Ibsen <cl...@gmail.com>.
On Mon, Apr 30, 2012 at 6:51 AM, Nestor Urquiza
<ne...@gmail.com> wrote:
> I use a plugin to automatically detect duplicated classes and that is why I
> found there is indeed an issue. You can see it yourself:
>
>
> nestor-nu:lib nestor$ jar tvf camel-core-2.9.2.jar | grep
> "org.apache.camel.component.test.TestEndpoint"
> 1272 Thu Apr 12 07:26:26 EDT 2012
> org/apache/camel/component/test/TestEndpoint$1.class
> 2410 Thu Apr 12 07:26:26 EDT 2012
> org/apache/camel/component/test/TestEndpoint.class
> nestor-nu:lib nestor$ jar tvf camel-spring-2.9.2.jar | grep
> "org.apache.camel.component.test.TestEndpoint"
> 1272 Thu Apr 12 07:26:26 EDT 2012
> org/apache/camel/component/test/TestEndpoint$1.class
> 2410 Thu Apr 12 07:26:26 EDT 2012
> org/apache/camel/component/test/TestEndpoint.class
>
Ah thanks.
The source code dont have these components. But we got bitten by the OSGi beast.
I have logged a ticket
https://issues.apache.org/jira/browse/CAMEL-5233
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/duplicated-classes-in-camel-core-and-camel-spring-2-9-2-tp5674967p5675072.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-----------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/
Re: duplicated classes in camel-core and camel-spring 2.9.2
Posted by Nestor Urquiza <ne...@gmail.com>.
I use a plugin to automatically detect duplicated classes and that is why I
found there is indeed an issue. You can see it yourself:
nestor-nu:lib nestor$ jar tvf camel-core-2.9.2.jar | grep
"org.apache.camel.component.test.TestEndpoint"
1272 Thu Apr 12 07:26:26 EDT 2012
org/apache/camel/component/test/TestEndpoint$1.class
2410 Thu Apr 12 07:26:26 EDT 2012
org/apache/camel/component/test/TestEndpoint.class
nestor-nu:lib nestor$ jar tvf camel-spring-2.9.2.jar | grep
"org.apache.camel.component.test.TestEndpoint"
1272 Thu Apr 12 07:26:26 EDT 2012
org/apache/camel/component/test/TestEndpoint$1.class
2410 Thu Apr 12 07:26:26 EDT 2012
org/apache/camel/component/test/TestEndpoint.class
--
View this message in context: http://camel.465427.n5.nabble.com/duplicated-classes-in-camel-core-and-camel-spring-2-9-2-tp5674967p5675072.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: duplicated classes in camel-core and camel-spring 2.9.2
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
Can you double check that your classpath do NOT contain mixed versions of Camel.
It sounds like that.
On Mon, Apr 30, 2012 at 4:26 AM, Nestor Urquiza
<ne...@gmail.com> wrote:
> Hello Camel team,
>
> Not sure if this should be reported as a bug. After adding camel-spring I
> had to ignore the below warnings:
>
> [WARNING] Found duplicate classes in
> [org.apache.camel:camel-core:2.9.2,org.apache.camel:camel-spring:2.9.2] :
> [WARNING] org.apache.camel.component.test.TestComponent
> [WARNING] org.apache.camel.component.test.TestEndpoint
> [WARNING] org.apache.camel.component.validator.DefaultLSResourceResolver
> [WARNING] org.apache.camel.component.validator.ValidatorComponent
> [WARNING] org.apache.camel.component.xslt.XsltComponent
> [WARNING] org.apache.camel.component.xslt.XsltConstants
> [WARNING] org.apache.camel.component.xslt.XsltEndpoint
>
> Thanks,
> -Nestor
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/duplicated-classes-in-camel-core-and-camel-spring-2-9-2-tp5674967p5674967.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-----------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/