facebook

references just "break"

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

    zambizzi
    Member

    I’ve got an EAR project w/ an EJB and a web project in it. The web project uses Wicket so I created an user library in eclipse and added the wicket jars. The EJB uses JBoss EJB3 so I did the same, created an user library.

    Most times everything goes along just fine…I’m writing code, running it in JBoss…life is good. Then out of the blue…a library reference will just break. Classes can’t be found and there’s red underlines and X’s everywhere. I can then simple remove the library reference and then re-add it…and suddenly life is good again.

    It’s happening rather frequently now and seems to be getting worse….but that’s probably just a coincidence.

    How can I stop this annoyance? Is it a MyEclipse bug? I don’t remember that happening when I was using eclipse and webtools…and I don’t remember it happening before I upgraded to MyEclipse 4.1.1 from 4.1

    I’m using WinXP, Eclipse 3.1.2, and MyEclipse 4.1.1

    Thanks!

    #248829 Reply

    zambizzi
    Member

    Actually, this time it was worse….I had to both close the projects & restart eclipse.

    #248842 Reply

    zambizzi
    Member

    Can *anyone* help out w/ this? It’s becoming seriously frustrating. I can now make changes in my EJB classes that won’t be recognized in my web app…as if the project reference is broken…

    I know for a fact that the methods I added are there but I see “The method getAllCategories() is undefined for the type Products” for example…

    The method is there…but even if I refresh or clean the project the web app will not recognize my changes anymore!

    Please help!

    Thank you.

    #249123 Reply

    zambizzi
    Member

    Anyone??? I’m the only person having this problem? Just a bug then?

    I’ll agree that it’s not severe but it happens every single time I restart eclipse….my User Library references are “broken”…they’re still listed but none of the classes are recognized until I remove and then re-add the reference.

    #249355 Reply

    Riyad Kalla
    Member

    Ok this definately sounds like an install issue or possibly a workspace corruption issue. Assuming that your hard drive isn’t having any errors and everything else is working fine AND that your workspace is on your local drive and not across a network where dropped packets could cause flakiness like this, then this sounds like an install issue.

    First try this, edit your shortcut used to run MyEclipse, and add -clean command line argument and restart. Then make sure all your paths are OK and everything builds.

    If it keeps borking up like this, redownload Eclipse 3.1.2 SDK and MyEclipse 4.1.1, unzip Eclipse to a new location (do not use the old location) and then install MyEclipse 4.1.1 to a new location (again, don’t reuse the old location) then point it (when it starts up) at your existing workspace being sure to use -clean command line argument. After it starts up use that install for a while. If you KEEP loosing your settings then we should try a new workspace. Using File > Export to export your settings, then create a new workspace (File > Switch Workspace) then use File > Import to pull your settings and projects back into your new workspcae. Then work with that for a while.

    Now at this point if you are STILL loosing settings I would start evaluating your system setup. Virus scanners, spyware scanners, hard drive errors, memory errors… things of that nature as this should not be happening (dropping yoru config like this over and over again).

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: references just "break"

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