2
回答
JFinal 报错 求求助
终于搞明白,存储TCO原来是这样算的>>>   
Starting JFinal 1.2
Starting scanner at interval of 5 seconds.
Starting web server on port: 80
2013-03-09 21:25:50.484:WARN:oejuc.AbstractLifeCycle:FAILED jfinal: java.lang.RuntimeException: You must load properties file by invoking loadPropertyFile(String) method in configConstant(Constants) method before.
java.lang.RuntimeException: You must load properties file by invoking loadPropertyFile(String) method in configConstant(Constants) method before.
	at com.jfinal.config.JFinalConfig.checkPropertyLoading(JFinalConfig.java:152)
	at com.jfinal.config.JFinalConfig.getPropertyToBoolean(JFinalConfig.java:133)
	at com.jfinal.config.JFinalConfig.getPropertyToBoolean(JFinalConfig.java:146)
	at common.DemoConfig.configConstant(DemoConfig.java:23)
	at com.jfinal.core.Config.configJFinal(Config.java:46)
	at com.jfinal.core.JFinal.init(JFinal.java:67)
	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:114)
	at com.jfinal.server.JettyServer.start(JettyServer.java:63)
	at com.jfinal.core.JFinal.main(JFinal.java:178)
2013-03-09 21:25:50.484:WARN:oejw.WebAppContext:Failed startup of context o.e.j.w.WebAppContext{/,file:/D:/CodeSpase/jfinal_test/WebContent/}
java.lang.RuntimeException: You must load properties file by invoking loadPropertyFile(String) method in configConstant(Constants) method before.
	at com.jfinal.config.JFinalConfig.checkPropertyLoading(JFinalConfig.java:152)
	at com.jfinal.config.JFinalConfig.getPropertyToBoolean(JFinalConfig.java:133)
	at com.jfinal.config.JFinalConfig.getPropertyToBoolean(JFinalConfig.java:146)
	at common.DemoConfig.configConstant(DemoConfig.java:23)
	at com.jfinal.core.Config.configJFinal(Config.java:46)
	at com.jfinal.core.JFinal.init(JFinal.java:67)
	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:114)
	at com.jfinal.server.JettyServer.start(JettyServer.java:63)
	at com.jfinal.core.JFinal.main(JFinal.java:178)
Starting Complete. Welcome To The JFinal World :)

@JFinal

举报
JacCoffee
发帖于5年前 2回/1K+阅
顶部