on 06-25-2007 8:04 AM
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
Thank you Ken,
Your suggestion was certainly helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.