Hi, The issue was because of guave.jar dependency jar file version. I have update to latest version. Now am able to upload the images to rackspace.
Thanks much your valuable time and help. /Vijay On Fri, Jul 5, 2013 at 7:12 PM, Everett Toews <[email protected]>wrote: > I suspect Ignasi's fix will solve your problem but the full stack trace > would also be a big help. > > Can you copy the text of the stack trace into a pastie [1] or gist [2] > and send us the link? > > Thanks, > Everett > > [1] http://pastie.org > [2] https://gist.github.com/ > > > On Jul 5, 2013, at 2:38 AM, Ignasi wrote: > > Hi Vijay, > > Could you share your pom.xml, to see which dependencies you have > configured? > Make sure you have declared the "cloudfiles-us" one: > > <dependency> > <groupId>org.apache.jclouds.provider</groupId> > <artifactId>cloudfiles-us</artifactId> > <version>1.6.1-incubating</version> > </dependency> > > On 5 July 2013 07:02, vijay v <[email protected]> wrote: > > Hi, > > > As per your suggestion, I have done the subscription and am sending the > > required information about my problem. > > > 1. Jclouds Version : 1.6.1-incubating > > 2. Java Version: 1.6..0_16 > > 3. OS : Windows XP > > 4. Problem: > > > Am not able to get the context builder object with provider name. This > is > > the same code am using to get the BlobStoreContext object. > > > BlobStoreContext context = ContextBuilder.newBuilder(" > > cloudfiles-us").credentials(username, > > apiKey).buildView(BlobStoreContext.class); > > > When i debugged this ContextBuilder object, I am getting > > NoSuchElementException in newBuilder method. > > > Am not sure is it because of Provider name what have gvien > *cloudfiles-us*. > > > I tried with GitHub sample code as well from eclipse. But got the same > > issues. > > > Please help me out. > > > /Thanks, > > Vijay > > >
