[NOT SOLVED] Eclipse Issue On Jar Creation

Discussion in 'Plugin Development' started by ShootToMaim, Dec 1, 2011.

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

    ShootToMaim

    Wtf.
    That's what came to my mind when I saw this error:
    Class files on classpath are not found or not accessible for: BLAH BLAH BLAH

    Help please!
     
  2. Offline

    TopGear93

    sounds like a permissions issue within the pc. do you own your pc or is it shared within your family/other ppl
     
  3. Offline

    ShootToMaim

    Owned by me. Only me. Only my account on my PC. I'm admin on my PC too...
     
  4. Offline

    TopGear93

  5. Offline

    TheFieldZy

    Just to make sure, did you refresh your project before creating the jar? (You can refresh the project by hitting F5)
     
  6. Offline

    ShootToMaim

    Nope. I'll try now.
    EDIT: Didn't work.

    Can you write down the steps here? Sorry, i'm new to eclipse...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 21, 2016
  7. Offline

    TopGear93

    lol it explains the steps right in the blog.
     
  8. Offline

    ShootToMaim

    Not clearly though. So, once again, could you PLEASE post the steps? Thanks!
     
  9. Offline

    Jogy34

    Here are the steps to exporting the .jar from eclipse:
    1. File
    2. Export
    3. Java
    4. JAR File
    5. Next
    6. Find Plugin
    7. click on it
    8. click the check-box (different from the previous step)
    9. make sure the .classpath and .project are checked
    10. Choose the destination of the .jar where it says 'select export destination'
    11. click finish
    That is every step I take every time I want to export it. I hope this helps you:D
     
  10. Offline

    TehRandomGuy

    To solve this issue, switch to Maven to compile your projects.
    It automatically downloads all your dependencies and is as easy as running a command ie. 'mvn compile package'.
     
  11. Offline

    Daniel Heppner

    THIS.
    And if you want an IDE that both works better and has better Maven support than Eclipse, try out Intellij's IDEA.
     
  12. Offline

    TehRandomGuy

    I'll go do that!
    EDIT: I assume just use the Community Edition, right?
     
  13. Offline

    ShootToMaim

    I don't even know how to make a .classpath and a .project, so why would I check it? If I check it, the jar creation would fail because it isn't even MADE. ;P
     
  14. Offline

    Jogy34

    Eclipse should automatically make them for you. If it doesn't then there is something wrong with eclipse.
     
  15. Offline

    bellegueule

    Pm send to try to fix the problem
     
  16. Offline

    kreashenz

    The problem is caused by one of the class files being completely empty. @belleguele why bring such an old post back to life?
     
  17. Offline

    bellegueule

    kreashenz was on the top with the tag Not Resolve... i didnt take the time to look the last poster... for me a post in first page is a new post xD


    Edit: someone who obviously delete his post make it come back from the dead
     
  18. Offline

    xize

    I have the same though it seems I whas messing around with a eclipse plugin and changed my project folder to maven now I have a folder called target, when I remove it, I can't compile my plugin, maybe is this also the same case??
     
Thread Status:
Not open for further replies.

Share This Page