cancel
Showing results for 
Search instead for 
Did you mean: 

DoInit() Method error - java.lang.NoSuchMethodError: com.sap.tc.webdynpro.m

Former Member
0 Kudos

Hello,

Im having trouble running a Web Dynpro Application. When running, the application is showing me the following exception,

java.lang.NoSuchMethodError: com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.<init>(Ljava/lang/String;Ljava/lang/String;Ljavax/xml/namespace/QName;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Lcom/sap/tc/webdynpro/model/webservice/gci/IWSTypedModelInfo;Ljava/util/Map;Ljava/util/Map;)V

at pe.com.minsur.wd_po_ws.wd_po_ws_model.Wd_po_ws_Model.<init>(Wd_po_ws_Model.java:124)

at pe.com.minsur.wd_po_ws.wd_po_ws_app.comp.Wd_po_ws_Comp.wdDoInit(Wd_po_ws_Comp.java:120)

at pe.com.minsur.wd_po_ws.wd_po_ws_app.comp.wdp.InternalWd_po_ws_Comp.wdDoInit(InternalWd_po_ws_Comp.java:195)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:160)

This is in the DoInit() method, In the line,

Wd_po_ws_Model wd_po_ws_ModelModel = new Wd_po_ws_Model();

It could be the METADATA or MODELDATA destination configuration?

Thanks

SU

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Where is your model located. Is it in the same DC where your application which is giving error is present?

Regards,

Manoj

Former Member
0 Kudos

Hello Manoj,

Yes, it is in the same DC.

Thanks

Regards

SU

Former Member
0 Kudos

Hello,

The problem is solved following these steps,

"NWDS IDE is in SP04 whereas the WebDynpro Runtime is in SP01. So yo have to upgrade your WebDynpro in WebAS to SP04.

All WebDynpro for Java patches are available on SAP Service Marketplace.Note 330793 explains how to download patches from SAP Service Marketplace. Note 1395865 explains how to find the Web Dynpro for Java related SCAs.

Update your system via JSPM.

Please refer the link to the official documentation for JSPM

http://help.sap.com/saphelp_nwpi711/helpdata/en/1f/c45b4211aac353e10000000a1550b0/frameset.htm

From WebDynpro perspective, we recommend you to apply both WD-RUNTIME.SCA and FRAMEWORK.SCA. So if any one of the archive is not mentioned in the 'SP Patch Level' tab, it is recommended to apply the same which is available in the service market place."

Regards

SU