Thanks Paul. This sample code works with no problems.
Cheers Elizabeth On Oct 7, 10:34 pm, "Paul (Google)" <[email protected]> wrote: > Hi Elizabeth, > > The exception might be the result of the reference to the "default" > servlet in web.xml, which may not be supported by all servlet > containers. I've placed an updated version of the example app in the > same SVN repository, which doesn't use the default servlet, has a more > standard file/directory structure, and requires fewer dependencies. > Otherwise, the code is the same. You can browse the app files at the > following location: > > https://code.google.com/p/googlehealthsamples/source/browse/#svn/trun... > > Good luck with your project! Definitely let us know how it goes! > > Paul (Google) > > On Oct 5, 1:42 am, Elizabeth McLeod <[email protected]> wrote:> I am > trying to run the Google Health API for Java sample application > > as I am a student hoping create a Google Health app as part of my > > final year project. I have followed the developer's guide and can run > > the Google Java API samples ok. > > > I am using NetBeans 6.9.1 with GlassFish 3.0.1. The health sample > > application compiles without errors and creates a .war file. But when > > I try to deploy this I get the following error message: > > > Error An error has occurred > > Exception while deploying the app : java.lang.RuntimeException: There > > is no web component by the name of default here. > > > I have also tried it using TomCat but this also doesn't work. Do you > > have any suggestions of what might be going wrong here? > > > Elizabeth -- You received this message because you are subscribed to the Google Groups "Google Health Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/googlehealthdevelopers?hl=en.
