facebook

Strange ClassNotFoundException in debug

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #485628 Reply

    Alejandro Barrero
    Participant

    I can run classes, but even with

    package com.orm.gui;

    import java.awt.EventQueue;

    public class RunModelFrame {

    public static void main(String[] args) {
    System.out.println(“Hello world”);
    }

    }
    in the debugger it breaks at line 3666 of URLClassLoader:
    throw new ClassNotFoundException(name);

    It must be a problem with my work space, but I don’t know how to solve it.

    Your help will be greatly appreciated,

    Alejandro Barrero

    #485720 Reply

    support-swapna
    Moderator

    Alejandro,

    Sorry that you are seeing this issue.

    Can you please give us some more details?

    1. Can you do a clean rebuild of the workspace and if that does not fix it, try restarting the IDE and check if the issue persists?
    2. Can you please try debugging on a different server to rule out server specific issues?
    3. To rule out workspace specific issues, please check if the issue persists in a new workspace.
    4. If none of the above suggestions help, then please send us the .log file located at <workspace dir>/.metadata/.log for further investigation. Before sending us the file, delete its contents and replicate the issue with debug.
    5. Also please share with us the MyEclipse Installation Details from menu MyEclipse > Installation Summary > Installation Details along with the server and version details.
    6. Please also share with us the version of the JDK configured in MyEclipse (Window > Preferences > Java > Installed JREs) and the Java version of your project.

    Let us know how it works for you.

    –Swapna
    MyEclipse Support

    #485732 Reply

    Alejandro Barrero
    Participant

    I did all to no avail. For 6, I use java 8. I had to create a new work space and copy the code; therefore the problem was with the work space .

    #485746 Reply

    support-swapna
    Moderator

    Alejandro,

    The issue may be caused due to workspace corruption possibly by a bad MyEclipse/ Windows shutdown. You can also try deleting the project from the old workspace (be careful not to delete from disk), and then re-import the project to see if the issue is fixed. If it does not work, then please continue working with the new workspace.

    Apologies for inconvenience caused.Let us know if you see any issues.

    –Swapna
    MyEclipse Support

    #485759 Reply

    Alejandro Barrero
    Participant

    Thanks, I did that.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Strange ClassNotFoundException in debug

You must be logged in to post in the forum log in