cancel
Showing results for 
Search instead for 
Did you mean: 

7.01 to 7.4 DC Migration Build error - cannot find symbol

Former Member
0 Kudos

 

In our upgrade , we are done with NWDI track set up and are able to create DC's for new track via NWDS.


FOr migrating the old DC's to the new track, we are following below (migration wizard in NWDS) -



We are seeing error while building the migrated DC (we removed depreacted dependancies), below is the error. Also, below is the image of New DC's dependencies.



[javac] Compiling 275 source files to N:\NWDS Install Files\workspace.jdi\0\t\D76101D43D4DF72B0A00167E34E37E96\classes

[javac] ERROR: N:\NWDS Install Files\workspace.jdi\0\t\D76101D43D4DF72B0A00167E34E37E96\gen_wdp\packages\com\elc\sap\wdp\bomproc\view\SummaryView.java:30: cannot find symbol

[javac] ERROR: symbol  : class ModifiableBinaryType

[javac] ERROR: location: package com.sap.tc.webdynpro.progmodel.context

[javac] ERROR: import com.sap.tc.webdynpro.progmodel.context.ModifiableBinaryType;

[javac] ERROR: ^

[javac] ERROR: N:\NWDS Install Files\workspace.jdi\0\t\D76101D43D4DF72B0A00167E34E37E96\gen_wdp\packages\com\elc\sap\wdp\intstepcomp\IntStepChooseMatView.java:30: cannot find symbol

[javac] ERROR: symbol  : class ModifiableBinaryType

[javac] ERROR: location: package com.sap.tc.webdynpro.progmodel.context

[javac] ERROR: import com.sap.tc.webdynpro.progmodel.context.ModifiableBinaryType;

[javac] ERROR: ^

[javac] ERROR: N:\NWDS Install Files\workspace.jdi\0\t\D76101D43D4DF72B0A00167E34E37E96\gen_wdp\packages\com\elc\sap\wdp\bomproc\view\SummaryView.java:266: cannot find symbol

[javac] ERROR: symbol  : class ModifiableBinaryType

[javac] ERROR: location: class com.elc.sap.wdp.bomproc.view.SummaryView

[javac] ERROR: ((ModifiableBinaryType) wdThis.wdGetBomProcCompController().wdGetContext()

[javac] ERROR: ^

[javac] ERROR: N:\NWDS Install Files\workspace.jdi\0\t\D76101D43D4DF72B0A00167E34E37E96\gen_wdp\packages\com\elc\sap\wdp\bomproc\view\SummaryView.java:565: cannot find symbol

[javac] ERROR: symbol  : class ModifiableBinaryType

[javac] ERROR: location: class com.elc.sap.wdp.bomproc.view.SummaryView

[javac] ERROR: ((ModifiableBinaryType) wdThis.wdGetBomProcCompController().wdGetContext()

[javac] ERROR: ^

[javac] ERROR: N:\NWDS Install Files\workspace.jdi\0\t\D76101D43D4DF72B0A00167E34E37E96\gen_wdp\packages\com\elc\sap\wdp\intstepcomp\IntStepChooseMatView.java:384: cannot find symbol

[javac] ERROR: symbol  : class ModifiableBinaryType

[javac] ERROR: location: class com.elc.sap.wdp.intstepcomp.IntStepChooseMatView

[javac] ERROR: ((ModifiableBinaryType) wdThis.wdGetIntStepCompController().wdGetContext()

[javac] ERROR: ^

[javac] ERROR: N:\NWDS Install Files\workspace.jdi\0\t\D76101D43D4DF72B0A00167E34E37E96\gen_wdp\packages\com\elc\sap\wdp\intstepcomp\IntStepChooseMatView.java:512: cannot find symbol

[javac] ERROR: symbol  : class ModifiableBinaryType

[javac] ERROR: location: class com.elc.sap.wdp.intstepcomp.IntStepChooseMatView

[javac] ERROR: ((ModifiableBinaryType) wdThis.wdGetIntStepCompController().wdGetContext()

[javac] ERROR: ^

[javac] WARNING: Note: Some input files use or override a deprecated API.

[javac] WARNING: Note: Recompile with -Xlint:deprecation for details.

[javac] WARNING: Note: Some input files use unchecked or unsafe operations.

[javac] WARNING: Note: Recompile with -Xlint:unchecked for details.

[javac] 6 errors


Below are the dependencies :


Please let know, if we are missing anything or can add some dependencies to get rid of this build error.

Ankit

Accepted Solutions (0)

Answers (3)

Answers (3)

xavier_aranda
Participant
0 Kudos

Hi,

It seems you are using old APIs.

Check the dependences of you SC in SLD and NWDI track configuration, in NWDS try to sync all dependent DC and try again.

After this checks, try to compile again.

Hope it's help

vijay_kumar49
Active Contributor
0 Kudos

Try "Repair - Project Structure and Classpath" from the context menu of the Web Dynpro project, then do a full rebuild.

You can also delete all files in gen_wdp and gen_ddic folders and rebuild.

christian_santej
Active Participant
0 Kudos

hi,

i think you're using deprecated API (ref. to Deprecated List (Web Dynpro runtime environment (Netweaver�2004S�SPS 09)) ).


com.sap.tc.webdynpro.progmodel.api.IWDModifiableBinaryType

Use IWDResource instead. More documentation see IWDFileUpload and IWDFileUpload.

regards,

christian