facebook

facing build path errors in setting up the workspace

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #252458 Reply

    ksnathan
    Member

    Hi,
    Did anyone faced this kind of error when they tried to setting up test project in workspace?

    I am facing build path errors in setting up the workspace

    1.The project was not built since it depends on Test project, which has
    build path errors TestClient
    2.The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project
    3.The project cannot be built until build path errors are resolved Test
    4.The project cannot be build until build path errors are resolved’.

    Any help on these errors?

    Thanks
    Karthik

    #252488 Reply

    Riyad Kalla
    Member

    2) Sounds like you probably accidentally removed the JRE library. Go to your project properties for this project, go to Java BUild Path, then the Libraries tab. Click Add Library, select “JRE System Library and then hit next and finish.

    #252594 Reply

    ksnathan
    Member

    HI ,

    Thank you for your help.

    I am able to resolve all these error. I have new error in the below now

    “The declared package does not match the expected package src.com.swtdesigner”

    Thanks
    Karthik

    #252616 Reply

    Riyad Kalla
    Member

    You setup the root of your project as the source dir, it looks like you need to set /src as your source dir (notice how “src” is getting pre-pended to your package? That means your source dir is wrong and Java is confused)

    #252727 Reply

    ksnathan
    Member

    Hello,

    How I can resolve this issue?

    I have added swt.jar in the Libraries tab for the Standard Widget Toolkit and I have mention swtsrc.zip from below folder (win32) for the source attachment

    C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.eclipse.platform.source.win32.win32.x86_3.0.2.2\src\org.eclipse.swt.win32_3.0.2.2\ws\win32

    Thanks
    Karthik

    #252731 Reply

    Riyad Kalla
    Member

    How I can resolve this issue?

    By following my instructions

    I have added swt.jar in the Libraries tab for the Standard Widget Toolkit and I have mention swtsrc.zip from below folder (win32) for the source attachment

    I have no idea why you did this. If you’d like to resolve this problem re-read my post from May 26th.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: facing build path errors in setting up the workspace

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