@Inject is located in tapestry5-annotations-5.1.0.5.jar steps i have in mind
1) have you run mvn eclipse:eclipse... it will add any maven dependency as external library. remove all entries except the JRE entry and the "Maven Dependencies" entry. 2) deactivate the maven offline mode and do a dependency update g, kris "Newham, Cameron" <cameron.new...@bl.uk> 15.07.2009 11:56 Bitte antworten an "Tapestry users" <users@tapestry.apache.org> An "Tapestry users" <users@tapestry.apache.org> Kopie Thema RE: t5: moving to 5.1.0.5 and can't find @Inject I actually have M2 already installed. I hadn't looked at the dependency feature in the editor - thanks Thiago. I now know tapestry-ioc-5.0.18.jar is being used by Chenillekit. However, I am still unable to locate: org.apache.tapestry5.ioc.annotations.Inject It just doesn't exist - anywhere! Could someone please tell me in which JAR file it is supposed to be? It isn't in tapestry-ioc-5.0.18.jar (which is the only version of tapestry-ioc-xxx that Maven is downloading) as far as I can see. I don't understand why moving to 5.1.0.5 has caused this problem nor do I understand why @Inject has disappeared as it obviously existed before; I've been quite happily using that annotation throughout my project! If it would help to show my project POM I can post it... Thanks. -----Original Message----- From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] Sent: 14 July 2009 14:58 To: Tapestry users Subject: Re: t5: moving to 5.1.0.4 and can't find @Inject Em Tue, 14 Jul 2009 10:19:49 -0300, Newham, Cameron <cameron.new...@bl.uk> escreveu: > If I don't include: > > <dependency> > <groupId>org.apache.tapestry</groupId> > <artifactId>tapestry-ioc</artifactId> > <version>${tapestry-release-version}</version> > </dependency> > > In the POM I get 5.1.0.5 for all jars *except* tapestry-ioc which always > downloads the 5.0.18 version /:-( This looks like some other package you're using depends on Tapestry-IoC 5.0.18. If you're using Eclipse, install the Sonatype's m2eclipse plugin. In its Maven pom.xml editor, it has a very nice feature that shows what dependencies are being included and by which dependency (transitive dependency). -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org ************************************************************************** Experience the British Library online at www.bl.uk The British Library's new interactive Annual Report and Accounts 2007/08 : www.bl.uk/knowledge Help the British Library conserve the world's knowledge. Adopt a Book. www.bl.uk/adoptabook The Library's St Pancras site is WiFi - enabled ************************************************************************* The information contained in this e-mail is confidential and may be legally privileged. It is intended for the addressee(s) only. If you are not the intended recipient, please delete this e-mail and notify the postmas...@bl.uk : The contents of this e-mail must not be disclosed or copied without the sender's consent. The statements and opinions expressed in this message are those of the author and do not necessarily reflect those of the British Library. The British Library does not take any responsibility for the views of the author. ************************************************************************* --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org