Using SBT with xsbt-web-plugin, when I go to the console (sbt console
), I can't access anything in src/main/webapp
that is normally on the containers classpath.
Context is: I'm trying to take certain code that runs in both the webapp and unit tests, and run it in the console. Everything is fine until I reach code that loads one of the view templates stored in src/main/webapp
, which it expects to find on the classpath.