<?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: Java: Exception in thread main java.lang.NoClassDefFoundError</title>
	<atom:link href="http://www.tech-recipes.com/rx/826/java-exception-in-thread-main-javalangnoclassdeffounderror/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-recipes.com/rx/826/java-exception-in-thread-main-javalangnoclassdeffounderror/</link>
	<description>Computer and technology tutorials and guides</description>
	<lastBuildDate>Sat, 21 Nov 2009 21:54:54 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: irfansiddique</title>
		<link>http://www.tech-recipes.com/rx/826/java-exception-in-thread-main-javalangnoclassdeffounderror/comment-page-2/#comment-16406</link>
		<dc:creator>irfansiddique</dc:creator>
		<pubDate>Wed, 18 Nov 2009 03:40:27 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-16406</guid>
		<description>yes.. a dot .. it means, that it will search for classes bytecode in the current directory !&lt;br&gt;&lt;br&gt;you can also tell java to search the current directory with the -classpath parameter&lt;br&gt;&lt;br&gt;&gt; java -classpath . Hello&lt;br&gt;&lt;br&gt;Problems like this can really discourage java newbies, and that moment was very embarassing :)</description>
		<content:encoded><![CDATA[<p>yes.. a dot .. it means, that it will search for classes bytecode in the current directory !</p>
<p>you can also tell java to search the current directory with the -classpath parameter</p>
<p>&gt; java -classpath . Hello</p>
<p>Problems like this can really discourage java newbies, and that moment was very embarassing :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: neusbloed</title>
		<link>http://www.tech-recipes.com/rx/826/java-exception-in-thread-main-javalangnoclassdeffounderror/comment-page-2/#comment-16363</link>
		<dc:creator>neusbloed</dc:creator>
		<pubDate>Mon, 16 Nov 2009 08:11:13 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-16363</guid>
		<description>Crimson you finally made me understand why I was doing it not properly. I use Eclipse too. I&#039;m going to feel really dumb now but I&#039;m really happy I can run my files.</description>
		<content:encoded><![CDATA[<p>Crimson you finally made me understand why I was doing it not properly. I use Eclipse too. I&#39;m going to feel really dumb now but I&#39;m really happy I can run my files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan</title>
		<link>http://www.tech-recipes.com/rx/826/java-exception-in-thread-main-javalangnoclassdeffounderror/comment-page-2/#comment-16305</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Fri, 13 Nov 2009 11:30:49 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-16305</guid>
		<description>I just started learning java using the Eclipse IDE. My java for idiots book (ok for dummies) gave me some code that uses swing to produce a message box. There are 2 classes (the book is demonstrating objects).&lt;br&gt;It ran fine from within eclipse, but if I tried running it from a command line it wouldn&#039;t work. I got the java.lang.NoClassDefFoundError.&lt;br&gt;I&#039;ve searched the net and tried the -classpath . approach and still had no joy.&lt;br&gt;I then found a post here&lt;br&gt;&lt;a href=&quot;http://bytes.com/topic/java/answers/15627-java-lang-noclassdeffounderror#post63668&quot; rel=&quot;nofollow&quot;&gt;http://bytes.com/topic/java/answers/15627-java-...&lt;/a&gt;&lt;br&gt;which refers to the package name as being an issue. I tried following the instructions but still had the issue. Eventually I removed the package definition from both my source files, recompiled and it runs fine. No classpath definition needed.&lt;br&gt;&lt;br&gt;Cheers&lt;br&gt;Alan&lt;br&gt;W00t !</description>
		<content:encoded><![CDATA[<p>I just started learning java using the Eclipse IDE. My java for idiots book (ok for dummies) gave me some code that uses swing to produce a message box. There are 2 classes (the book is demonstrating objects).<br />It ran fine from within eclipse, but if I tried running it from a command line it wouldn&#39;t work. I got the java.lang.NoClassDefFoundError.<br />I&#39;ve searched the net and tried the -classpath . approach and still had no joy.<br />I then found a post here<br /><a href="http://bytes.com/topic/java/answers/15627-java-lang-noclassdeffounderror#post63668" rel="nofollow"></a><a href="http://bytes.com/topic/java/answers/15627-java-.." rel="nofollow">http://bytes.com/topic/java/answers/15627-java-..</a>.<br />which refers to the package name as being an issue. I tried following the instructions but still had the issue. Eventually I removed the package definition from both my source files, recompiled and it runs fine. No classpath definition needed.</p>
<p>Cheers<br />Alan<br />W00t !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: puneeth_n</title>
		<link>http://www.tech-recipes.com/rx/826/java-exception-in-thread-main-javalangnoclassdeffounderror/comment-page-2/#comment-16113</link>
		<dc:creator>puneeth_n</dc:creator>
		<pubDate>Fri, 06 Nov 2009 04:14:43 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-16113</guid>
		<description>thanks a lot it was really heplful..</description>
		<content:encoded><![CDATA[<p>thanks a lot it was really heplful..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bancio</title>
		<link>http://www.tech-recipes.com/rx/826/java-exception-in-thread-main-javalangnoclassdeffounderror/comment-page-2/#comment-16070</link>
		<dc:creator>Bancio</dc:creator>
		<pubDate>Wed, 04 Nov 2009 02:27:44 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-16070</guid>
		<description>Thanks ... this works for me... I have been seem this type before but I was typeing &#039;.&#039; close to &#039;-classpath&#039; ...</description>
		<content:encoded><![CDATA[<p>Thanks &#8230; this works for me&#8230; I have been seem this type before but I was typeing &#39;.&#39; close to &#39;-classpath&#39; &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chip41092</title>
		<link>http://www.tech-recipes.com/rx/826/java-exception-in-thread-main-javalangnoclassdeffounderror/comment-page-2/#comment-15931</link>
		<dc:creator>Chip41092</dc:creator>
		<pubDate>Wed, 28 Oct 2009 10:11:26 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-15931</guid>
		<description>Ya, I&#039;ve read all of these comments and have no clue where to type the java -classpath . XYZ</description>
		<content:encoded><![CDATA[<p>Ya, I&#39;ve read all of these comments and have no clue where to type the java -classpath . XYZ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thunder9751</title>
		<link>http://www.tech-recipes.com/rx/826/java-exception-in-thread-main-javalangnoclassdeffounderror/comment-page-2/#comment-15886</link>
		<dc:creator>Thunder9751</dc:creator>
		<pubDate>Tue, 27 Oct 2009 03:40:06 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-15886</guid>
		<description>how do you execute it with THAT command? like what do you do? where do you type that in (java -classpath)?</description>
		<content:encoded><![CDATA[<p>how do you execute it with THAT command? like what do you do? where do you type that in (java -classpath)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 007varun</title>
		<link>http://www.tech-recipes.com/rx/826/java-exception-in-thread-main-javalangnoclassdeffounderror/comment-page-2/#comment-15626</link>
		<dc:creator>007varun</dc:creator>
		<pubDate>Wed, 14 Oct 2009 07:29:02 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-15626</guid>
		<description>is it a problem of program?.</description>
		<content:encoded><![CDATA[<p>is it a problem of program?.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://www.tech-recipes.com/rx/826/java-exception-in-thread-main-javalangnoclassdeffounderror/comment-page-2/#comment-15280</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Sun, 27 Sep 2009 17:20:11 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-15280</guid>
		<description>I had this issue on linux. Turned out it was simply that the path had a space in it. When this was changed it worked fine.</description>
		<content:encoded><![CDATA[<p>I had this issue on linux. Turned out it was simply that the path had a space in it. When this was changed it worked fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shobana</title>
		<link>http://www.tech-recipes.com/rx/826/java-exception-in-thread-main-javalangnoclassdeffounderror/comment-page-2/#comment-15170</link>
		<dc:creator>shobana</dc:creator>
		<pubDate>Tue, 22 Sep 2009 10:26:37 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-15170</guid>
		<description>Exception in thread &quot;main&quot; java.lang.NoClassDefFoundError: org/apache/xml/serializer/TreeWalker&lt;br&gt;        at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:823)&lt;br&gt;        at com.pg.EDICustomize.EDISplit204.generateTarget(EDISplit204.java:353)&lt;br&gt;        at com.pg.EDICustomize.EDISplit204.execute(EDISplit204.java:99)&lt;br&gt;        at com.pg.EDICustomize.EDISplit204.main(EDISplit204.java:392)&lt;br&gt;Caused by: java.lang.ClassNotFoundException: org.apache.xml.serializer.TreeWalker&lt;br&gt;        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)&lt;br&gt;        at java.security.AccessController.doPrivileged(Native Method)&lt;br&gt;        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)&lt;br&gt;        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)&lt;br&gt;        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)&lt;br&gt;        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)&lt;br&gt;        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)&lt;br&gt;        ... 4 more&lt;br&gt;Java Result: 1&lt;br&gt;BUILD SUCCESSFUL (total time: 2 seconds)&lt;br&gt;&lt;br&gt;i got this error please help me to resolve this</description>
		<content:encoded><![CDATA[<p>Exception in thread &#8220;main&#8221; java.lang.NoClassDefFoundError: org/apache/xml/serializer/TreeWalker<br />        at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:823)<br />        at com.pg.EDICustomize.EDISplit204.generateTarget(EDISplit204.java:353)<br />        at com.pg.EDICustomize.EDISplit204.execute(EDISplit204.java:99)<br />        at com.pg.EDICustomize.EDISplit204.main(EDISplit204.java:392)<br />Caused by: java.lang.ClassNotFoundException: org.apache.xml.serializer.TreeWalker<br />        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)<br />        at java.security.AccessController.doPrivileged(Native Method)<br />        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)<br />        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)<br />        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)<br />        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)<br />        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)<br />        &#8230; 4 more<br />Java Result: 1<br />BUILD SUCCESSFUL (total time: 2 seconds)</p>
<p>i got this error please help me to resolve this</p>
]]></content:encoded>
	</item>
</channel>
</rss>
