gwtのrename-to
gwtのrename-toでjsの吐き出し先を指定する。。みたいな動きしてますね。
sample.client.Main.java
>>
・rename-toで'main'を指定
main.main.nocache.js
・rename-to指定なし
sample.Main.sample.Main.nocache.js
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.3.0//EN" "http://google-web-toolkit.googlecode.com/svn/tags/2.3.0/distro-source/core/src/gwt-module.dtd"> <module rename-to='main'> <inherits name="com.google.gwt.user.User" /> <inherits name='org.slim3.gwt.emul.S3Emulation' /> <entry-point class="sample.client.MainEntryPoint"></entry-point> <source path="client" /> <source path="shared" /> </module>
com.google.gwt.user.client.rpc.SerializationExceptionのエラーが発生したのは、
そもそも読み込むJS間違えてましたみたいな…