Page 1 of 1

War Deployment - Log4j error

PostPosted: Fri Jun 05, 2020 12:35 pm
by Gordon McLean
Hi
I am getting the following error when deploying a war can anyone explain why or how to fix it please

Code: Select all
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.UnsupportedClassVersionError: com/servoy/j2db/log4j/LoggingServletContainerInitializer : Unsupported major.minor version 52.0 (unable to load class com.servoy.j2db.log4j.LoggingServletContainerInitializer)

Re: War Deployment - Log4j error

PostPosted: Fri Jun 05, 2020 2:13 pm
by jcompagner
What java are you using to run it?
it looks like you are running it against java 7 which is not supported anymore

Re: War Deployment - Log4j error

PostPosted: Fri Jun 05, 2020 3:03 pm
by Gordon McLean
Thanks we were trying to get this working in Docker and found that the version we had was using 7 JRE 8 fixed the problem

Cheers
Gordon