按快速部署指南部署后,运行出错,看日志是否插件问题,具体信息:
Starting JFinal 3.3
Starting web server on port: 80
12-30 20:11:08[INFO]jetty-8.1.8.v20121106
12-30 20:11:08[INFO]
12-30 20:11:08[INFO]started o.e.j.w.WebAppContext{/,file:/C:/eova/eova/src/main/webapp/}
12-30 20:11:08[INFO]started o.e.j.w.WebAppContext{/,file:/C:/eova/eova/src/main/webapp/}
Config Constants Starting...
12-30 20:11:08[INFO]app.config
12-30 20:11:08[INFO]domain.config
12-30 20:11:08[INFO]eova.config
12-30 20:11:08[INFO]jdbc.config
12-30 20:11:08[INFO]默认配置加载成功:(resources/default)
Load Page Const Starting:
Config Plugins Starting...
12-30 20:11:08[INFO]load data source:jdbc:mysql://127.0.0.1:12581/eova?characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull > root
12-30 20:11:08[INFO]load data source:jdbc:mysql://127.0.0.1:12581/demo?characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull > root
12-30 20:11:09[INFO]{dataSource-1} inited
12-30 20:11:09[INFO]{dataSource-2} inited
Sql: select * from eova_task
12-30 20:11:09[ERROR]Plugin start error: com.eova.common.plugin.quartz.QuartzPlugin.
null
java.lang.NullPointerException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.eova.common.plugin.quartz.QuartzPlugin.start(QuartzPlugin.java:45)
at com.jfinal.core.Config.startPlugins(Config.java:107)
at com.jfinal.core.Config.configJFinal(Config.java:51)
at com.jfinal.core.JFinal.init(JFinal.java:63)
at com.jfinal.core.JFinalFilter.init(JFinalFilter.java:49)
at org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:724)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:706)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
at org.eclipse.jetty.server.Server.doStart(Server.java:277)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at com.jfinal.server.JettyServer.doStart(JettyServer.java:133)
at com.jfinal.server.JettyServer.start(JettyServer.java:70)
at com.jfinal.core.JFinal.start(JFinal.java:162)
at com.RunEovaOSS.main(RunEovaOSS.java:11)
12-30 20:11:09[WARN]FAILED jfinal: java.lang.RuntimeException: Plugin start error: com.eova.common.plugin.quartz.QuartzPlugin.
null