facebook

UserLibrary Unbound when restarting eclipse

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

    dream_walker
    Member

    Hi !

    This could be a bug but first I have to check if somebody has encontered this behaviour before. Maybe is not related to MyEclipse.

    I have a WebProject and I have organized all the jar files in a UserLibrary (jars not located in the WEB-INF/lib) and I have configured the project so that the UserLibrary is going to be added to the classpath. It works oki (SmartDeployment and UserLibrary copy jar files enabled).

    But from time to time, when I restart eclipse, the UserLibrary does not load properly??? E.g. right now, after starting Eclipse, In the package_explorer view, the library is listed, but with no plus (like it does not contain any jar files) and in brackets it says (unbound).

    And it behaves as if the jar files contained in the UserLibrary are not found. In order to fix this, I removed the UserLibrary from buildClassPath and I have added it again, and now the application compiles.

    So, do you think this is a bug? Or I might have configured something in a wrong way?

    And if it is a bug, do you think it has something to do with MyEclipse? Should it be reported?

    Thanks
    Alex

    #233899 Reply

    Scott Anderson
    Participant

    Alex,

    I haven’t seen anything like this before, but there could be some sort of issue in the startup sequence with some sort of race condition. What versions of Eclipse/MyEclipse are you using? Is it reproducable reliably? Actually, can you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug.

    #234063 Reply

    dream_walker
    Member

    Windows XP Profesional, SP1
    Eclipse 3.1
    MyEclipse 4.0 Milestone2
    Clearcase plugin installed (IBM) 6.0.24
    Java 1.5.0_04 for running myeclipse
    Java 1.4.2_05 for compiling classes and running web projects (Tomcat4, Tomcat5.0.28)

    The errors that I see in the problems view:
    (1) The project cannot be built until build path problems are resolved.
    (2) Unbound classpath container: ‘My User Library’ in project My Project.

    If I requild the project, I get the same errors. (Project > Clear)

    Pls help. thanks
    Alex

    I cannot post the stack traces. I get an error message from this site saying that I don’t have permissions to access index.php

    Strack traces. I have shut down eclipse in a correct manner.

    !SESSION 2005-08-02 11:37:43.639 ———————————————–
    eclipse.buildId=I20050627-1435
    java.version=1.5.0_04
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86

    !ENTRY org.eclipse.core.resources 2 10035 2005-08-02 11:37:49.961
    !MESSAGE A workspace crash was detected. The previous session did not exit normally.

    !ENTRY com.genuitec.eclipse.wdt.jsp.debug 1 1 2005-08-02 11:38:43.748
    !MESSAGE
    Aug 2, 2005 11:38:43 AM com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler ?
    SEVERE: Javac exception
    Error running javac.exe compiler
    at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:473)
    at

    #234064 Reply

    dream_walker
    Member

    Stack trace too big, cannot include in message. If you tell me how to send it, i’ll do that…

    #234077 Reply

    Riyad Kalla
    Member

    Those error messages don’t look so good to start off with. Try this:
    1) Start MyEclipse
    2) File > Switch Workspace > C:\tempworkspace > hit OK to restart
    3) File > Import Existing Project > Impiort your old project
    4) Fix any classpath issues.
    5) Restart MyEclipse, did the library path stay intacted?

    This sounds like a corrupt workspace issues, and the log seems to verify this. Using -clean to run Eclipse on it may help, if not, then creating a new workspace like we just did and reimporting your projects is the way to go.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: UserLibrary Unbound when restarting eclipse

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