luminus

serioga 2020-05-03T09:36:50.045600Z

@yogthos Actual version of luminus with +undertow does not run on Java 1.8

java.lang.UnsupportedClassVersionError: ring/adapter/undertow/Util has been compiled by a more recent version of the Java Runtime (class file version 54.0), this version of the Java Runtime only recognizes class file versions up to 52.0
is it “by design” or it can be fixed?

yogthos 2020-05-03T11:40:28.047Z

the adapter has a bit of Java bytecode in it that's compiled against 1.10, technically 1.8 is no longer supported so I would recommend moving up from it

yogthos 2020-05-03T11:41:07.047900Z

that said, you should be able to compile the adapter against it by changing the target in javac-options here https://github.com/luminus-framework/ring-undertow-adapter/blob/master/project.clj

Audrius 2020-05-03T13:07:50.048900Z

I just deployed a website following Luminus guides 😍 nice!

omendozar 2020-05-03T14:52:51.052300Z

Hi! I'm trying to use selmer for templating in a small web app. I'm passing variables like current-user, errors, messages when I use selmer.parser/render but now I reach the point where I'm trying to work with ring sessions. I can pass the session map using redirect but how can I pass the other variables I was sending with render?