title: java.lang.NoClassDefFoundError: - wrong name:
body: <p>Am trying to Run a Java Application, where the Error thrown is</p>
  
  <pre><code>5 18:38:06,271 ERROR [STDERR] Caused by: java.lang.NoClassDefFoundError: com/lucene/search/LuceneSearchModule  (wrong name: com/util/search/LuceneSearchModule)
  2013-05-05 18:38:06,271 ERROR [STDERR]  at java.lang.ClassLoader.defineClass1(Native Method)
  </code></pre>
  
  <p>Below is my Java Program Code which calls the method -</p>
  
  <pre><code>package com.lucene.index;
  import com.lucene.search.LuceneSearchModule;
  public class LuceneAccess
  { ....
  LuceneSearchModule.get(....);
  ... }
  
  package com.lucene.search;
  public class LuceneSearchModule
  { .... }
  </code></pre>
  
  <p>I have placed the LuceneSearchModule class file under com/lucene/search &amp; com/util/search,, but not sure why the error is thrown</p>