1👍
✅
You should add jars in your command like that: -cp /home/django/code/classes:/path/to/slick.jar
, otherwise it only includes the .class’ and folders containing class files as per packages.
You can always rely on the shell expansion if you have many jars: /path/to/dependencies/*.jar
Another option is using SBT’s xsbt-start-script-plugin or Maven’s appassembler plugin to create a shell script
Source:stackexchange.com