RE: Errors compiling JMS 0.7.7
"Tim Anderson" <[email protected]>
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <000401c5656f$aed188b0$bf7dfddc@xerces> |
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 > -----Original Message----- > From: openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > [mailto:openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf > Of [email protected] > Sent: Monday, 30 May 2005 8:24 PM > To: [email protected] > Subject: Re: [openjms-user] Errors compiling JMS 0.7.7 > > > > When trying to compile 0.7.7 version of JMS I got a number of warning > due to deprecated methods and also these errors: > > ========================================================== > F:\DESARROLLO\OPENJMS\openjms\modules\jms\src\main\java\org\ex > olab\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\ex > olab\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\ex > olab\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, > > ================================================= > > Any idea? > > Thanks > ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005