cancel
Showing results for 
Search instead for 
Did you mean: 

error : wdContext cannot be resolved

Former Member
0 Kudos

hii,

I already had an existing application.After i have opened it after a long time, am getting an error in wdModifyView :

wdContext cannot be resolved.

Please do suggest n help out.

Thanks,

Parama.

Accepted Solutions (1)

Accepted Solutions (1)

PradeepBondla
Active Contributor
0 Kudos

Hi,

Few months back I had a same problem... I resolved it as said by Armin....

This may happen if the metadata of your application are corrupted. In that case, the code generation may crash leaving an incomplete Java source file.

To fix this, try the following. First, check if there are any errors displayed in the "Problems" view that are related to the metamodel like corrupted data bindings, context mappings or events bound to deleted actions etc. Try to fix these using the IDE editors.

After that, open the "Navigator" and delete all generated sources inside folder gen_wdp. Return to the Web Dynpro Explorer and make a full rebuild of the project.

regards,

Pradeep

former_member197472
Active Participant
0 Kudos

Hi Pradeep,

Very helpful answer.

Just to add one more point -

After full rebuild we have to 'organize import' in Code, as errors persist after rebuild.

Thanks & Regards,

Amey

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

try to rebuild or reload the project.

Plz check the loaded jar file also.

Regards,

Deepak

Former Member
0 Kudos

Hi,

This is because you have some build errors.First go to problems and try to clear all the errors.