You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Bovas <bo...@gmail.com> on 2013/07/10 10:31:30 UTC
Camel Test Hierarchy is inconsistent
Hi everybody,
I use Camel 2.11, Java DSL.
I would like to use Camel Test, but I have a problem.
/import org.apache.camel.test.junit4.CamelTestSupport;
public class TestCamelProcess extends CamelTestSupport {
...}/
=> The hierarchy of TestCamelProcess is inconsistent.
The error is occur in the class - class x, x inherits y, and in turn, y
inherits z. However, the compiler cannot resolve z, because z is belong to a
library that is not included.
I have include camel-test-2.11.0.jar
I forgot some imports?
-----
regards,
Bovas
--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Test-Hierarchy-is-inconsistent-tp5735413.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Camel Test Hierarchy is inconsistent
Posted by Christian Müller <ch...@gmail.com>.
cmueller$ mvn dependency:tree
[INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Camel :: Test 2.11.0
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.6:tree (default-cli) @ camel-test ---
[INFO] org.apache.camel:camel-test:bundle:2.11.0
[INFO] +- org.apache.camel:camel-core:jar:2.11.0:compile
[INFO] | \- org.slf4j:slf4j-api:jar:1.6.6:compile (version managed from
1.6.6)
[INFO] +- junit:junit:jar:4.11:compile
[INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:compile
[INFO] \- org.slf4j:slf4j-log4j12:jar:1.7.5:test
[INFO] \- log4j:log4j:jar:1.2.17:test (version managed from 1.2.17)
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1.771s
[INFO] Finished at: Thu Jul 11 23:00:07 CEST 2013
[INFO] Final Memory: 9M/81M
[INFO]
------------------------------------------------------------------------
Best,
Christian
-----------------
Software Integration Specialist
Apache Camel committer: https://camel.apache.org/team
V.P. Apache Camel: https://www.apache.org/foundation/
Apache Member: https://www.apache.org/foundation/members.html
https://www.linkedin.com/pub/christian-mueller/11/551/642
On Wed, Jul 10, 2013 at 10:31 AM, Bovas <bo...@gmail.com> wrote:
> Hi everybody,
>
> I use Camel 2.11, Java DSL.
> I would like to use Camel Test, but I have a problem.
>
> /import org.apache.camel.test.junit4.CamelTestSupport;
>
> public class TestCamelProcess extends CamelTestSupport {
> ...}/
>
> => The hierarchy of TestCamelProcess is inconsistent.
> The error is occur in the class - class x, x inherits y, and in turn, y
> inherits z. However, the compiler cannot resolve z, because z is belong to
> a
> library that is not included.
>
> I have include camel-test-2.11.0.jar
> I forgot some imports?
>
>
>
>
> -----
> regards,
> Bovas
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-Test-Hierarchy-is-inconsistent-tp5735413.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>