﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-Terry Zou-随笔分类-Androidpn</title><link>http://www.blogjava.net/ZouYonghui/category/53602.html</link><description /><language>zh-cn</language><lastBuildDate>Mon, 01 Jul 2013 08:42:06 GMT</lastBuildDate><pubDate>Mon, 01 Jul 2013 08:42:06 GMT</pubDate><ttl>60</ttl><item><title>java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener  </title><link>http://www.blogjava.net/ZouYonghui/archive/2013/07/01/401101.html</link><dc:creator>Terry Zou</dc:creator><author>Terry Zou</author><pubDate>Mon, 01 Jul 2013 03:54:00 GMT</pubDate><guid>http://www.blogjava.net/ZouYonghui/archive/2013/07/01/401101.html</guid><wfw:comment>http://www.blogjava.net/ZouYonghui/comments/401101.html</wfw:comment><comments>http://www.blogjava.net/ZouYonghui/archive/2013/07/01/401101.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/ZouYonghui/comments/commentRss/401101.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/ZouYonghui/services/trackbacks/401101.html</trackback:ping><description><![CDATA[<p><span>java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener&nbsp; </span></p><pre style="display: none;" class="java" title="java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderL" pre_index="0" source_url="http://sucre.iteye.com/blog/530871" codeable_type="Blog" codeable_id="530871" name="code">java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener</pre><p>1.出现这个问题的原因有可能的其中一点就是spring的jar包没有被加载，有的时候没有拷spring的jar包会出现这个错误，但是当你拷了以后这个错误并没有消失的时候就说明jar包没有被加载，切记spring的jar包一定要放在工程的lib下这样才能避免这个错误的发生。<br />2.使用了重复的类库，且版本不一致。导致低版本的被优先使用。比如今天遇到一种情况在tomcat服务器使用了axis2.war包，当启动tomcat的时候，axis2.war包会自动解压，之后再该项目包里有相关的spring包，所以当有另外一个工程要到spring时，就有可能要到axis2的spring包，如果版本不一致就会导致该问题，解决的方法就是让该项目不受axis2项目包的影响。</p><img src ="http://www.blogjava.net/ZouYonghui/aggbug/401101.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/ZouYonghui/" target="_blank">Terry Zou</a> 2013-07-01 11:54 <a href="http://www.blogjava.net/ZouYonghui/archive/2013/07/01/401101.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>androidpn(本文服务器为tomcat)</title><link>http://www.blogjava.net/ZouYonghui/archive/2013/05/24/399731.html</link><dc:creator>Terry Zou</dc:creator><author>Terry Zou</author><pubDate>Fri, 24 May 2013 09:05:00 GMT</pubDate><guid>http://www.blogjava.net/ZouYonghui/archive/2013/05/24/399731.html</guid><wfw:comment>http://www.blogjava.net/ZouYonghui/comments/399731.html</wfw:comment><comments>http://www.blogjava.net/ZouYonghui/archive/2013/05/24/399731.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/ZouYonghui/comments/commentRss/399731.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/ZouYonghui/services/trackbacks/399731.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: --------------------------------------------------(一)androidpn-server服务器端启动的理解和分析-----------------------------------------------&nbsp;&nbsp;&nbsp;&nbsp;在Androidpn的底层主要采用的两大框架mina和openfire两大框架，其中mi...&nbsp;&nbsp;<a href='http://www.blogjava.net/ZouYonghui/archive/2013/05/24/399731.html'>阅读全文</a><img src ="http://www.blogjava.net/ZouYonghui/aggbug/399731.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/ZouYonghui/" target="_blank">Terry Zou</a> 2013-05-24 17:05 <a href="http://www.blogjava.net/ZouYonghui/archive/2013/05/24/399731.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>