Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
janScheible committed Apr 15, 2017
2 parents f704460 + eb010b7 commit 472ce69
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ public interface DirectSpringMvcExampleService extends DirectRestService {
```

<dl>
<dt>NOTE</dt>
<dt>WARNING</dt>
<dd>It looks like Spring MVC annotations on method arguments must be placed both on the interface and on the implementation class (on the interface for RestyGWT and on the implementation for Spring itself).</dd>
<dt>NOTE</dt>
<dd>The easiest way to debug the Spring MVC extension is to add the property <code class="rich-diff-level-one">&lt;gwt.extraJvmArgs&gt;-Xmx512m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=1044&lt;/gwt.extraJvmArgs&gt;</code> to the Maven POM and attach a remote debbuger to the execution of the GWT compiler when running with Maven. Thereby is the class <code class="rich-diff-level-one">RestAnnotationValueProvider</code> a good candidate for setting breakpoints because it contains the annotation abstraction over JAX-RS and Spring MVC.</dd>
<dt>NOTE</dt>
<dd>In case of errors occuring during the GWT compilation the file generated by RestyGWT can be found and checked in <code class="rich-diff-level-one">${project.build.directory}/.generated</code>.</dd>
</dl>

![RestyGWT](http://resty-gwt.github.io/images/restygwt-logo.png)
Expand Down

0 comments on commit 472ce69

Please sign in to comment.