Fork me on GitHub
#luminus
<
2020-05-03
>
serioga09:05:50

@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?

yogthos11:05:28

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

yogthos11:05:07

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

Old account13:05:50

I just deployed a website following Luminus guides 😍 nice!

theequalizer7314:05:51

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?