JFinal项目用tomcat启动 报错 在线等 求解答

问题描述

严重: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”那个表我知道是怎么回事……辛苦了兄弟们

时间: 2024-10-24 18:48:36

JFinal项目用tomcat启动 报错 在线等 求解答的相关文章

native-tomcat启动报错问题,求大神帮忙

问题描述 tomcat启动报错问题,求大神帮忙 Managed Threads: 3 Active Threads: 3 Active Tasks: com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@189b939 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2) com.mchange.v2.resourcepool.BasicResourcePo

eclipse插件-eclips tomcat启动报错

问题描述 eclips tomcat启动报错 刚开始导入项目的时候是可以运行的,但是修改部分代码后,项目没报错,但tomcat就启动不了了. 报错内容是:Server Tomcat v8.0 Server at localhost failed to start. 请各位帮忙看看是怎么回事. 解决方案 看下配置文件,配置的问题,没有启动 解决方案二: tomcat 启动报错touch Linux中IDEA 下启动tomcat报错tomcat启动报错,以下是错误日志 解决方案三: 你给出的报错信息

tomcat启动报错这个怎么解决?

问题描述 tomcat启动报错这个怎么解决? 解决方案 tomcat(错误一) 解决启动报错问题一tomcat启动报错tomcat启动报错原因分析及解决 解决方案二: 配置有误?可以重新启动或重新部署tomcat 解决方案三: 换个绿色版的tomcat,重新部署下.

ssh事务-SSH配置事务tomcat启动报错问题

问题描述 SSH配置事务tomcat启动报错问题 tomcat启动报错: 严重: Exception sending context initialized event to listener instance of class org.apache.struts.plugin.PluginContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with

tomcat启动报错

myeclipse tomcat 启动报错,但是不影响访问. 解决问题: 各种查询,只看到相同的问题,没有发现有效的解决办法. 最后的解决是,更换了tomcat,使用了一个免安装的tomcat 8.0.5,启动正常了. 问题如下: 七月 22, 2016 10:15:32 上午 org.apache.catalina.core.AprLifecycleListener init 信息: The APR based Apache Tomcat Native library which allows

Tomcat启动报错:java.lang.IllegalArgumentException: Can&amp;#39;t convert argument:null

一.发现问题为了避免导入的项目重名,我先修改了前一个项目的名称. 重新启动该项目至tomcat,报错:java.lang.IllegalArgumentException: Can't convert argument: null   二.发现问题因为MyEclipse在修改项目名时候,自动更新部署了web.xml文件 并且重新生成了xml文件的头部声明. 新增了java的命名把这个javaee去掉就可以了,一般情况下他会修改servlet的配置. <filter>      <filt

tomcat启动报错-Tomcat 启动报错 好像说mysql连接数超了 求帮助

问题描述 Tomcat 启动报错 好像说mysql连接数超了 求帮助 014-06-12 10:37:06500 ERROR [com.neusoft.common.CommonDao] - 公共模块-初始化字典表失败 org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure due to underlying exception

eclips tomcat启动报错

问题描述 eclips tomcat启动报错 启动tomcat时报错了,错误如下: erver Tomcat v6.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor. 搜了一下,说是将timeouts-start的值设置大一点,但是这样也不行啊 以前也遇到这种情况

tld-linux tomcat 启动报错不能运行jar包

问题描述 linux tomcat 启动报错不能运行jar包 WARNING: Failed to process JAR [jar:file:/root/tomcat7.2/webapps/sms/WEB-INF/lib/axis2-kernel-1.4.1.jar!/] for TLD files java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method)