1. org.apache.tomcat.util.digester.Digester.startElement Begin event threw exception
  2. java.lang.ClassNotFoundException: com.radiadesign.catalina.session.RedisSessionHandlerValve
  3. at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
  4. at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
  5. at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  6. at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:116)
  7. at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1236)
  8. at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
  9. at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
  10. at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1339)
  11. at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
  12. at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
  13. at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
  14. at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
  15. at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
  16. at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
  17. at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
  18. at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
  19. at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1504)
  20. at org.apache.catalina.startup.ContextConfig.processContextConfig(ContextConfig.java:537)
  21. at org.apache.catalina.startup.ContextConfig.contextConfig(ContextConfig.java:475)
  22. at org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:738)
  23. at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:310)
  24. at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
  25. at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:395)
  26. at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:108)
  27. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140)
  28. at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
  29. at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
  30. at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
  31. at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1144)
  32. at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1878)
  33. at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  34. at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  35. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  36. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  37. at java.lang.Thread.run(Thread.java:748)

查看tomcat下context.xml文件

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9.  
  10. http://www.apache.org/licenses/LICENSE-2.0
  11.  
  12. Unless required by applicable law or agreed to in writing, software
  13. distributed under the License is distributed on an "AS IS" BASIS,
  14. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. See the License for the specific language governing permissions and
  16. limitations under the License.
  17. -->
  18. <!-- The contents of this file will be loaded for each web application -->
  19. <Context>
  20.  
  21. <!-- Default set of monitored resources. If one of these changes, the -->
  22. <!-- web application will be reloaded. -->
  23. <WatchedResource>WEB-INF/web.xml</WatchedResource>
  24. <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>
  25.  
  26. <!-- Uncomment this to disable session persistence across Tomcat restarts -->
  27. <!--
  28. <Manager pathname="" />
  29. -->
  30. <Valve className="com.radiadesign.catalina.session.RedisSessionHandlerValve" />
  31. <Manager className="com.radiadesign.catalina.session.RedisSessionManager"
  32. host="localhost"
  33. port="6379"
  34. database="0"
  35. maxInactiveInterval="60" />
  36. </Context>

饮鸩止渴,把

  1. <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>
  2.  
  3. <Valve className="com.radiadesign.catalina.session.RedisSessionHandlerValve" />
  4. <Manager className="com.radiadesign.catalina.session.RedisSessionManager"
  5. host="localhost"
  6. port="6379"
  7. database="0"
  8. maxInactiveInterval="60" />

注释掉,就启动正常了。深层原因以后再研究吧

java.lang.ClassNotFoundException: com.radiadesign.catalina.session.RedisSessionHandlerValve的更多相关文章

  1. java.lang.ClassNotFoundException: org.apache.catalina.loader.DevLoader

    eclipse tomcat报错:org.apache.catalina.loader.DevLoader java.lang.ClassNotFoundException: org.apache.c ...

  2. 【报错】java.lang.ClassNotFoundException: org.apache.ibatis.session.SqlSession

    报错 java.lang.ClassNotFoundException: org.apache.ibatis.session.SqlSession 或者 java.lang.ClassNotFound ...

  3. java.lang.ClassNotFoundException: org.apache.catalina.startup.VersionLoggerListener

    解决办法 找到Tomcat配置文件server.xml   apache-tomcat-7.0.57/conf 将<Listener className="org.apache.cat ...

  4. org.apache.catalina.core.StandardContext.listenerStart Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException

    使用Intelij Idea时,报错如下: org.apache.catalina.core.StandardContext.listenerStart Error configuring appli ...

  5. springmvc项目中java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

    java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener 严重: Error co ...

  6. myeclipe eclipse 常遇问题:Some projects cannot be imported 、java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver、The file connot be validate

    1.Some projects cannot be imported because they already exist in the workspace 2.Some projects were ...

  7. Caused by: java.lang.ClassNotFoundException: ognl.PropertyAccessor

    1.错误描述 usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help ...

  8. Caused by: java.lang.ClassNotFoundException: org.hibernate.service.jta.platform.spi.JtaPlatform

    1.错误描述 2014-7-12 22:08:01 org.hibernate.tool.hbm2ddl.SchemaUpdate execute INFO: HHH000232: Schema up ...

  9. SpringMVC Maven项目 java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServle

    今天在搭建SpringMVC开发框架时,遇到了一个问题,尽管在maven的POM.xml文件中配置了项目所依赖的jar包,但在启动项目是已然报错如下: 信息: Starting Servlet Eng ...

随机推荐

  1. Web程序员必备的CSS工具

    对于web开发来说,CSS是最有效的美化页面.设置页面布局的技术.但问题是,CSS是一种标记性语言,语法结构非常的松散.不严谨.WEB程序员会经常发现自己的或别人的CSS文件里有大量的冗余代码或错误或 ...

  2. SpringCloud学习笔记(7)——Sleuth

    Part VII. Spring Cloud Sleuth 46. Introduction Spring Cloud Sleuth为Spring Cloud实现了分布式的跟踪解决方案 46.1 Te ...

  3. Qt 地址薄 (二) 添加地址

    在上一篇 Qt 地址薄 (一) 界面设计 中,主要是实现了地址簿的界面,使用布局管理器进行元素的布局,并解释了"子类化" 和"所有权"的概念. 本篇将在上面的基 ...

  4. 简单的vuex 的使用

    1. npm install vuex 2. 在src 下 新建文件夹 store (为什么是这个单词,vuex 是用来状态管理的,用储存一些组件的状态,取存贮之意),store 文件下 新建文件 i ...

  5. 基于Flask实现博客开发--准备工作

    背景说明 本项目是基于<深入理解flask>一书,主要是用来记录学习历程和交流心得,所以写得不好请大神勿喷. 准备工作 virtualenv介绍 也许 Virtualenv 是你在开发中最 ...

  6. Python中的数据类型以及他们的方法

    数据类型: 1)int i = 100 print(i.bit_length()) ''' bit_length 1 0000 0001 1 2 0000 0010 2 3 0000 0011 2 2 ...

  7. python网络数据采集(低音曲)

    废话不多说,马上开始. 上次我们说到遍历单个域名,今天我们来写一个爬对应词条的脚本,他会遍历整个网址直到爬完对应词条. 代码: from urllib.request import urlopen f ...

  8. Codeforces Round #451 (Div. 2)-898A. Rounding 898B.Proper Nutrition 898C.Phone Numbers(大佬容器套容器) 898D.Alarm Clock(超时了,待补坑)(贪心的思想)

    A. Rounding time limit per test 1 second memory limit per test 256 megabytes input standard input ou ...

  9. HDU_4883

    TIANKENG's restaurant Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/65536 K (Java/O ...

  10. HDFS命令全总结

    .copyFromLocal hadoop fs -copyFromLocal -f dcnew.reg_user_actret.csv /dw/test/reg_user_actret_test # ...