Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

dist packaging non fonctional #138

Closed
sylvainlb opened this issue Feb 21, 2015 · 8 comments
Closed

dist packaging non fonctional #138

sylvainlb opened this issue Feb 21, 2015 · 8 comments

Comments

@sylvainlb
Copy link

The dist command makes a package that doesn't run. It throws a ExceptionInInitializerError on startup.

@bblfish
Copy link
Member

bblfish commented Feb 21, 2015

What is the dist command?

@jmvanel
Copy link
Contributor

jmvanel commented Feb 21, 2015

dist is a command of sbt that generates a zip for deployment on a server .

@sylvainlb
Copy link
Author

In this case, it creates a zip package with a rwweb script in /bin/.
When running this script with the usual run parameters, it throws an ExceptionInInitializerError at play.api.GlobalSettings on the first request.

@sylvainlb
Copy link
Author

On https request, it throws:

Error while rendering default error page scala.MatchError: java.lang.NoClassDefFoundError: Could not initialize class controllers.RdfSetup$ (of class java.lang.NoClassDefFoundError) at play.api.GlobalSettings

@jmvanel
Copy link
Contributor

jmvanel commented Feb 21, 2015

This maybe a consequence of
#139

FYI I wrote here the normal procedure to run on a server:
https://github.com/jmvanel/semantic_forms/tree/master/scala/forms_play#run-on-a-server-without-development-environment

@sylvainlb
Copy link
Author

I don't think so, because I did include the parameters, and apparently they were taken into account.
That's basically the procedure I followed.

@sylvainlb
Copy link
Author

This was due to a missing target directory

@sylvainlb
Copy link
Author

opened #146

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants