on 10-21-2008 11:34 PM
Hello,
I applied the Repair Project Structure and Classpath of a Webdynpro development component. Now I open the Implementation tabs of all my projects and all the code are underlined as erroneous. The task panel shows the following error message:
The project was not built since its classpath is incomplete. Cannot find the class file for java.lang.Object. Fix the classpath then try rebuilding this project.
I tried importing all classpaths but it still showing the code underlined as erroneous and the error.
Please help!!!
Thanks
I have faced this issue before. We resolve it in this way:
1.) Right click the project in question, go to the Properties.
2.) Go to the Java Build Path Section
3.) Click on the Libraries Tab
4.) Click the Push Button "Add Variable"
5.) Select the entry "JRE_LIB - <path>\jre\lib\rt.jar"
This will add all the jre libraries to your project.
Next close the project and re-open.
Error will vanish.
HTH.
Thanks.
p256960
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
which java and NWDS versions are you using ?
Regards,
ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am using Java Version 1.6.0_03 and NWDS version 7.0.07.
The solution will work for any other NWDS version like NWDS 2.0 (04). Although - I have not seen this problem with NWDS for CE 7.1
HTH.
Thanks.
p256960
PS: Sorry Ramesh - but I didnt notice who the question was directed at.
Edited by: p256960 on Oct 23, 2008 9:18 AM
Edited by: p256960 on Oct 23, 2008 9:19 AM
Hi,
Please do the following:
Project --> Properties --> Java Build Path --> Select Libraries Tab
Click --> Add Library --> JRE System Library --> Select the JRE you are using --> Click on Finish.
This should add the missing JRE Jar files into the class path.
Regards,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Miguel,
Try the option of Reloading your project and then Rebuilding it.
Reload as an option can be seen in the context menu for your project.
Regards,
Alka.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.