cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.Exception: Could not get name for DC project

Former Member
0 Kudos

Hello Experts,

We have a code which is downloaded from SVN repository.

I have imported the code from my desktop into NWDS and when I try to deploy it throws,

java.lang.Exception: Could not get name for DC project

I have referred few threads in SCN and solution suggested is to change the workspace and create a new DC & copy the _comp from old DC.

I tried the above solution but there are lot of build errors as we have few RFC models and it is throwing build errors for missing model reference.

Kindly help me on how to fix the error.

Thanks, Swarnaprakash

Accepted Solutions (0)

Answers (4)

Answers (4)

vdurgarao09
Contributor
0 Kudos

Dear Swarnaprakash,


The Web Dynpro DCs Import C:\----\user\.dtc\LocalDevelopment\DCs\sap.com\test and

the related package for DC  is missing once check it after try to import.

Depending on which Java compiler preferences are set, you may see some

warnings in the "Task" view after importing the project. If the severity level for problems of type "Unused imports" (set in Preferences – Java – Compiler) has the value "Warning", the compiler will issue a warning for unused import references. Ignore these warnings!

Still You getting means delete your .metadata before take the backup.after open the NWDS again it will set new configurations in your system.

Thanks & Regards,

Durga Rao.

Former Member
0 Kudos

Dear Swarnaprakash,

Can you please check follwoing links on how to import project in NWDS & try to follow the steps?

1)

2)http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/fcebe900-0801-0010-e1a2-f1c3b9846...

Thanks & Regards,

Patralekha

vijay_kumar49
Active Contributor
0 Kudos

Please refer the following thread

http://scn.sap.com/message/2259402#2259402

Or you can try this, Copy the SRC folder from _Comp and paste it in your desktop. delete the DC and create a new DC with the same name, now go to _Comp folder and replace the new SRC folder with the copied SRC folder. Now try to import the same in NWDS and check.

Hope this is helpful !!!

Regards

Vijay Kalluri

Former Member
0 Kudos

Probably .dcdef is missing in your new DC, it will be at the toplevel  under your DC.