activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omoumen <omou...@micropole-univers.com>
Subject Re: Spring2.0 and ActiveMQ4.1.0
Date Tue, 10 Mar 2009 08:24:16 GMT

Hi Bruce,
I have geronimo-j2ee-management_1.0_spec-1.0.jar, if I remove it by the
geronimo-jms_1.1_spec-1.1.jar I have an error classnofound, so I chenged the
version of my jar to a version 1.0.1 (the higher version), with this change
I have also the same error NoSuchMethodError.
I'm sure that is the conflict og the jar. I'll attached my list of APIs in
the classpath.
thank you beforehand.
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
	<classpathentry kind="var"
path="PARCOURS_LIB_PATH/activeio-core-3.0.0-incubator.jar"/>
	<classpathentry kind="var"
path="PARCOURS_LIB_PATH/activemq-core-4.1.0-incubator.jar"/>
	<classpathentry kind="var"
path="PARCOURS_LIB_PATH/backport-util-concurrent-2.1.jar"/>
	<classpathentry kind="var"
path="PARCOURS_LIB_PATH/commons-collections-3.2.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/quartz-all-1.6.0.jar"/>
	<classpathentry kind="src" path="Parcours Visualisation"/>
	<classpathentry kind="src" path="webapp/WEB-INF/conf"/>
	<classpathentry kind="src" path="Parcours Programme"/>
	<classpathentry kind="src" path="Parcours Editions"/>
	<classpathentry kind="src" path="Parcours Dossier"/>
	<classpathentry kind="src" path="Parcours Analyse"/>
	<classpathentry kind="src" path="Parcours Dude"/>
	<classpathentry kind="src" path="Parcours Entreprise"/>
	<classpathentry kind="src" path="Outil"/>
	<classpathentry kind="src" path="Parcours Communication"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/ojdbc14.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/JakartaRegExp.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/SOAP.jar"/>
	<classpathentry kind="var"
path="PARCOURS_LIB_PATH/StrutsValidatorOfficiel1.0.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/activation.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/axis-ant.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/axis.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/bsf.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/carif.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/commons-discovery.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/commons-logging.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/crimson.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/dpext40.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/jaxp.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/jaxrpc.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/jcert.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/jdom.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/jhsal.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/jndi.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/jnet.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/jsse.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/mail.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/mistyles40.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/mxtj40.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/raster40.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/wsdl4j.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/dom4j-1.4.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/commons-lang-2.0.jar"/>
	<classpathentry kind="lib" path="/Parcours
Lib/webapp/WEB-INF/lib/cecore.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/cesession.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/cecore.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/celib.jar"/>
	<classpathentry kind="var" path="TOMCAT_HOME/lib/servlet-api.jar"/>
	<classpathentry kind="src" path="/Parcours Commun"/>
	<classpathentry kind="src" path="/Parcours Socle Technique"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/weblogic_81sp6.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/log4j-1.2.11.jar"/>
	<classpathentry combineaccessrules="false" kind="src" path="/Parcours Mule
Client"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/xbean-spring-2.7.jar"/>
	<classpathentry kind="var" path="TOMCAT_HOME/lib/commons-beanutils.jar"/>
	<classpathentry kind="var" path="TOMCAT_HOME/lib/commons-digester.jar"/>
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
	<classpathentry kind="lib" path="/Parcours
Lib/webapp/WEB-INF/lib/poi-3.1-FINAL-20080629.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/saaj.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/xstream-1.2.1.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/commons-pool-1.2.jar"/>
	<classpathentry kind="var"
path="PARCOURS_LIB_PATH/activemq-core-5.2.0.jar"/>
	<classpathentry kind="var" path="PARCOURS_LIB_PATH/spring.jar"/>
	<classpathentry kind="var"
path="PARCOURS_LIB_PATH/geronimo-j2ee-management_1.1_spec-1.0.1.jar"/>
	<classpathentry kind="output" path="webapp/WEB-INF/classes"/>
</classpath>



bsnyder wrote:
> 
> On Mon, Mar 9, 2009 at 10:42 AM, omoumen <omoumen@micropole-univers.com>
> wrote:
>>
>> Hi,
>> I have chenged the Spring configuration of my producer, and I was
>> implements
>> the PooledConnectionFactory classe.
>> My configuration is the folowing:
>> Spring 2.0
>> ActiveMQ4.1.0
>> Tomcat6.0
>> JDK 5.0.15
>> when the producer try to send the message I has the folowing error:
>> java.lang.NoSuchMethodError:
>> javax.jms.ConnectionFactory.createConnection()Ljavax/jms/Connection;
> 
> Do you have the JMS spec APIs in the classpath? You can download the
> necessary JAR here:
> 
> http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-jms_1.1_spec/1.1/geronimo-jms_1.1_spec-1.1.jar
> 
> Bruce
> -- 
> perl -e 'print
> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
> 
> Apache ActiveMQ - http://activemq.apache.org/
> Apache Camel - http://camel.apache.org/
> Apache ServiceMix - http://servicemix.apache.org/
> 
> Blog: http://bruceblog.org/
> 
> 

-- 
View this message in context: http://www.nabble.com/Spring2.0-and-ActiveMQ4.1.0-tp22413687p22429776.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Mime
View raw message