新手求教CLUB启动

image.png

评论区

mangguo1

2018-05-12 15:39

这是什么报错,导进去 ,建好库和表和数据之后,改了url了
启动

mangguo1

2018-05-12 15:39

Exception in thread "main" java.lang.IllegalAccessError: class sun.reflect.GeneratedConstructorAccessor2 cannot access its superclass sun.reflect.ConstructorAccessorImpl
at sun.misc.Unsafe.defineClass(Native Method)
at sun.reflect.ClassDefiner.defineClass(Unknown Source)
at sun.reflect.MethodAccessorGenerator$1.run(Unknown Source)
at sun.reflect.MethodAccessorGenerator$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.reflect.MethodAccessorGenerator.generate(Unknown Source)
at sun.reflect.MethodAccessorGenerator.generateConstructor(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.jfinal.template.stat.Parser.createDirective(Parser.java:242)
at com.jfinal.template.stat.Parser.stat(Parser.java:214)
at com.jfinal.template.stat.Parser.statList(Parser.java:101)
at com.jfinal.template.stat.Parser.stat(Parser.java:220)

JFinal

2018-05-12 15:44

这个是由于部分 eclipse 版本不支持造成的,将启动参数中的最后一个参数 5 去掉即可

这里是相关贴子:
http://www.jfinal.com/feedback/2429

在俱乐部专享群里面来交流

mangguo1

2018-05-12 16:45

谢谢,成功了

热门反馈

扫码入社