- This topic has 5 replies, 2 voices, and was last updated 18 years, 11 months ago by
Riyad Kalla.
-
AuthorPosts
-
ksnathanMemberHi,
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
Riyad KallaMember2) 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.
ksnathanMemberHI ,
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
Riyad KallaMemberYou 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)
ksnathanMemberHello,
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
Riyad KallaMemberHow 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.
-
AuthorPosts