I am reorganizing some maven GWT projects, i. e. moving common code out of app projects into libraries and so on. Until now, I have moved only classes from the shared directory. I did not touch the server-side code yet.
However, I am actually getting this error when I select "Debug As -> GWT Development mode with Jetty" in eclipse:
There are several servlets defined in the web.xml, but only for this one (EventServlet) the error is shown. I have not touched the servlets and the web.xml. I have also cleaned and rebuild the project.
Running CodeServer with parameters: [-noprecompile, -port, 9876, -sourceLevel, 1.8, -bindAddress, 127.0.0.1, -launcherDir, /home/warker/dvl/prj/msm/msm-app-bcs/target/msm-app-bcs-1.0-SNAPSHOT, -logLevel, INFO, -style, OBFUSCATED, msm.app.bcs.Application]
Super Dev Mode starting up
workDir: /tmp/gwt-codeserver-4155472912936236704.tmp
2017-12-27 10:12:47.520:INFO::main: Logging initialized @12837ms
Loading Java files in msm.app.bcs.Application.
Ignored 1 unit with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
Module setup completed in 16947 ms
2017-12-27 10:12:57.711:INFO:oejs.Server:main: jetty-9.2.14.v20151106
2017-12-27 10:12:57.853:INFO:oejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@4b8c6dbc{/,null,AVAILABLE}
2017-12-27 10:12:57.987:INFO:oejs.ServerConnector:main: Started ServerConnector@49b6177a{HTTP/1.1}{127.0.0.1:9876} 2017-12-27 10:12:57.987:INFO:oejs.Server:main: Started @23305ms
Code server started in 17.90 s ms
2017-12-27 10:12:58.446:INFO:oejs.Server:main: jetty-9.2.14.v20151106
Starting Jetty on port 8888
[WARN] ServletContainerInitializers: detected. Class hierarchy: empty
2017-12-27 10:13:01.961:INFO:oejsh.ContextHandler:main: Started c.g.g.d.s.j.WebAppContextWithReload@2a1076b5{/,file:/home/warker/dvl/prj/msm/msm-app-bcs/target/msm-app-bcs-1.0-SNAPSHOT/,AVAILABLE}{/home/warker/dvl/prj/msm/msm-app-bcs/target/msm-app-bcs-1.0-SNAPSHOT}
2017-12-27 10:13:01.965:INFO:oejs.ServerConnector:main: Started ServerConnector@9443150{HTTP/1.1}{127.0.0.1:8888} 2017-12-27 10:13:01.968:INFO:oejs.Server:main: Started @27285ms
2017-12-27 10:13:04.813:INFO:/:qtp1139566718-80: EventServlet: ERROR: The serialization policy file '/apl/639E49884D8207D25E3A7CFF4491F8C9.gwt.rpc' was not found; did you forget to include it in this deployment?
2017-12-27 10:13:04.814:INFO:/:qtp1139566718-80: EventServlet: WARNING: Failed to get the SerializationPolicy '639E49884D8207D25E3A7CFF4491F8C9' for module 'http://127.0.0.1:8888/apl/'; a legacy, 1.3.3 compatible, serialization policy will be used. You may experience SerializationExceptions as a result. [WARN] Server class 'junit.framework.AssertionFailedError' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/home/warker/.m2/repository/junit/junit/4.11/junit-4.11.jar' to the web app classpath for this session