mirror of
https://github.com/sbt/sbt.git
synced 2026-08-29 09:30:21 +02:00
It is possible with the new layering strategies that tests may fail if a java package private class is accessed across classloader layers. This will result in an IllegalAccessError that is hard to debug. With this commit, I add an error message that will be displayed if run throws an IllegalAccessError that suggests that the user try the ScalaInstance layering strategy or the flat layering strategy.