I am running IntelliJ 12.1 for a GWT project. I can't get the GWT configuration to work, I keep getting a serializable exception.
I also use maven and tomcat and run the maven web application project. For instance. I create a project / webapp in the target directory and run tomcat from this directory.
Error:
java.lang.RuntimeException: com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: The response could not be deserialized
Here are my settings for configuring GWT:
-noserver -port 8080 -logLevel DEBUG -war /Users/bbrown/Projects/src/web/target/my-13.06.04-SNAPSHOT -startupUrl http://127.0.0.1:8080/home.html
Ironically, if I run remote debugging, for example:
mvn gwt: debug -Dgwt.noserver = true
And then run remote debugging from IntelliJ (not using GWT mode), I don't get a serialization error.
The class itself is a simple enumeration. I make a simple rpc service call and on the first call, I get the error above:
public enum Status implements Serializable, IsSerializable { Running, Disabled }
I tried to clear all the cache files I could find and the destination directory, but I still get the same error.
How to start IntelliJ GWT Configuration without getting this error?
Work with: Mac10.7, Chrome, Tomcat7, IntelliJ12.1, gwt2.5.1