On Tuesday, August 20, 2013 1:17:19 PM UTC+2, Muhammad Bashir Al-Noimi 
wrote:
>
>  On 08/20/2013 07:38 AM, Alvin Reyes wrote:
>  
> It seems that you don't have the Servlet API on your classpath upon 
> compilation. If you're using Maven, make sure that you put the servlet api 
> dependency on the pom.xml with a scope = compile. This will include the 
> servlet api on compilation, but exclude it on the deployment. 
>
>  We need to exclude it, since Jetty (I assumed you are using Jetty here) 
> already has a servlet api.
>
> I'm not sure what do you mean, all the steps I've done is:
>  
>    1. apt-get install libgwt-dev-java libgwt-user-java eclipse 
>    eclipse-jdt ant
>    
>
OMG, they did package GWT as a .deb :'-(
That's version 2.4.0 released… God knows when (2.5.0 was released almost 
one year ago, and 2.5.1 in January or February this year, and we're aiming 
at a 2.6.0 by the end of the year).

>
>    1.  
>    2. Successfully installed eclipse plugin after adding repository path 
>    http://dl.google.com/eclipse/plugin/4.2  
>    3. Added GWT path /usr/share/java thought Preferences -> Google -> Web 
>    Toolkit 
>    4. Created the quick start tutorial then run it 
>
> So is there anything missing?!
>

You're not using Maven, so simply ignore what Alvin said about it.

It remains that one of your errors is that Eclipse cannot find 
javax.servlet.http.HttpServletResponse; this class is in gwt-dev.jar, is it 
in your build path?

I can't understand the other error, but it might be related to a class that 
cannot be found (I would expect it to fail earlier and with a better error 
message, but who knows…)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to