UnsatisfiedLinkError when running Grails / GWT application in DevMode

Using Grails 2.1.0 in GGTS 3.1.0 with the gwt plugin (gwt: 0.7.1) and the dto plugin (dto: 0.2.4). I have a simple DTO object:

public class TestDTO implements grails.plugins.dto.DTO { private static final long serialVersionUID = 1L; String text; // Required for DTO serializer public TestDTO() {} public String getText() { return text; } public void setText(String text) { this.text = text; } } 

When I compile gwt modules and run the application, it works fine. However, when I run DevMode, it fails with java.lang.UnsatisfiedLinkError .
Error details: com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.eval(Ljava/lang/String;)Lcom/google/gwt/core/client/JavaScriptObject; .

The server-side service receives the call, and the async callback hits the onFailure (...) method in which I get an error.

Is this a client side issue? I checked that gwt-user.jar and gwt-dev.jar are in the source class path in the DevMode launch configuration. I have a one-step application and cannot see where it does not work.

+4
source share

Source: https://habr.com/ru/post/1440339/


All Articles