[xwiki-users] Plexus version error
Hi, I just installed the enterprise war version of xwiki 1.2 rc3 on a SUSE Linux Enterprise Server (SLES) version 9 in a Tomcat container. When i start Tomcat the log says 2008-01-16 15:51:24 StandardContext[/xwiki]Loading plexus context properties from: '/WEB-INF/plexus.properties' 2008-01-16 15:51:24 StandardContext[/xwiki]Initializing Plexus. 2008-01-16 15:51:24 StandardContext[/xwiki]resource = jndi:/localhost/xwiki/WEB-INF/plexus.xml 2008-01-16 15:51:25 StandardContext[/xwiki]Plexus initialized. And everything looks good. But when I access the xwiki application in a browser I get the following error: javax.servlet.ServletException: Servlet execution threw an exception com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) root cause java.lang.UnsupportedClassVersionError: org/exoplatform/container/PortalContainer (Unsupported major.minor version 49.0) java.lang.ClassLoader.defineClass0(Native Method) java.lang.ClassLoader.defineClass(ClassLoader.java:539) java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1677) org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:900) org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1350) org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1230) java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) com.xpn.xwiki.web.Utils.prepareContext(Utils.java:231) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:87) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:743) javax.servlet.http.HttpServlet.service(HttpServlet.java:856) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) note The full stack trace of the root cause is available in the Tomcat logs. What exactly does this mean and how do I correct it? Cheers /Thorbjørn -- W: http://kodefabrikken.dk If you failing to plan, then you´re planning to fail.
Thorbjørn Konstantinovitz wrote:
But when I access the xwiki application in a browser I get the following error:
javax.servlet.ServletException: Servlet execution threw an exception
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
root cause
java.lang.UnsupportedClassVersionError: org/exoplatform/container/PortalContainer (Unsupported major.minor version 49.0)
What exactly does this mean and how do I correct it?
Usually it means that you're using an older version of the JDK. I don't know if Plexus requires JDK 1.5 or works on 1.4, too, so try upgrading and see if it works. Sergiu
Hi, On Jan 16, 2008, at 6:55 PM, Sergiu Dumitriu wrote:
Thorbjørn Konstantinovitz wrote:
But when I access the xwiki application in a browser I get the following error:
javax.servlet.ServletException: Servlet execution threw an exception
com .xpn .xwiki .web .SetCharacterEncodingFilter .doFilter(SetCharacterEncodingFilter.java:117)
root cause
java.lang.UnsupportedClassVersionError: org/exoplatform/container/PortalContainer (Unsupported major.minor version 49.0)
What exactly does this mean and how do I correct it?
Usually it means that you're using an older version of the JDK. I don't know if Plexus requires JDK 1.5 or works on 1.4, too, so try upgrading and see if it works.
Not sure why both of you are mentioning plexus... The error says: root cause java.lang.UnsupportedClassVersionError: org/exoplatform/container/PortalContainer (Unsupported major.minor version 49.0) And indeed exo platform requires JDK 1.5. -Vincent
Vincent Massol wrote:
Hi,
On Jan 16, 2008, at 6:55 PM, Sergiu Dumitriu wrote:
Thorbjørn Konstantinovitz wrote:
But when I access the xwiki application in a browser I get the following error:
javax.servlet.ServletException: Servlet execution threw an exception
com .xpn .xwiki .web .SetCharacterEncodingFilter .doFilter(SetCharacterEncodingFilter.java:117)
root cause
java.lang.UnsupportedClassVersionError: org/exoplatform/container/PortalContainer (Unsupported major.minor version 49.0)
What exactly does this mean and how do I correct it?
Usually it means that you're using an older version of the JDK. I don't know if Plexus requires JDK 1.5 or works on 1.4, too, so try upgrading and see if it works.
Not sure why both of you are mentioning plexus... The error says:
root cause
java.lang.UnsupportedClassVersionError: org/exoplatform/container/PortalContainer (Unsupported major.minor version 49.0)
And indeed exo platform requires JDK 1.5.
I said plexus because he said plexus, and I didn't even bother to look at the stack trace below the UnsupportedClassVersionError line. So indeed, eXo requires 1.5, and we are trying to remove eXo from our core, but it will take a bit more time before that will happen. For the moment you must upgrade to a newer JDK. Sergiu
participants (3)
-
Sergiu Dumitriu -
Thorbjørn Konstantinovitz -
Vincent Massol