Cause: java.lang.IllegalStateException: The image mcr.microsoft.com/mssql/server:2019-CU8-ubuntu-16.04 requires you to accept a license agreement. Please place a file at the root of the classpath named container-license-acceptance.txt, e.g. at src/test/resources/container-license-acceptance.txt. This file should contain the line:
[info] mcr.microsoft.com/mssql/server:2019-CU8-ubuntu-16.04
[info] at org.testcontainers.utility.LicenseAcceptance.assertLicenseAccepted(LicenseAcceptance.java:30)
[info] at org.testcontainers.containers.MSSQLServerContainer.configure(MSSQLServerContainer.java:71)
[info] at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:316)
[info] at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:311)
[info] at org.apache.pekko.projection.slick.SlickContainerOffsetStoreSpec$ContainerJdbcSpecConfig.initContainer(SlickContainerOffsetStoreSpec.scala:57)
[info] at org.apache.pekko.projection.slick.SlickContainerOffsetStoreSpec$MSSQLServerSpecConfig.<init>(SlickContainerOffsetStoreSpec.scala:111)
[info] at org.apache.pekko.projection.slick.MSSQLServerSlickOffsetStoreSpec.<init>(SlickContainerOffsetStoreSpec.scala:147)
[info] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[info] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[info] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)