On Tue, May 21, 2013 at 09:49:51AM -0500, Anthony wrote:
> Tomcat 5.0, JDK 5.0.11, drop cas-server-webapp-3.5.2.war into tomcat webapps 
> directory and it deploys. Tomcat manager says it is not started, I start it 
> and it fails. Error as shown. What have I done wrong? Followed the 
> install.txt file. 
> 
> 2013-05-21 10:44:54 StandardContext[/manager]HTMLManager: start: Starting web 
> application at '/cas'
> 2013-05-21 10:44:55 StandardContext[/cas]Error configuring application 
> listener of class org.jasig.cas.web.init.SafeContextLoaderListener
> java.lang.UnsupportedClassVersionError: Bad version number in .class file
>       at java.lang.ClassLoader.defineClass1(Native Method)
>       at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

I think it is related to the webapp having been built using a newer JVM than
5.0.11.

If I run

javap -verbose -classpath cas-server-core-3.5.2.jar 
org.jasig.cas.web.init.SafeContextLoaderListener | grep version

it shows

  minor version: 0
  major version: 50

which corresponds to JVM 1.6.

-- 
-----------------------
Alberto Cabello Sánchez
[email protected]

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to