[
https://issues.apache.org/jira/browse/CAMEL-12993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16718602#comment-16718602
]
ASF GitHub Bot commented on CAMEL-12993:
----------------------------------------
oscerd commented on issue #2667: CAMEL-12993: Have more informative message
from springboot itests exc…
URL: https://github.com/apache/camel/pull/2667#issuecomment-446503789
Thanks!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Have more informative message from springboot itests exceptions
> ---------------------------------------------------------------
>
> Key: CAMEL-12993
> URL: https://issues.apache.org/jira/browse/CAMEL-12993
> Project: Camel
> Issue Type: Improvement
> Components: tests
> Affects Versions: 2.23.0
> Reporter: Andrea Tarocchi
> Assignee: Andrea Tarocchi
> Priority: Major
>
> When I run a springboot integration test like:
> {code:bash}
> mvn clean test -Dtest=CamelJgroupsRaftTest
> {code}
> if something go wrong in dependency/classpath preparation I get a message
> like:
> {code:bash}
> org.apache.camel.itest.springboot.CamelJgroupsRaftTest Time elapsed: 76.079
> sec <<< ERROR!
> java.lang.RuntimeException: Could not invoke deployment method: public static
> org.jboss.shrinkwrap.api.Archive
> org.apache.camel.itest.springboot.CamelJgroupsRaftTest.createSpringBootPackage()
> throws java.lang.Exception
> at
> org.apache.camel.itest.springboot.CamelJgroupsRaftTest.createSpringBootPackage(CamelJgroupsRaftTest.java:32)
> {code}
> I would like a message more like this:
> {code:bash}
> org.apache.camel.itest.springboot.CamelJgroupsRaftTest Time elapsed: 70.174
> sec <<< ERROR!
> java.lang.RuntimeException: Could not invoke deployment method: public static
> org.jboss.shrinkwrap.api.Archive
> org.apache.camel.itest.springboot.CamelJgroupsRaftTest.createSpringBootPackage()
> throws java.lang.Exception
> at
> org.apache.camel.itest.springboot.CamelJgroupsRaftTest.createSpringBootPackage(CamelJgroupsRaftTest.java:32)
> Caused by: java.lang.RuntimeException:
> Library version mismatch found.
> Found mismatch for dependency org.jgroups:jgroups:
> - org.jgroups:jgroups-raft:jar: --> 0.4.2.Final
> - org.jgroups:jgroups:jar: --> 4.0.15.Final
> at
> org.apache.camel.itest.springboot.CamelJgroupsRaftTest.createSpringBootPackage(CamelJgroupsRaftTest.java:32)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)