This is the error I get (stripped down project here):
[IJ]> ~web-server/re-start
[info] Compiling 4 Scala sources to /home/brandon/workspace/ProjectGists/CCRS_knownDirectSubclasses/web-server/target/scala-2.12/classes...
[error] knownDirectSubclasses of FileCommand observed before subclass ExecFile registered
[error] one error found
[error] (web-server/compile:compileIncremental) Compilation failed
[error] Total time: 1 s, completed Apr 26, 2018 3:00:49 PM
Workaround suggestions would also be much appreciated. Two non-workaround ways of getting the error to go away:
- Delete
ExecFile
- Delete AutowireServer’s
dispatch
method
I also posted this at https://github.com/scala/bug/issues/10330 due to being possibly related, but it may be a different issue. However, I think it is definitely related, as other posts seem to describe issues with autogenerated classes being the issue, and something related to boopickle is problem happening here.