<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Rule of Tech &#187; ide</title>
	<atom:link href="http://ruleoftech.com/journal/tag/ide/feed" rel="self" type="application/rss+xml" />
	<link>http://ruleoftech.com</link>
	<description>Everything and nothing but still something about Tech</description>
	<lastBuildDate>Fri, 16 Jul 2010 16:27:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Eclipse: Class file name must end with .class exception in search</title>
		<link>http://ruleoftech.com/journal/eclipse-class-file-name-must-end-with-class-exception-in-search</link>
		<comments>http://ruleoftech.com/journal/eclipse-class-file-name-must-end-with-class-exception-in-search#comments</comments>
		<pubDate>Wed, 04 Nov 2009 10:50:03 +0000</pubDate>
		<dc:creator>Marko</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[problems]]></category>

		<guid isPermaLink="false">http://ruleoftech.wordpress.com/?p=52</guid>
		<description><![CDATA[Eclipse is nice IDE but it has it&#8217;s own problems. This time the Java Search and Open Type -search produced an error saying &#8220;Class file name must end with .class&#8221;. Very helpfull. Fortunately almost all the answers in the world can be found in the Internet and so with a quick googling the solution to [...]]]></description>
			<content:encoded><![CDATA[<p>Eclipse is nice IDE but it has it&#8217;s own problems. This time the Java Search and Open Type -search produced an error saying &#8220;Class file name must end with .class&#8221;. Very helpfull. Fortunately almost all the answers in the world can be found in the Internet and so with a quick googling the solution to this annoying problem was found on <a href="http://stackoverflow.com/questions/6816/eclipse-class-file-name-must-end-with-class-exception-in-java-search">Stack Overflow</a>.</p>
<p>I had already tried Project -&gt; Clean&#8230; and closing Eclipse, deleting all the built class files and restarting Eclipse to no avail as was the original question author. The right answer lies in deleting the corrupted search index which is explained in <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=269820#c9">Eclipse bug&#8217;s #269820 comment</a>.</p>
<p>How to delete the search index:</p>
<ol>
<li>Close Eclipse</li>
<li>Delete workspace/.metadata/.plugins/org.eclipse.jdt.core/*.index</li>
<li>Delete workspace/.metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt</li>
<li>Start Eclipse again</li>
</ol>
<p>This fixed the issue for me.</p>
<h2  class="related_post_title">Related journal entries</h2><ul class="related_post"><li><a href="http://ruleoftech.com/journal/samba-performance-problem-after-kernel-update" title="Samba performance problem after kernel update">Samba performance problem after kernel update</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://ruleoftech.com/journal/eclipse-class-file-name-must-end-with-class-exception-in-search/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
