问题描述
严重:ExceptionstartingfilterpageCacheFilterjavax.servlet.ServletException:Couldnotinitialiseservletfilter.atnet.sf.ehcache.constructs.web.filter.Filter.init(Filter.java:192)atorg.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)atorg.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)atorg.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)atorg.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4072)atorg.apache.catalina.core.StandardContext.start(StandardContext.java:4726)atorg.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)atorg.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)atorg.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)atorg.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)atorg.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)atorg.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)atorg.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)atorg.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)atorg.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)atorg.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)atorg.apache.catalina.core.StandardHost.start(StandardHost.java:840)atorg.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)atorg.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)atorg.apache.catalina.core.StandardService.start(StandardService.java:525)atorg.apache.catalina.core.StandardServer.start(StandardServer.java:754)atorg.apache.catalina.startup.Catalina.start(Catalina.java:595)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)atjava.lang.reflect.Method.invoke(Method.java:597)atorg.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)atorg.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)Causedby:net.sf.ehcache.CacheException:cache'SimplePageCachingFilter'notfoundinconfigurationatnet.sf.ehcache.constructs.web.filter.CachingFilter.doInit(CachingFilter.java:125)atnet.sf.ehcache.constructs.web.filter.Filter.init(Filter.java:189)...27moreCannotcreateTableobject,maybethetablesysDataQueueisnotexists.2014-11-49:12:30org.apache.catalina.core.StandardContextfilterStart严重:ExceptionstartingfilterJFinaljava.lang.RuntimeException:Pluginstarterror:com.jfinal.plugin.activerecord.ActiveRecordPlugin.com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:Table'test.sysdataqueue'doesn'texistatcom.jfinal.core.Config.startPlugins(Config.java:95)atcom.jfinal.core.Config.configJFinal(Config.java:48)atcom.jfinal.core.JFinal.init(JFinal.java:67)atcom.jfinal.core.JFinalFilter.init(JFinalFilter.java:49)atorg.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)atorg.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)atorg.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)atorg.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4072)atorg.apache.catalina.core.StandardContext.start(StandardContext.java:4726)atorg.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)atorg.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)atorg.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)atorg.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)atorg.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)atorg.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)atorg.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)atorg.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)atorg.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)atorg.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)atorg.apache.catalina.core.StandardHost.start(StandardHost.java:840)atorg.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)atorg.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)atorg.apache.catalina.core.StandardService.start(StandardService.java:525)atorg.apache.catalina.core.StandardServer.start(StandardServer.java:754)atorg.apache.catalina.startup.Catalina.start(Catalina.java:595)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)atjava.lang.reflect.Method.invoke(Method.java:597)atorg.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)atorg.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)Causedby:com.jfinal.plugin.activerecord.ActiveRecordException:com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:Table'test.sysdataqueue'doesn'texistatcom.jfinal.plugin.activerecord.TableBuilder.build(TableBuilder.java:48)atcom.jfinal.plugin.activerecord.ActiveRecordPlugin.start(ActiveRecordPlugin.java:171)atcom.jfinal.core.Config.startPlugins(Config.java:85)...30moreCausedby:com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:Table'test.sysdataqueue'doesn'texistatsun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeMethod)atsun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)atsun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)atjava.lang.reflect.Constructor.newInstance(Constructor.java:513)atcom.mysql.jdbc.Util.handleNewInstance(Util.java:411)atcom.mysql.jdbc.Util.getInstance(Util.java:386)atcom.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)atcom.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4096)atcom.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4028)atcom.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2490)atcom.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2651)atcom.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2677)atcom.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2627)atcom.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1556)atcom.alibaba.druid.pool.DruidPooledStatement.executeQuery(DruidPooledStatement.java:143)atcom.jfinal.plugin.activerecord.TableBuilder.doBuild(TableBuilder.java:63)atcom.jfinal.plugin.activerecord.TableBuilder.build(TableBuilder.java:40)...32more
解决方案
解决方案二:
sysdataqueue这张表没有吧
解决方案三:
CannotcreateTableobject,maybethetablesysDataQueueisnotexists.
解决方案四:
数据库连接没在tomcat里面配置,造成你初始化项目的时候建表失败
解决方案五:
兄弟们我主要想问的是“Couldnotinitialiseservletfilter.”和“Pluginstarterror:com.jfinal.plugin.activerecord.ActiveRecordPlugin”那个表我知道是怎么回事……辛苦了兄弟们