Hey folks,
I've got a minimal program I'm trying to run:
(require 'abcl-contrib) (require 'jss) (setf jss:*muffle-warnings* nil)
(add-to-classpath #P"~/.m2/repository/io/javalin/javalin/3.13.10/") (jss:jar-import "javalin-3.13.10.jar")
(let* ((port 8080) (app (#"start" (#"create" 'Javalin) port))) (begin (#"get" app (lambda (ctx) (#"result" ctx "Hello World")))))
When I run it:
abcl --batch --noinform --load main.lisp
I get the following exception when requiring jss I think.
jssASDF could not load because Java exception 'java.lang.reflect.InaccessibleObjectException: Unable to make public java.lang.String java.util.jar .JarFile$JarFileEntry.getName() accessible: module java.base does not "opens java.util.jar" to unnamed module @1ece4432'.. Error loading /home/phil/.cache/common-lisp/abcl-1.8.0-fasl43-linux-x64/home/phil/vendor/abcl-bin-1.8.0/abcl-contrib.jar/jss/invoke.abcl at line 17 3 (offset 14319) #<THREAD "interpreter" {14B117F6}>: Debugger invoked on condition of type JAVA-EXCEPTION Java exception 'java.lang.reflect.InaccessibleObjectException: Unable to make public java.lang.String java.util.jar.JarFile$JarFileEntry.getName( ) accessible: module java.base does not "opens java.util.jar" to unnamed module @1ece4432'.
Any suggestions for getting this (require :jss) working?
Thank you! Phil
armedbear-devel@common-lisp.net