Hi,

upgrade to latest JDK should fix, more discussion about this issue from [1]
[1]http://camel.465427.n5.nabble.com/Compile-Exception-2-8-1-td4884516.html
Freeman
On 2011-10-18, at 上午9:30, karafman wrote:

When building Camel 2.8.1, Camel-Core I get the following error:
[INFO] Compilation failure
/home/blue/workspace/camel-2.8.1/camel-core/src/main/java/org/apache/ camel/model/LoadBalanceDefinition.java:[134,16]
inconvertible types
found : org.apache.camel.model.ProcessorDefinition<capture#425 of ?>
required: org.apache.camel.model.LoadBalanceDefinition

This is my build configuration:
[blue@localhost camel-2.8.1]$ which mvn
~/Development/apache-maven-2.2.1/bin/mvn
[blue@localhost camel-2.8.1]$ mvn --version
Warning: JAVA_HOME environment variable is not set.
Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
Java version: 1.6.0_17
Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.32-71.29.1.el6.x86_64" arch: "amd64" Family:
"unix"

Any ideas what the problem might be?

--
View this message in context: 
http://camel.465427.n5.nabble.com/2-8-1-build-error-tp4912101p4912101.html
Sent from the Camel Development mailing list archive at Nabble.com.

---------------------------------------------
Freeman Fang

FuseSource
Email:ff...@fusesource.com
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com









Reply via email to