[xwiki-users] Deployment-Error: configuring application listener of class org.xwiki.container.servlet.SetThreadNameServletRequestListener

vincent@massol.net vincent at massol.net
Sat Aug 16 15:16:32 UTC 2014


Hi, 

You’re probably using Java 6 which is why you get the error. See http://stackoverflow.com/a/11432195/153102

You may have several JDKs installed and your Tomcat startup script may not be using the right JDK.

You should double check that.

Thanks
-Vincent

On 14 Aug 2014 at 20:05:42, lists at yhmail.de (lists at yhmail.de(mailto:lists at yhmail.de)) wrote:

> Thank you for the fast reply. But am I not using Java 8 (java version "1.8.0_11")? Am I missing something here?
>  
> Thanks again,
> Chris
> ________________________________________
> From: users on behalf of Sergiu Dumitriu  
> Sent: Thursday, August 14, 2014 8:00 PM
> To: users at xwiki.org
> Subject: Re: [xwiki-users] Deployment-Error: configuring application listener of class org.xwiki.container.servlet.SetThreadNameServletRequestListener
>  
> XWiki requires Java 1.7 or greater, and you have 1.6. Upgrade Java, or
> if you do have both 1.6 and 1.7 installed, configure the system to
> prefer the 1.7 one.
>  
> On 08/14/2014 01:58 PM, lists at yhmail.de wrote:
> > Hello everyone,
> >
> > I am trying to deploy xwiki-enterprise-web-6.1.war on a tomcat7
> > installation. Upon starting the server I get the attached error message.
> >
> > Setup:
> >
> > # java -version
> > java version "1.8.0_11"
> > Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
> > Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
> >
> > tomcat: Version: 12.0.18_build1200140606.15 os_Debian 7.0
> >
> > XWIKI: xwiki-enterprise-web-6.1.war
> >
> > Any ideas on what is going on?
> >
> > Thanks a lot,
> >
> > Chris
> >
> >
> > java.lang.UnsupportedClassVersionError: org/xwiki/container/servlet/XWikiServletContextListener : Unsupported major.minor version 51.0 (unable to load class org.xwiki.container.servlet.XWikiServletContextListener)



More information about the users mailing list