This thread has been locked & this forum has been archived.
Please post new topics to General Development
Author Message
ksnathan



Joined: May 24, 2006
Posts: 3

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
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23818

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.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
ksnathan



Joined: May 24, 2006
Posts: 3

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
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23818

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)

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
ksnathan



Joined: May 24, 2006
Posts: 3

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.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
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23818

Quote:

How I can resolve this issue?

By following my instructions

Quote:

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.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
All times are GMT - 6 Hours
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
® 2014 - Genuitec, LLC.