Closed zlrth closed 7 years ago
fixed. have to run
sudo -E java -cp target/uberjar/conus.jar:resources conus.core &
java -jar ...
runs a jar that's not aware of the files not on the classpath. specifying :resources puts resources on the classpath.
works fine in all cases. with
you can upload pictures, then view them with
lein repl (start)
, but you can't see them fromjava -jar
. this behavior persists across restarts of all kinds i've tried. the generated HTML looks fine. the direct image link 404s for the images uploaded viajava -jar...
. the permissions are the same for all images inresources/public/images
.whuuh?