activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaspa <jason.pant...@btinternet.com>
Subject Re: java.lang.NoSuchMethodError: org.apache.activemq.command.ConnectionInfo.isClientMaster()Z
Date Wed, 10 Oct 2007 14:03:45 GMT

Thanks for the explanation - I made the following change to the POM which
resolved the problem, but I have to admit it was more luck that judgement!
:-

        <dependency>
            <groupId>org.logicblaze.lingo</groupId> 
            <artifactId>lingo</artifactId> 
            <version>1.3</version> 
            <exclusions>
                <exclusion>
                    <groupId>incubator-activemq</groupId>
                    <artifactId>activemq-core</artifactId>
                </exclusion>
            </exclusions>
        </dependency>



SynapticFire wrote:
> 
> Lingo has a dependency on ActiveMQ 4.0.  As far as I can tell activemq 4.0
> does not have ConnectionInfo.isClientMaster().  Somehow through maven
> dependency resolution, the earlier ActiveMQ is higher in the chain than
> the declared version, thus it finds the older ConnectionInfo class with no
> isClientMaster method.
> I'm having the same problem and am trying to decide whether to recompile
> Lingo with ActiveMQ 4.1.1 or revert my project to ActiveMQ 4.0.
> -E
> 
> 
> jaspa wrote:
>> 
>> Hi,
>> 
>> 
>> Caused by: java.lang.NoSuchMethodError:
>> org.apache.activemq.command.ConnectionInfo.isClientMaster()Z
>> 
>> 
>> I am using:
>> <dependency>
>>   <groupId>org.apache.activemq</groupId>
>>   <artifactId>activemq-core</artifactId>
>>   <version>4.1.1</version>
>> </dependency>
>> <dependency>
>>   <groupId>javax.jms</groupId>
>>   <artifactId>jms</artifactId>
>>   <version>1.1</version>
>> </dependency>
>> <dependency>
>>   <groupId>org.logicblaze.lingo</groupId> 
>>   <artifactId>lingo</artifactId> 
>>   <version>1.3</version> 
>> </dependency>
>> <dependency>
>>   <groupId>org.springframework</groupId>
>>   <artifactId>spring</artifactId>
>>   <version>2.0</version>
>> </dependency>
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/java.lang.NoSuchMethodError%3A-org.apache.activemq.command.ConnectionInfo.isClientMaster%28%29Z-tf4568381s2354.html#a13136565
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message