title: What does "redefining module" error in erlang mean?
body: <p>I added the <a href="http://code.google.com/p/mochiweb/source/browse/trunk/src/mochijson2.erl" rel="nofollow">mochijson2.erl</a> module to my ejabberd src directory but when I try to compile the code I get the following error:</p>
  
  <pre><code> ./mochijson2.erl:8: redefining module
  </code></pre>
  
  <p>Where could this module be defined? I don't have it in my source. </p>