Unless I'm looking a the wrong example, I think the import shown in the code in the e-mail is incorrect and that the Item class he's looking for is the one from the services package which is defined in the ShoppingCart section of that getting started page. ________________________________________ From: Luciano Resende [[email protected]] Sent: Wednesday, September 16, 2009 7:43 PM To: [email protected] Subject: Re: Store example, where is Item class defined?
On Wed, Sep 16, 2009 at 7:34 PM, Phillips, Chad <[email protected]> wrote: > On that same page, scroll down to the ShoppingCart section where the Item > class is defined. > ________________________________________ > From: Brian Smith [[email protected]] > Sent: Wednesday, September 16, 2009 6:50 PM > To: [email protected] > Subject: Store example, where is Item class defined? > > Sorry, I'm missing something obvious here. > Following http://tuscany.apache.org/getting-started-with-tuscany.html: > > package services; > > import org.apache.tuscany.sca.data.collection.Item; > import org.osoa.sca.annotations.Remotable; > > @Remotable > public interface Catalog { > Item[] get(); > } > > ---> "Item cannot be resolved to a type". > > Please throw me a bone. > Thanks, > Brian > Did you setup the Tuscany library with all the Tuscany dependencies ? This Item is part of tuscany-data-api module. -- Luciano Resende http://people.apache.org/~lresende http://lresende.blogspot.com/
