Open alternegro opened 4 years ago
I have the same problem in 2.8.1 somtimes on recompiles, also using akka-persistence with the normal jdbc driver in the same application.
restarting sbt fixes it. It seems to always happen if akka-persistence starts up earlier then the migration I think?
I have the same problem in 2.8.1 somtimes on recompiles, also using akka-persistence with the normal jdbc driver in the same application.
restarting sbt fixes it. It seems to always happen if akka-persistence starts up earlier then the migration I think?
I have several apps using 2.8.1, but I’m yet to encounter the issue in them. The issue shows up EVERY time I’ve tried 2.8.2. I’m working on an Akka application write now, I’ll look out for the issue there as well. I cross posted this issue in slick-pg and others have reported seeing it.
I think it would be useful to link the issues for completeness. This and tminglei/slick-pg#484.
This appears to be an issue with Classloading in Play Dev.mode. Adding my custom profile as an unmanaged dependency solves the problem.
Corresponding Slick PG Issue
Play Slick Version
5.0.0
Play Version
2.8.2
API
Scala 2.13.2
Operating System
macOS 10.15.5
JDK
java version 11
Library Dependencies
Expected Behavior
2.
3.
Actual Behavior
2. 3.
Reproducible Test Case
The issue goes away when I simply change the Play plugin version from 2.8.2 to 2.8.1