Hi, I'm trying use bootclj/boot-native on docker:
docker run -e BOOT_AS_ROOT=true -t bootclj/boot-native
And I got an error:
Downloading <https://clojars.org/repo/boot/boot/2.8.2/boot-2.8.2.jar>...
Error: Could not find or load main class clojure.main
Is there any step I have lost?If I just run docker run -t bootclj/boot-native
, boot print a warning:
Exception in thread "main" java.lang.SecurityException: Refusing to run as user "root". See <https://github.com/boot-clj/boot/wiki/Boot-Exceptions#boot-as-root>
at boot.exceptions$security.invokeStatic(exceptions.clj:7)
at boot.exceptions$security.invoke(exceptions.clj:6)
at boot$prevent_root.invokeStatic(boot.clj:21)
at boot$prevent_root.invoke(boot.clj:19)
at boot$_main.invokeStatic(boot.clj:73)
at boot$_main.doInvoke(boot.clj:68)
at clojure.lang.RestFn.invoke(RestFn.java:397)
at clojure.lang.AFn.applyToHelper(AFn.java:152)
at clojure.lang.RestFn.applyTo(RestFn.java:132)
at boot.main(Unknown Source)
Hi. Does anyone know what can cause Caused by: java.lang.ClassNotFoundException: sun.misc.Launcher$ExtClassLoader
when running latest boot
with OpenJDK 11?