Hi Max, Apparently it was on the classpath, but just after I added this line of code to the projected it stopped complaining about the missing class definition, and now, even after I deleted the print code it continue to run just fine =) I don't know why, but it solved my problem! Hehe
Thanks again, and if you want to see the print from the java.class.path, here it is: http://paste.ideaslabs.com/show/EKmKrlCsAX Felipe Quintella 2010/4/23 Max Ross (Google) <[email protected]<maxr%[email protected]> > > Hi Felipe, > > Can you print out the value of System.getProperty("java.class.path") while > the app is running and see if that jar is listed? > > On Fri, Apr 23, 2010 at 1:56 PM, Felipe Quintella Correia < > [email protected]> wrote: > >> Hello again. >> >> Well, unless I'm overseeing something, I'm pretty sure that the >> appengine-api-labs.jar is on my runtime classpath... >> I'm joining 2 printscreens to confirm (if it is allowed), but I think >> that's it... I have App Engine SDK 1.3.2 on my classpath, and the App Engine >> SDK has appengine-api-labs-1.3.2.jar in it. >> >> Sorry for the newbie question, but I am stuck on it. >> >> Thank you again, >> Felipe Quintella >> >> PS: if joined files are not allowed, check the screens on this 2 links: >> >> http://dl.dropbox.com/u/5958704/Screen%20shot%202010-04-23%20at%2017.50.11.png >> >> http://dl.dropbox.com/u/5958704/Screen%20shot%202010-04-23%20at%2017.50.28.png >> >> 2010/4/22 Felipe Quintella Correia <[email protected]> >> >> I'll be sure it's on the runtime classpath as soon as I am home. >>> >>> Thank you >>> Felipe Quintella >>> >>> >>> 2010/4/22 Max Ross (Google) >>> <[email protected]<maxr%[email protected]> >>> > >>> >>> Make sure appengine-api-labs.jar is on your runtime classpath. >>>> >>>> Max >>>> >>>> On Wed, Apr 21, 2010 at 9:00 PM, Felipe Quintella < >>>> [email protected]> wrote: >>>> >>>>> Hello there. >>>>> >>>>> I'm new to Google AppEngine, but I'm already searched and can't find >>>>> the answer to my problem. >>>>> >>>>> I am trying to add a task to the default taskqueue, but i keep getting >>>>> a NoClassDefFoundError with the QueueFactory class... >>>>> >>>>> I can't find what the problem is. I have App Engine SDK 1.3.2 added as >>>>> a library, and have imported the QueueFactory successfully... >>>>> >>>>> Maybe you can enlighten me. >>>>> >>>>> Looking forward to your answer, >>>>> Thank you. >>>>> >>>>> Felipe Quintella. >>>>> >>>>> >>>>> Error: >>>>> HTTP ERROR 500 >>>>> >>>>> Problem accessing /canalparser. Reason: >>>>> >>>>> com/google/appengine/api/labs/taskqueue/QueueFactory >>>>> >>>>> Caused by: >>>>> >>>>> java.lang.NoClassDefFoundError: com/google/appengine/api/labs/ >>>>> taskqueue/QueueFactory >>>>> at >>>>> braziltvguide.ParseCanaisServlet.doGet(ParseCanaisServlet.java: >>>>> 108) >>>>> >>>>> >>>>> >>>>> Part of the code with the problem: >>>>> import com.google.appengine.api.labs.taskqueue.Queue; >>>>> import com.google.appengine.api.labs.taskqueue.QueueFactory; >>>>> >>>>> >>>>> import static >>>>> com.google.appengine.api.labs.taskqueue.TaskOptions.Builder.*; >>>>> >>>>> if (req.getParameter("task") == null) { >>>>> Queue queue = >>>>> QueueFactory.getDefaultQueue(); >>>>> >>>>> >>>>> queue.add(url("/canalparser?tipo=getProgramas&task=1")); >>>>> } >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Google App Engine for Java" group. >>>>> To post to this group, send email to >>>>> [email protected]. >>>>> To unsubscribe from this group, send email to >>>>> [email protected]<google-appengine-java%[email protected]> >>>>> . >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/google-appengine-java?hl=en. >>>>> >>>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Google App Engine for Java" group. >>>> To post to this group, send email to >>>> [email protected]. >>>> To unsubscribe from this group, send email to >>>> [email protected]<google-appengine-java%[email protected]> >>>> . >>>> For more options, visit this group at >>>> http://groups.google.com/group/google-appengine-java?hl=en. >>>> >>> >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google App Engine for Java" group. >> To post to this group, send email to >> [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<google-appengine-java%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/google-appengine-java?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" 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/google-appengine-java?hl=en.
