- 浏览: 4368 次
- 性别:
- 来自: 深圳
文章分类
最新评论
tomcat启动时初始化失败,求解决
ERROR [ContextLoader.java:204] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'framework-page' defined in class path resource [framework-common.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.surfilter.framework.orm.support.MySqlPage]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems:
The type MySqlPage must implement the inherited abstract method IPage.getLimitString(String, int, int)
Implicit super constructor Object() is undefined for default constructor. Must define an explicit constructor
The method getLogger(String) from the type Logger refers to the missing type String
String cannot be resolved to a type
String cannot be resolved to a type
String cannot be resolved to a type
The method debug(Object) from the type Category refers to the missing type Object
Caused by:
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.surfilter.framework.orm.support.MySqlPage]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems:
The type MySqlPage must implement the inherited abstract method IPage.getLimitString(String, int, int)
Implicit super constructor Object() is undefined for default constructor. Must define an explicit constructor
The method getLogger(String) from the type Logger refers to the missing type String
String cannot be resolved to a type
String cannot be resolved to a type
String cannot be resolved to a type
The method debug(Object) from the type Category refers to the missing type Object
Caused by:
java.lang.Error: Unresolved compilation problems:
The type MySqlPage must implement the inherited abstract method IPage.getLimitString(String, int, int)
Implicit super constructor Object() is undefined for default constructor. Must define an explicit constructor
The method getLogger(String) from the type Logger refers to the missing type String
String cannot be resolved to a type
String cannot be resolved to a type
String cannot be resolved to a type
The method debug(Object) from the type Category refers to the missing type Object
at com.surfilter.framework.orm.support.MySqlPage.<init>(MySqlPage.java:30)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:85)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:757)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:722)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:386)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
三月 10, 2015 11:01:34 上午 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'framework-page' defined in class path resource [framework-common.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.surfilter.framework.orm.support.MySqlPage]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems:
The type MySqlPage must implement the inherited abstract method IPage.getLimitString(String, int, int)
Implicit super constructor Object() is undefined for default constructor. Must define an explicit constructor
The method getLogger(String) from the type Logger refers to the missing type String
String cannot be resolved to a type
String cannot be resolved to a type
String cannot be resolved to a type
The method debug(Object) from the type Category refers to the missing type Object
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.surfilter.framework.orm.support.MySqlPage]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems:
The type MySqlPage must implement the inherited abstract method IPage.getLimitString(String, int, int)
Implicit super constructor Object() is undefined for default constructor. Must define an explicit constructor
The method getLogger(String) from the type Logger refers to the missing type String
String cannot be resolved to a type
String cannot be resolved to a type
String cannot be resolved to a type
The method debug(Object) from the type Category refers to the missing type Object
Caused by: java.lang.Error: Unresolved compilation problems:
The type MySqlPage must implement the inherited abstract method IPage.getLimitString(String, int, int)
Implicit super constructor Object() is undefined for default constructor. Must define an explicit constructor
The method getLogger(String) from the type Logger refers to the missing type String
String cannot be resolved to a type
String cannot be resolved to a type
String cannot be resolved to a type
The method debug(Object) from the type Category refers to the missing type Object
at com.surfilter.framework.orm.support.MySqlPage.<init>(MySqlPage.java:30)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:85)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:757)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:722)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:386)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'framework-page' defined in class path resource [framework-common.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.surfilter.framework.orm.support.MySqlPage]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems:
The type MySqlPage must implement the inherited abstract method IPage.getLimitString(String, int, int)
Implicit super constructor Object() is undefined for default constructor. Must define an explicit constructor
The method getLogger(String) from the type Logger refers to the missing type String
String cannot be resolved to a type
String cannot be resolved to a type
String cannot be resolved to a type
The method debug(Object) from the type Category refers to the missing type Object
Caused by:
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.surfilter.framework.orm.support.MySqlPage]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems:
The type MySqlPage must implement the inherited abstract method IPage.getLimitString(String, int, int)
Implicit super constructor Object() is undefined for default constructor. Must define an explicit constructor
The method getLogger(String) from the type Logger refers to the missing type String
String cannot be resolved to a type
String cannot be resolved to a type
String cannot be resolved to a type
The method debug(Object) from the type Category refers to the missing type Object
Caused by:
java.lang.Error: Unresolved compilation problems:
The type MySqlPage must implement the inherited abstract method IPage.getLimitString(String, int, int)
Implicit super constructor Object() is undefined for default constructor. Must define an explicit constructor
The method getLogger(String) from the type Logger refers to the missing type String
String cannot be resolved to a type
String cannot be resolved to a type
String cannot be resolved to a type
The method debug(Object) from the type Category refers to the missing type Object
at com.surfilter.framework.orm.support.MySqlPage.<init>(MySqlPage.java:30)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:85)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:757)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:722)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:386)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
三月 10, 2015 11:01:34 上午 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'framework-page' defined in class path resource [framework-common.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.surfilter.framework.orm.support.MySqlPage]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems:
The type MySqlPage must implement the inherited abstract method IPage.getLimitString(String, int, int)
Implicit super constructor Object() is undefined for default constructor. Must define an explicit constructor
The method getLogger(String) from the type Logger refers to the missing type String
String cannot be resolved to a type
String cannot be resolved to a type
String cannot be resolved to a type
The method debug(Object) from the type Category refers to the missing type Object
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.surfilter.framework.orm.support.MySqlPage]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems:
The type MySqlPage must implement the inherited abstract method IPage.getLimitString(String, int, int)
Implicit super constructor Object() is undefined for default constructor. Must define an explicit constructor
The method getLogger(String) from the type Logger refers to the missing type String
String cannot be resolved to a type
String cannot be resolved to a type
String cannot be resolved to a type
The method debug(Object) from the type Category refers to the missing type Object
Caused by: java.lang.Error: Unresolved compilation problems:
The type MySqlPage must implement the inherited abstract method IPage.getLimitString(String, int, int)
Implicit super constructor Object() is undefined for default constructor. Must define an explicit constructor
The method getLogger(String) from the type Logger refers to the missing type String
String cannot be resolved to a type
String cannot be resolved to a type
String cannot be resolved to a type
The method debug(Object) from the type Category refers to the missing type Object
at com.surfilter.framework.orm.support.MySqlPage.<init>(MySqlPage.java:30)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:85)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:757)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:722)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:386)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
相关推荐
tomcat启动不了问题处理 解决tomcat启动不了问题
tomcat启动时立即调用quartz执行一次
( Eclipse中Tomcat启动失败的解决方案.txt
ps:不能直接设置0积分,只能设置粉丝免费下载,关注完就能免费下载了,Tomcat启动初始化mqtt连接,并可在全局使用此连接,本来想在网上找找,不过全都是答非所问,最后自己尝试和其他小伙伴讨论,终于测试通过了,...
tomcat-juli.jar 用于在tomcat启动报错时除错
设置Tomcat的初始启动内存方法,会解决Out Of Memory的问题
tomcat启动时执行java自定义方法,一般用于启动时赋值情况。
功能: 在tomcat启动时,就自动执行一servlet,此servlet隔段时间处理某一操作。
tomcat启动管理工具
Tomcat启动时,通过监听器来实现,当tomcat启动时自动地访问本地地servlet。也可以实现访问本地jsp
主要介绍了Tomcat启动成功访问主页失败的原因解决方案的相关资料,需要的朋友可以参考下
tomcat启动时定时循环执行内容(action) 本人亲自编写的小程序,简单易懂,欢迎下载评论!
Tomcat无法正常启动的解决办法 教你如何解决Tomcat无法正常启动 欢迎下载
tomcat 开机启动,dos窗口去掉,tomcat 开机启动,dos窗口去掉
使用Tomcat+Geoserver发布地图数据使用的工具包。将Geoserver解压后文件geoserver.war再次解压,然后放入Tomcat目录webapps目录下。最后运行Tomcat的bin目录下startup.bat启动Tomcat即可
tomcat启动|退出执行事件类: import java.io.File; import java.io.FileWriter; import java.io.IOException; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; import ...
tomcat启动脚本tomcat启动脚本tomcat启动脚本tomcat启动脚本tomcat启动脚本tomcat启动脚本tomcat启动脚本tomcat启动脚本tomcat启动脚本tomcat启动脚本tomcat启动脚本tomcat启动脚本tomcat启动脚本
内嵌式tomcat启动web工程,maven代码 内嵌式tomcat启动web工程,maven代码
Tomcat启动分析以及如何启动 关于tomcat的配置及其代码
windows及linux环境下,tomcat启动参数的设置。在Tomcat上运行j2ee项目代码时,经常会出现内存溢出的情况,解决办法是在系统参数中增加系统参数...