Eclipse is being a pain

Discussion in 'Plugin Development' started by Patrick Wrobel, Mar 5, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Patrick Wrobel

    It seems as though any changes that make to one of my classes is not being recompiled which leads to me getting a no such field exception during run time. When I make a change, I save the file and then export the jar. What am I doing wrong? It has always worked fine like this before...
     
  2. Offline

    obnoxint

    This sounds to me like your workspace is not synchronized with the local file system. Try this:
    Click on Project > Clean... > Choose your Project
    Then right-click the project in the Project Explorer and click Refresh
    Export your project again and make sure, that you choose all classes you need to export (usually the whole src-folder).
     
  3. Offline

    Patrick Wrobel

    Thanks for the quick reply. I followed each of your steps, however, I'm getting the same errors. I just updated Eclipse and now I am going to update Java from 1.6 to 1.7 to see if that changes anything. And, in case anyone is wondering, I have made sure that I'm using the same bukkit and craftbukkit versions (1.2.3-R0.1).
     
Thread Status:
Not open for further replies.

Share This Page