cancel
Showing results for 
Search instead for 
Did you mean: 

Repair DC Error

Former Member
0 Kudos

Hi Experts!!!

I have done a Create Project for a DC from the list of inactive DCs. When the project is available in the WD Perspective. There are many errors in the Task Panel of the type "com.sap.<namespace1>" cannot be resolved. Similar errors regarding wdContext also occur. I have tried closing the project & restarting the NWDS. This action results in a error which prompts me to do a "Repair". I do this "Repair->Project Structue & classpath". Next I build the DC. Now I get errors "classpath is incomplete. Cannot find the class file for java.lang.Object. Fix Classpath and then try rebuilding the project".

Next I have added external JARs using the path DC->Properties->Java Build Path->Libraries->Add External JARs.

I give the reference to the rt file in my j2sdk1.4.2_09->jre->lib->rt & click OK &

again the same errors occur - the error which I was getting initially when I did a Create Project for the 1st time.

This is a loop of errors is simply repating it self for all the DC's for which I need to Create Project.

Please suggest a solution to the problem I am facing

Thanks in advance

Regards

Abhishek

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank you Ken,

Your suggestion was certainly helpful.

Former Member
0 Kudos

Just thought if this info could help to pin-point the problem

the version of SDK on my terminal is j2sdk1.4.2_09 and the one on my DTR server is j2sdk1.4.2_06

Former Member
0 Kudos

First, with a DC you should never directly change project classpath. Instead, you should setup DC dependencies, which in turn will configure the classpath for you. It will also ensure that you get the correct versions of the jar files.

Since you're missing some fundamental classes, I would have to assume that the SC's for the base SCs (SAP-JEE, SAP_JTECHS, etc) are not complete. Have you imported these SCs (and the other required SCs) into the track? If you haven't, there are no jar files to add to the classpath via the DC build-time dependencies.....

Go to the CBS, and look at the number of DCs in each dependent SC. If the number is zero, then they haven't been imported. If the DC count is > 0, then I'm not sure what the problem is.