You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by karafman <mv...@comcast.net> on 2011/10/18 03:30:12 UTC

2.8.1 build error

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&lt;capture#425 of ?&gt;
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.

Re: 2.8.1 build error

Posted by Mike Van <mv...@comcast.net>.
Freeman,

Thanks for linking the responses to my older question. I must have missed
the original response. :-)


Freeman-2 wrote:
> 
> 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&lt;capture#425  
>> of ?&gt;
>> 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:ffang@
> Web: fusesource.com
> Twitter: freemanfang
> Blog: http://freemanfang.blogspot.com
> 


-----
Mike Van  (All links open in new tabs)
Committer - Kalumet 
Atraxia Technologies 
NCI Inc 
Mike Van's Open Source Technologies Blog 
--
View this message in context: http://camel.465427.n5.nabble.com/2-8-1-build-error-tp4912101p4913755.html
Sent from the Camel Development mailing list archive at Nabble.com.

Re: 2.8.1 build error

Posted by Freeman Fang <fr...@gmail.com>.
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&lt;capture#425  
> of ?&gt;
> 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:ffang@fusesource.com
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com