Re: Errors compiling JMS 0.7.7
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
I downloaded jms.jar from java.sun.com several times and renamed it to
jms-1.1.jar and put it on the maven repository.
No success.
The last time I downloaded Sun MessageQueue 3.5 and installed it on my PC.
I copied the jms.jar to the maven repository as jms-1.1.jar. BUILD
FAILED, exactly the same error
^
F:\DESARROLLO\OPENJMS\openjms\modules\jms\src\main\java\org\exolab\jms\client\Jm
sConnectionConsumer.java:148: cannot resolve symbol
symbol : method createSession (boolean,int)
location: interface javax.jms.Connection
_session = connection.createSession(false,
Session.CLIENT_ACKNOWLEDGE);
^
F:\DESARROLLO\OPENJMS\openjms\modules\jms\src\main\java\org\exolab\jms\client\Jm
sConnectionConsumer.java:150: cannot resolve symbol
symbol : method createConsumer
(javax.jms.Destination,java.lang.String,boolean
)
location: interface javax.jms.Session
_consumer = _session.createConsumer(destination, selector,
false);
^
F:\DESARROLLO\OPENJMS\openjms\modules\jms\src\main\java\org\exolab\jms\client\Jm
sConnectionConsumer.java:152: cannot resolve symbol
symbol : method createDurableSubscriber
(javax.jms.Topic,java.lang.String,java
.lang.String,boolean)
location: interface javax.jms.Session
_consumer = _session.createDurableSubscriber((Topic)
destination,
^
Tim Anderson wrote:
>The warnings are expected. The createSession() method was
>introduced in the JMS 1.1 API - make sure you have the
>correct jms-1.1.jar installed in your maven repository.
>
>-Tim
>
>
>
edi.sanchez.vcf
(text/x-vcard, 363 B)
begin:vcard fn:Edilberto Sanchez n:Sanchez;Edilberto org;quoted-printable:Asociaci=C3=B3n EURATOM-CIEMAT para Fusion;Laboratorio Nacional de Fusion adr:;;Avda. Complutense 22;Madrid;;28040;SPAIN email;internet:[email protected] tel;work:+34 91 346 63 17 x-mozilla-html:TRUE url:http://www-fusion.ciemat.es version:2.1 end:vcard