On Fri, 11 Apr 2008 14:59:55 +0200, [Ricardo Rodriguez] Your EPEC Network ICT
Team wrote
Hi Ruslan!
rssh wrote:
As I remember, for this you must extract
log4j.properties from
lib/xwiki-core-<version>.jar and put extracted file in classes.
Than add to log4j.properties additional statements.
I've extracted the file, added the required line and modified
xwiki.cfg accordingly. Here it is a block containing the line
loading xwikisql plugin.
so - looks like you run xwiki on jdk-1.5 when sql plugin is compiled with jdk-1.6
The solution is grab the source of xwikisql plugin and recompile one with
JDK-1.5 (or add target - JDK-1.5 in build.xml)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
causa rai'z
java.lang.UnsupportedClassVersionError: Bad version number in .class
file java.lang.ClassLoader.defineClass1(Native Method)
java.lang.ClassLoader.defineClass(ClassLoader.java:675)
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
--
Ruslan Shevchenko
GradSoft.
http://www.gradsoft.ua