Exception sending context initialized ... org.springframework.web.context.ContextLoaderListener
来源:互联网 发布:proface触摸屏软件下载 编辑:程序博客网 时间:2024/06/06 23:56
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from file [C:\D\apache\tomcat\apache-tomcat-7.0.69\wtpwebapps\weixinweb\WEB-INF\classes\applicationContext.xml]; nested exception is com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 3 字节的 UTF-8 序列的字节 3 无效。
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:410)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:217)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:188)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:452)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5068)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5584)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1572)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1562)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
这种情况可能是maven编译项目的编码问题,需要在pom文件中,指定build的编码:
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
然后maven重新打包,clean package
- Exception sending context initialized ... org.springframework.web.context.ContextLoaderListener
- Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
- Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
- Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
- 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListe
- Exception sending context initialized event to listener instance of class org.springframework.web.ut
- Exception sending context initialized event to listener instance of class org.springframework.web.co
- Exception sending context initialized event to listener instance of class org.springframework.web.co
- Exception sending context initialized event to listener instance of class org.springframework.web.co
- Exception sending context initialized event to listener instance of class org.springframework.web.co
- Exception sending context initialized event to listener instance of class org.springframework.web.co
- Exception sending context initialized event to listener instance of class org.springframework.web.co
- Exception sending context initialized event to listener instance of class org.springframework.web.co
- : Exception sending context initialized event to listener instance of class org.springframework.web.
- Exception sending context initialized event to listener instance of class org.springframework.web.co
- Exception sending context initialized event to listener instance of class org.springframework.web.co
- Exception sending context initialized event to listener instance of class org.springframework.web.co
- Exception sending context initialized event to listener instance of class org.springframework.web.co
- 计算机视觉领域研究资源及期刊、会议介绍
- mac系统下nginx+php+mysql环境的搭建
- LINUX内核面试题
- Button点击事件的四种实现
- poi操作ppt创建表格
- Exception sending context initialized ... org.springframework.web.context.ContextLoaderListener
- JVM 类的加载初始化
- node-webkit:开发桌面+WEB混合型应用的神器
- CodeIgniter学习笔记 Item2--CI中的MVC
- atoi()和atof()函数
- spring中表单提交问题 400
- 关于acm题型
- 32位与64位
- base 和this的区别