当前位置:首页 > 开发 > 编程语言 > JDK JVM > 正文

编译异常,请高手指教,异常出现在导入crimson.jar包之后,网上的方法我也试过一些,jdk是1.6的

发表于: 2012-04-02   作者:0-0昔视界   来源:转载   浏览:
摘要: 编译异常,请高手指教,异常出现在导入crimson.jar包之后,网上的方法我也试过一些,jdk是1.6的 2012-4-2 8:56:20 org.apache.catalina.core.StandardContext listenerStart 严重: Exception sending context initialized event to listener instance of
编译异常,请高手指教,异常出现在导入crimson.jar包之后,网上的方法我也试过一些,jdk是1.6的
2012-4-2 8:56:20 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanDefinitionStoreException: Parser configuration exception parsing XML from file [F:\Program Files\apache-tomcat-6.0.33\webapps\ROOT\WEB-INF\classes\applicationContext-common.xml]; nested exception is javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider [org.apache.crimson.jaxp.DocumentBuilderFactoryImpl@f4da6d] does not support XML Schema. Are you running on Java 1.4 with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
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:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider [org.apache.crimson.jaxp.DocumentBuilderFactoryImpl@f4da6d] does not support XML Schema. Are you running on Java 1.4 with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
at org.springframework.beans.factory.xml.DefaultDocumentLoader.createDocumentBuilderFactory(DefaultDocumentLoader.java:102)
at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:70)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
... 37 more
Caused by: java.lang.IllegalArgumentException: No attributes are implemented
at org.apache.crimson.jaxp.DocumentBuilderFactoryImpl.setAttribute(DocumentBuilderFactoryImpl.java:93)
at org.springframework.beans.factory.xml.DefaultDocumentLoader.createDocumentBuilderFactory(DefaultDocumentLoader.java:99)
... 39 more
2012-4-2 8:56:20 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2012-4-2 8:56:20 org.apache.catalina.core.StandardContext start
严重: Context [] startup failed due to previous errors
2012-4-2 8:56:20 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
2012-4-2 8:56:21 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2012-4-2 8:56:21 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2012-4-2 8:56:21 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=1/99  config=null
2012-4-2 8:56:21 org.apache.catalina.startup.Catalina start
信息: Server startup in 4299 ms

编译异常,请高手指教,异常出现在导入crimson.jar包之后,网上的方法我也试过一些,jdk是1.6的

  • 0

    开心

    开心

  • 0

    板砖

    板砖

  • 0

    感动

    感动

  • 0

    有用

    有用

  • 0

    疑问

    疑问

  • 0

    难过

    难过

  • 0

    无聊

    无聊

  • 0

    震惊

    震惊

编辑推荐
找错误!多谢啦! #include <iostream> #include <Cmath> using namespace std; int main
1.抛出JasperException异常 解决办法:在工程的WEB-INF/lib下将jsp-api.jar包删掉,网上有一种解决
jvm默认的异常处理机制就是调用printStackTrace方法 对于多异常的处理。应该是定义更具体的异常来捕
前言   MVC在编译时,不会提示View中的错误,我们在发布项目的时候会一个一个的提示异常,项目大
前言   MVC在编译时,不会提示View中的错误,我们在发布项目的时候会一个一个的提示异常,项目大
今天在写一个C#端口扫描器,运行程序时,出现了以下的错误提示信息: 未处理的“System.InvalidOpera
案例一:导入epf文件之后xml及jsp等页面中点击标签之后显示灰白的问题,症状如下: 解决办法如下图
解决Myeclipse中导入epf文件之后xml及jsp等各种页面中的部分显示异常问题 案例一:导入epf文件之后x
这几天一直在纠结这个问题,为什么给进去的数据时一样的,画出来的图却有问题,我刚刚接触ZEDgraph
程序的错误,一种是编译错误,在像eclipse这种时时编译的开发平台上,这一类错误是比较好解决的。另
版权所有 IT知识库 CopyRight © 2009-2015 IT知识库 IT610.com , All Rights Reserved. 京ICP备09083238号