<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Caused by: java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException</title>
	<atom:link href="http://www.techpitcher.com/caused-by-javalangnoclassdeffounderror-netsfehcachecacheexception.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.techpitcher.com/caused-by-javalangnoclassdeffounderror-netsfehcachecacheexception.html</link>
	<description></description>
	<lastBuildDate>Tue, 22 Jun 2010 14:46:24 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: karthik</title>
		<link>http://www.techpitcher.com/caused-by-javalangnoclassdeffounderror-netsfehcachecacheexception.html/comment-page-1#comment-232</link>
		<dc:creator>karthik</dc:creator>
		<pubDate>Thu, 07 Jan 2010 08:52:56 +0000</pubDate>
		<guid isPermaLink="false">http://techpitcher.com/?p=30#comment-232</guid>
		<description>i also have the same problem 
In command promt go to ur folder whr ur java file exist and write this 
set classpath=%classpath%;.;  
it works.</description>
		<content:encoded><![CDATA[<p>i also have the same problem<br />
In command promt go to ur folder whr ur java file exist and write this<br />
set classpath=%classpath%;.;<br />
it works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gajendra Kumar Garg</title>
		<link>http://www.techpitcher.com/caused-by-javalangnoclassdeffounderror-netsfehcachecacheexception.html/comment-page-1#comment-184</link>
		<dc:creator>Gajendra Kumar Garg</dc:creator>
		<pubDate>Tue, 09 Jun 2009 10:42:25 +0000</pubDate>
		<guid isPermaLink="false">http://techpitcher.com/?p=30#comment-184</guid>
		<description>This problem is realated to Classloading problems - you have the two jars inside different classloaders . Make sure that Hibernate and ehcache jar are in the same dir (thus the same classpath and classloader) and make sure there are no duplicates or older versions.</description>
		<content:encoded><![CDATA[<p>This problem is realated to Classloading problems &#8211; you have the two jars inside different classloaders . Make sure that Hibernate and ehcache jar are in the same dir (thus the same classpath and classloader) and make sure there are no duplicates or older versions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gautam</title>
		<link>http://www.techpitcher.com/caused-by-javalangnoclassdeffounderror-netsfehcachecacheexception.html/comment-page-1#comment-9</link>
		<dc:creator>Gautam</dc:creator>
		<pubDate>Fri, 26 Sep 2008 17:14:01 +0000</pubDate>
		<guid isPermaLink="false">http://techpitcher.com/?p=30#comment-9</guid>
		<description>Since you are getting NoClassDefFoundError and not ClassNotFoundException, it means the JAR is there in your classpath but classloader is not able to load this class. May be due to version mismatch. Like you are using JDK1.4 and trying to use a class complied in JDK1.5 or above version. Link might help:
http://www.jroller.com/sjivan/entry/difference_between_classnotfoundexception_and_noclassdeffounderror</description>
		<content:encoded><![CDATA[<p>Since you are getting NoClassDefFoundError and not ClassNotFoundException, it means the JAR is there in your classpath but classloader is not able to load this class. May be due to version mismatch. Like you are using JDK1.4 and trying to use a class complied in JDK1.5 or above version. Link might help:<br />
<a href="http://www.jroller.com/sjivan/entry/difference_between_classnotfoundexception_and_noclassdeffounderror" rel="nofollow">http://www.jroller.com/sjivan/entry/difference_between_classnotfoundexception_and_noclassdeffounderror</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhishek</title>
		<link>http://www.techpitcher.com/caused-by-javalangnoclassdeffounderror-netsfehcachecacheexception.html/comment-page-1#comment-4</link>
		<dc:creator>Abhishek</dc:creator>
		<pubDate>Wed, 10 Sep 2008 18:01:28 +0000</pubDate>
		<guid isPermaLink="false">http://techpitcher.com/?p=30#comment-4</guid>
		<description>You are missing ehcache.jar from your class path. You must include this jar to get rid of the exception. If you don’t have this jar, you can download it from &lt;a href=&#039;http://sourceforge.net/project/showfiles.php?group_id=93232&amp;package_id=98840&amp;release_id=612959&#039; rel=&quot;nofollow&quot;&gt; here&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>You are missing ehcache.jar from your class path. You must include this jar to get rid of the exception. If you don’t have this jar, you can download it from <a href='http://sourceforge.net/project/showfiles.php?group_id=93232&amp;package_id=98840&amp;release_id=612959' rel="nofollow"> here</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
