On Fri, 18 Apr 2008 23:10:25 +0700, Ngo Thi Hong Nga wrote
Hi, I'm using XE 1.3 with
xwiki-plugin-sql-1.3.jar. I put the jar in
WEB-INF\lib, append ua.gradsoft.xwikisql.SqlPlugin to xwiki.cfg and restart
Tomcat.
When I run XWiki, the following error is thrown:
*exception*
It's becouse you use JDK-1.5, when xwiki-plugin-sql is build with help of JDK-1.6
For use one with JDK-1.5 you can get source distributive and compile one with
appropriative JDK version.
javax.servlet.ServletException: Servlet execution
threw an exception
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
*root cause*
java.lang.UnsupportedClassVersionError: Bad version number in .class
file java.lang.ClassLoader.defineClass1(Native Method)
java.lang.ClassLoader.defineClass(Unknown Source)
java.security.SecureClassLoader.defineClass(Unknown Source)
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1815)
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:869)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1322)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
java.lang.ClassLoader.loadClassInternal(Unknown Source)
java.lang.Class.forName0(Native Method) java.lang.Class.forName(Unknown
Source)
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:70)
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:107)
com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:853)
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:785)
com.xpn.xwiki.XWiki.<init>(XWiki.java:721)
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:292)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:490)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:118)
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:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
How to solve this problem? Any help would be high appreciated.
--
[UTF-8?]> NgцЄ ThА╩‹ HА╩⌠ng Nga
Mobile: 0935 176133
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Ruslan Shevchenko
GradSoft.
http://www.gradsoft.ua