Hello, I wanted to try writing a simple application that enables the compilation of the code at runtime on the server-side. I wrote code, similar to this: http://trac.steller.info:8002/dev/browser/storage/trunk/webapp/src/main/java/info/steller/storage/servlet/GWTRuntimeCompilerServletContextListener.java?rev=42
In the EAR application lib I pass some small 'helloword' gwt module packed in the jar (with source of course), gwt-dev.jar, gwt- server.jar, gwt-servlet-deps.jar, and the gwt-user.jar . After lunching the application and call compiler I have the fallowing error: [#|2010-11-04T16:53:53.875+0100|INFO|glassfish3.0.1| javax.enterprise.system.std.com.sun.enterprise.v3.services.impl| _ThreadID=45;_ThreadName=Thread-1;| [ERROR] Errors in 'jar:file:/D:/ Projects/LynxSSC/out/artifacts/ear_ear_exploded/APP-INF/lib/gwt- user.jar!/com/google/gwt/resources/client/ClientBundle.java' [#|2010-11-04T16:53:53.875+0100|INFO|glassfish3.0.1| javax.enterprise.system.std.com.sun.enterprise.v3.services.impl| _ThreadID=45;_ThreadName=Thread-1;| [ERROR] Line 18: The import com.google.gwt.resources.ext.ResourceGeneratorType cannot be resolved [#|2010-11-04T16:53:53.875+0100|INFO|glassfish3.0.1| javax.enterprise.system.std.com.sun.enterprise.v3.services.impl| _ThreadID=45;_ThreadName=Thread-1;| [ERROR] Line 19: The import com.google.gwt.resources.rg.BundleResourceGenerator cannot be resolved [#|2010-11-04T16:53:53.875+0100|INFO|glassfish3.0.1| javax.enterprise.system.std.com.sun.enterprise.v3.services.impl| _ThreadID=45;_ThreadName=Thread-1;| [ERROR] Line 35: ResourceGeneratorType cannot be resolved to a type [#|2010-11-04T16:53:53.875+0100|INFO|glassfish3.0.1| javax.enterprise.system.std.com.sun.enterprise.v3.services.impl| _ThreadID=45;_ThreadName=Thread-1;| [ERROR] Line 35: The attribute value is undefined for the annotation type ResourceGeneratorType [#|2010-11-04T16:53:53.875+0100|INFO|glassfish3.0.1| javax.enterprise.system.std.com.sun.enterprise.v3.services.impl| _ThreadID=45;_ThreadName=Thread-1;| [ERROR] Line 35: BundleResourceGenerator cannot be resolved to a type [#|2010-11-04T16:53:54.109+0100|INFO|glassfish3.0.1| javax.enterprise.system.std.com.sun.enterprise.v3.services.impl| _ThreadID=45;_ThreadName=Thread-1;| [ERROR] Errors in 'jar:file:/D:/ Projects/LynxSSC/out/artifacts/ear_ear_exploded/APP-INF/lib/gwt- user.jar!/com/google/gwt/resources/client/TextResource.java' [#|2010-11-04T16:53:54.125+0100|INFO|glassfish3.0.1| javax.enterprise.system.std.com.sun.enterprise.v3.services.impl| _ThreadID=45;_ThreadName=Thread-1;| [ERROR] Line 18: The import com.google.gwt.resources.ext.DefaultExtensions cannot be resolved [#|2010-11-04T16:53:54.125+0100|INFO|glassfish3.0.1| javax.enterprise.system.std.com.sun.enterprise.v3.services.impl| _ThreadID=45;_ThreadName=Thread-1;| [ERROR] Line 19: The import com.google.gwt.resources.ext.ResourceGeneratorType cannot be resolved [#|2010-11-04T16:53:54.125+0100|INFO|glassfish3.0.1| javax.enterprise.system.std.com.sun.enterprise.v3.services.impl| _ThreadID=45;_ThreadName=Thread-1;| [ERROR] Line 20: The import com.google.gwt.resources.rg.TextResourceGenerator cannot be resolved [#|2010-11-04T16:53:54.125+0100|INFO|glassfish3.0.1| javax.enterprise.system.std.com.sun.enterprise.v3.services.impl| _ThreadID=45;_ThreadName=Thread-1;| [ERROR] Line 26: DefaultExtensions cannot be resolved to a type [#|2010-11-04T16:53:54.125+0100|INFO|glassfish3.0.1| javax.enterprise.system.std.com.sun.enterprise.v3.services.impl| _ThreadID=45;_ThreadName=Thread-1;| [ERROR] Line 26: The attribute value is undefined for the annotation type DefaultExtensions [#|2010-11-04T16:53:54.125+0100|INFO|glassfish3.0.1| javax.enterprise.system.std.com.sun.enterprise.v3.services.impl| _ThreadID=45;_ThreadName=Thread-1;| [ERROR] Line 27: ResourceGeneratorType cannot be resolved to a type [#|2010-11-04T16:53:54.125+0100|INFO|glassfish3.0.1| javax.enterprise.system.std.com.sun.enterprise.v3.services.impl| _ThreadID=45;_ThreadName=Thread-1;| [ERROR] Line 27: The attribute value is undefined for the annotation type ResourceGeneratorType [#|2010-11-04T16:53:54.125+0100|INFO|glassfish3.0.1| javax.enterprise.system.std.com.sun.enterprise.v3.services.impl| _ThreadID=45;_ThreadName=Thread-1;| [ERROR] Line 27: TextResourceGenerator cannot be resolved to a type [#|2010-11-04T16:53:55.296+0100|INFO|glassfish3.0.1| javax.enterprise.system.std.com.sun.enterprise.v3.services.impl| _ThreadID=45;_ThreadName=Thread-1;| [ERROR] Cannot proceed due to previous errors GWT 2.1, Glassfish 3.0.1. Any ideas ? -- 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.
