War Deployment - Log4j error

Hi
I am getting the following error when deploying a war can anyone explain why or how to fix it please

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)

What java are you using to run it?
it looks like you are running it against java 7 which is not supported anymore

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