[size=medium][b]关于 JDK6 下 [/b][/size]
修改run.bat文件:将这一行改为set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME% -Dsun.lang.ClassLoader.allowArraySyntax=true 就可以了
如果是从eclipse中启动,则需在JDK的Optional Java VM arguments 项 增加 -Dsun.lang.ClassLoader.allowArraySyntax=true
参考:http://olivechinese.iteye.com/blog/361279
修改run.bat文件:将这一行改为set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME% -Dsun.lang.ClassLoader.allowArraySyntax=true 就可以了
如果是从eclipse中启动,则需在JDK的Optional Java VM arguments 项 增加 -Dsun.lang.ClassLoader.allowArraySyntax=true
参考:http://olivechinese.iteye.com/blog/361279