on 10-30-2015 4:48 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.