-
Notifications
You must be signed in to change notification settings - Fork 446
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
java.lang.NoClassDefFoundError #73
Comments
Can you run the script with Thanks! |
Hey, when I execute with
My
Thanks for your help! |
Hi, I'm not sure whether it's the same issue, but seems similar. I've successfully built a deb package, installed it and then executing through a symbolic link (placed in /usr/bin/) gives an error "class not found". Echoing this one gives two different paths.
Am I using the script in wrong manner somehow or this value needs to be changed for deb packages? |
I have the same problem on ubuntu with a Play 2.2 app, when I run
My current workaround to start the app with: |
It appears to not be packaging up the other libs that sbt is putting into .ivy/ |
What version of native packager is everyone using? There was an issue with grabbing the real path of symlinks from the wrong location. This is either another manifestation of that, or you're not on the latest native packager version (0.6.3). |
I use Play 2.2.1 so according to https://github.com/playframework/playframework/blob/2.2.1/framework/project/plugins.sbt it is native packager 0.6.0. Is it possible to override the version? How? |
Yeah, in
Then, this should upgrade the version used by play and you'll see the new behavior. |
This is an issue with the realPath() method, which was fixed in 2929211 and 2929211. Try to use the sudo service application-name start Starting your application another way, may cause confusing where the logging output is written as the default configuration in IMHO this ticket is resolved. (Even though I would like to replace the realPath() logic with |
I understand the desire to use In any case, since we haven't heard back I'll mark this as closed for now. |
Hi there. When I try and execute the bin on *.nix platforms, I get a
java.lang.NoClassDefFoundError
error. SpecificallyEverything runs fine with
sbt run
. Please let me know if any other details would help!The text was updated successfully, but these errors were encountered: