ajanata / PretendYoureXyzzy

A web clone of the card game Cards Against Humanity.
https://pretendyoure.xyz/zy
BSD 2-Clause "Simplified" License
1.23k stars 396 forks source link

Issue trying to start application under Tomcat #202

Open momrpg opened 5 years ago

momrpg commented 5 years ago

I've installed tomcat 7 and 8, java 7 and 8, and still can't get things working. Error indicates: 30-Nov-2018 08:07:00.320 INFO [http-nio-8080-exec-5] org.apache.catalina.core.ApplicationContext.log HTMLManager: start: Starting web application '/zy' 30-Nov-2018 08:07:01.230 SEVERE [http-nio-8080-exec-5] org.apache.catalina.core.StandardContext.listenerStart Error configuring application listener of class net.socialgamer.cah.StartupUtils java.lang.UnsupportedClassVersionError: net/socialgamer/cah/StartupUtils : Unsupported major.minor version 52.0 (unable to load class net.socialgamer.cah.StartupUtils) at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2476) (truncated for brevity)

I'm running Debian. Anyone have any ideas? I'd really like to get this going.

ajanata commented 5 years ago

Sounds like you're compiling with Java 8 and trying to run with Java 7 (or older). I'd make sure your JRE matches your JDK (and strongly recommend using at least Java 8 these days, if not newer).