New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scalate runtime exception #537
Comments
It would be really helpful to have a minimal sample project. Maybe some dummy project derived from the actual project? |
@dozed Okay I will see what I can whip up. |
@dozed Okay I have produced a small example project which reproduces the issue: https://github.com/adamretter/scalatra-scalate-example If you launch it with However, if you build a zip package, extract and run the app from that, then Scalate somehow explodes and you will see the stack-trace (as previously mentioned) when visiting
|
I am experiencing the same issue. |
+1 |
1 similar comment
+1 |
I have solved the problem. I am using gradle instead of sbt. dependencies {
.. |
+1 |
I am using an embedded Jetty with Scalatra 2.4.0-RC2-2. When I launch my application using
sbt run
all is well and my application works as expected.However, if I build a zip file using
sbt universal:packageBin
, unzip it and run my app, then my end-points that use Scalate with ssp explode when I hit them (my other non-scalate end-points all still work just fine).This looks like some sort of reflection issue, I have tried this with Scala 2.11.6 and 2.11.7 and get the same result. Any ideas? At the moment I can't deploy my application :-(
From the web response:
From the console:
The text was updated successfully, but these errors were encountered: