Skip to Content
author's profile photo Former Member
Former Member

7.01 to 7.4 DC Migration Build error - cannot find symbol

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) -


Migration of Web Dynpro Java DCs from 7.0 to 7.31 – Stepwise procedure and troubleshooting


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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Nov 02, 2015 at 05:52 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 05, 2015 at 06:36 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 11, 2015 at 04:57 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.