Looks like it is not finding basic things like the servlet api jar and htmlunit in the compile classpath. The tools checkout definitely in the right place and the env variable correct? This bit is bog standard Java so should compile fine. I think the documentation is just about compiling native code. So if you just want to fiddle with the compiler, runtime etc then you should be fine. I definitely had my own version of some of the widgets working fine on XP.
On Dec 14, 12:11 pm, Sunny <[email protected]> wrote: > oh really? i checked out the gwt trunk and run "ant" under it. the tool > folder is also checked out which sit beside the trunk folder. and i also > setup the GWT_TOOLS as system path. i google this group but find no topic > match exactly the same i met, below is output, thanks for your answer. > > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\GWTShellServlet.java:132: > cannot find symbol > [gwt.javac] symbol : class ServletException > [gwt.javac] location: class com.google.gwt.dev.shell.GWTShellServlet > [gwt.javac] throws ServletException, IOException { > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\GWTShellServlet.java:137: > cannot find symbol > [gwt.javac] symbol : class HttpServletRequest > [gwt.javac] location: class com.google.gwt.dev.shell.GWTShellServlet > [gwt.javac] protected void doPost(HttpServletRequest request, > HttpServletResponse response) > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\GWTShellServlet.java:137: > cannot find symbol > [gwt.javac] symbol : class HttpServletResponse > [gwt.javac] location: class com.google.gwt.dev.shell.GWTShellServlet > [gwt.javac] protected void doPost(HttpServletRequest request, > HttpServletResponse response) > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\GWTShellServlet.java:138: > cannot find symbol > [gwt.javac] symbol : class ServletException > [gwt.javac] location: class com.google.gwt.dev.shell.GWTShellServlet > [gwt.javac] throws ServletException, IOException { > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\GWTShellServlet.java:142: > cannot find symbol > [gwt.javac] symbol : class HttpServletRequest > [gwt.javac] location: class com.google.gwt.dev.shell.GWTShellServlet > [gwt.javac] protected void processFileRequest(HttpServletRequest request, > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\GWTShellServlet.java:143: > cannot find symbol > [gwt.javac] symbol : class HttpServletResponse > [gwt.javac] location: class com.google.gwt.dev.shell.GWTShellServlet > [gwt.javac] HttpServletResponse response) throws IOException { > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\GWTShellServlet.java:196: > cannot find symbol > [gwt.javac] symbol : class HttpServletRequest > [gwt.javac] location: class com.google.gwt.dev.shell.GWTShellServlet > [gwt.javac] protected void service(HttpServletRequest request, > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\GWTShellServlet.java:197: > cannot find symbol > [gwt.javac] symbol : class HttpServletResponse > [gwt.javac] location: class com.google.gwt.dev.shell.GWTShellServlet > [gwt.javac] HttpServletResponse response) throws ServletException, > IOException { > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\GWTShellServlet.java:197: > cannot find symbol > [gwt.javac] symbol : class ServletException > [gwt.javac] location: class com.google.gwt.dev.shell.GWTShellServlet > [gwt.javac] HttpServletResponse response) throws ServletException, > IOException { > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\GWTShellServlet.java:308: > cannot find symbol > [gwt.javac] symbol : class HttpServletRequest > [gwt.javac] location: class com.google.gwt.dev.shell.GWTShellServlet > [gwt.javac] private boolean autoGenerateResources(HttpServletRequest > request, > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\GWTShellServlet.java:309: > cannot find symbol > [gwt.javac] symbol : class HttpServletResponse > [gwt.javac] location: class com.google.gwt.dev.shell.GWTShellServlet > [gwt.javac] HttpServletResponse response, TreeLogger logger, String > partialPath, > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\GWTShellServlet.java:340: > cannot find symbol > [gwt.javac] symbol : class HttpServletRequest > [gwt.javac] location: class com.google.gwt.dev.shell.GWTShellServlet > [gwt.javac] private void doGetModule(HttpServletRequest request, > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\GWTShellServlet.java:341: > cannot find symbol > [gwt.javac] symbol : class HttpServletResponse > [gwt.javac] location: class com.google.gwt.dev.shell.GWTShellServlet > [gwt.javac] HttpServletResponse response, TreeLogger logger, > RequestParts parts) > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\GWTShellServlet.java:409: > cannot find symbol > [gwt.javac] symbol : class HttpServletRequest > [gwt.javac] location: class com.google.gwt.dev.shell.GWTShellServlet > [gwt.javac] private void doGetPublicFile(HttpServletRequest request, > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\GWTShellServlet.java:410: > cannot find symbol > [gwt.javac] symbol : class HttpServletResponse > [gwt.javac] location: class com.google.gwt.dev.shell.GWTShellServlet > [gwt.javac] HttpServletResponse response, TreeLogger logger, String > partialPath, > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\GWTShellServlet.java:630: > cannot find symbol > [gwt.javac] symbol : class HttpServletRequest > [gwt.javac] location: class com.google.gwt.dev.shell.GWTShellServlet > [gwt.javac] private Map<String, String[]> > getParameterMap(HttpServletRequest request) { > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\GWTShellServlet.java:807: > cannot find symbol > [gwt.javac] symbol : class HttpServletRequest > [gwt.javac] location: class com.google.gwt.dev.shell.GWTShellServlet > [gwt.javac] private boolean isNotModified(HttpServletRequest request, long > ageOfServerCopy) { > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\GWTShellServlet.java:859: > cannot find symbol > [gwt.javac] symbol : class HttpServletResponse > [gwt.javac] location: class com.google.gwt.dev.shell.GWTShellServlet > [gwt.javac] private void sendErrorResponse(HttpServletResponse response, > int statusCode, > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\GWTShellServlet.java:878: > cannot find symbol > [gwt.javac] symbol : class HttpServletResponse > [gwt.javac] location: class com.google.gwt.dev.shell.GWTShellServlet > [gwt.javac] private void setResponseCacheHeaders(HttpServletResponse > response, > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\GWTShellServlet.java:930: > cannot find symbol > [gwt.javac] symbol : class HttpServlet > [gwt.javac] location: class com.google.gwt.dev.shell.GWTShellServlet > [gwt.javac] private HttpServlet tryGetOrLoadServlet(TreeLogger logger, > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\GWTShellServlet.java:66: > cannot find symbol > [gwt.javac] symbol : class HttpServletRequest > [gwt.javac] location: class > com.google.gwt.dev.shell.GWTShellServlet.RequestParts > [gwt.javac] public RequestParts(HttpServletRequest request) > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\HostedModePluginObject.java:20: > package com.gargoylesoftware.htmlunit.javascript does not exist > [gwt.javac] import > com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine; > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\HostedModePluginObject.java:21: > package com.gargoylesoftware.htmlunit.javascript.host does not exist > [gwt.javac] import com.gargoylesoftware.htmlunit.javascript.host.Window; > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\HostedModePluginObject.java:22: > package com.gargoylesoftware.htmlunit.javascript.host does not exist > [gwt.javac] import > com.gargoylesoftware.htmlunit.javascript.host.WindowProxy; > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\HostedModePluginObject.java:24: > package net.sourceforge.htmlunit.corejs.javascript does not exist > [gwt.javac] import net.sourceforge.htmlunit.corejs.javascript.Context; > [gwt.javac] ^ > [gwt.javac] D:\sunguo\My > Documents\projects\gwt\google-web-tookit\dev\core\src\com\google\gwt\dev\sh > ell\HostedModePluginObject.java:25: > package ... > > read more » -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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-web-toolkit?hl=en.
