cancel
Showing results for 
Search instead for 
Did you mean: 

Error while saving the same model in the

Former Member
0 Kudos

Hi,

I have created a model in one package and deleted the model due to some problem.Now i have created the same model but in the different package.Now,in the default webdynpro generated code i am getting errors.

Can any one provide solution.

Thanks in advance.

Kiranmai.S

Accepted Solutions (1)

Accepted Solutions (1)

piyush_kumar6
Active Contributor
0 Kudos

Hi Kiranmai,

First you delete the nodes from old model in your application( from view,controller,interface ).

save your application.

Now Right click on your project in Web Dynpro Explorer --> now select Repair -->

Now select Project Structure and ClassPath --> Now click yes.

Now use your new model.

It will solve your problem.

Answers (3)

Answers (3)

Former Member
0 Kudos

hi!

when a model is created then it is associated with some model id and a class is also generated and its reference are used.so may be you are using the reference of the same class which you have deleted.

Former Member
0 Kudos

Hi,

try this procedure once.

from navigator go to your dc and find out the "gen_wdp" folder and from "packages" folder find out the deleted model name folder "modelName" and remove it.

rebuild the dc.

delete it from the nwds.

now from the "development configurations perspective" create project for the dc.

now run the application.

Regards,

ramesh

Former Member
0 Kudos

hi,

when u create a model,add it to used models and apply template,

a ref to the instance of the model will be created.

first rebuild the project after deleting the model.

then comment out the code related to the previous model.

Regards,

Satya