Open ibonUrrutia opened 10 years ago
In the 1.0.3 version deployed just last week, I can see only gwt-servlet, and not the codeserver being deployed, so I don't think it is the plugin doing this. Could it be that you added these as runtime dependencies elsewhere in your BuildConfig.groovy?
Grails version = 2.3.5 Grails GWT Plugin version = 1.0 GWT version = 2.5.1 Apache Tomcat version = 7.0.39
I made a Grails-GWT application with three modules and this configuration in BuildConfig.groovy:
I didn't have any problem while developing it (using grails run-app works perfectly). But, after generating a war with :
I tried to deploy it in Tomcat, and the gwt plugin can't be loaded:
Looking at the generated war file it includes in WEB-INF/lib this three jars:
I thought that you only need gwt-servlet for deploying a GWT application. Looking at the Ivy dependencies, gwt-dev is included because gwt-codeserver depends on it. Am I wrong? Why is included gwt-codeserver? Is this a bug?
NOTE: I tried many times cleaning and refreshing dependencies so I don't think that is a problem of my environment. I'm pretty sure that the GWT plugin is adding those jars when calling grails war.
Thanks in advance.