cancel
Showing results for 
Search instead for 
Did you mean: 

problem in building the Webdynpro DC project

Former Member
0 Kudos
61

Hi,

I was trying to create a new DC for a webdynpro project in the track and i was getting a problem while building the DC.

I was manually adding one jar file to the project srtucture but when i was building that project , jar file is getting disappeared and it is giving compilation errors.

Please help me in resolving this issue

points will be awarded for sure

Bala

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please do the following to add a jar file to your WD project.

Right click your project and select properties. Then click on Java build path and select Libraries tab. Here you can add your jar files.

Hope this will solve your problem.

thanks & regards,

Manoj

Former Member
0 Kudos

that is what i am doing....

any other solution

Former Member
0 Kudos

Hi,

Try copying your .jar files in the lib folder.

Regards,

Murtuza

Former Member
0 Kudos

i did that as well but no luck

any other solution

Former Member
0 Kudos

Hi,

You cannot add a .jar file from the build path.

You need to create an external library file and need to declare it as public part.

You need to call the DC of the external library as used dc.

If you add the .jar filed in teh build path, you cannot build the project sucessfully.

This is possible only if you are creating the local project.

Hope this will help you.

thanks,

Vivek.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

As basic things u have already checked.......there may be chance of error because of any of the following too......

1) before adding jar file till that point it is working fine....?

2) Have you imported the DC ? [if so imported dc built on nwds version u r using version may be different ]

3) Have you re-installed the NWDS in a different directory than the previously one u r using ?

Former Member
0 Kudos

Hi Bala

For that you need to create a external library DC, look into this blog

[ https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/236] [original link is broken] [original link is broken] [original link is broken];.

Regards

Praveen