Hello, I'm actually working on a project GWT 1.7 with : -Eclipse Galileo -The mavengwt-plugin. -The RPC technology
I decided to upgrade my GWT from 1.7 to 2.0.3 and, after long research I deploy successfully my application. But when i'm launching it, I've a 404 error when I call the RPC. So I searched why, and I found a curious difference between my generated web.xml between 1.7 and 2.0.3 : On 1.7 I've my RPC url like this : <servlet> <servlet-name>***Impl/main/***.rpc</servlet-name> <servlet-class>***Impl</servlet-class> </servlet> On 2.0.3 the "/" is missing between my class and the module : <servlet> <servlet-name>***Implmain/***.rpc</servlet-name> <servlet-class>***Impl</servlet-class> </servlet> So I suspect my 404 error coming from this. Also, I had to change my maven-gwt-plugin from com.totsp.gwt 2.0- beta24 to org.codehaus.mojo 1.2. Does the mergewebxml responsible of this problem? Does anybody have a solution for me please? Thanks. Here is a part of my pom.xml : <groupId>org.codehaus.mojo</groupId> <artifactId>gwt-maven-plugin</artifactId> <version>1.2</version> <configuration> <webXml> ${basedir}/src/main/webapp/WEB-INF/web.xml </webXml> <logLevel>INFO</logLevel> <compileTargets> <value>dependencies</value> <value>login</value> <value>main</value> </compileTargets> <runTarget> main/index.html </runTarget> <style>OBFUSCATED</style> <noServer>false</noServer> <extraJvmArgs>-Xmx512m -Dgwt.nowarn.legacy.tools</extraJvmArgs> <webXmlServletPathAsIs>false</webXmlServletPathAsIs> <gwtVersion>${gwtVersion}</gwtVersion> <debugSuspend>true</debugSuspend> </configuration> <executions> <execution> <goals> <goal>mergewebxml</goal> <goal>compile</goal> </goals> </execution> </executions> -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.