on 06-11-2012 1:41 PM
Hello,
I am migrating projects from 7.0 to 7.3, thus I am:
- exporting a project from NWDS 7.0
- importing it NWDS 7.3
- creating a DC of type external library for the libraries required by the project
- add dependecy in the project
I migrated several projects but I am stuck on one because of build error.
Here below some lines from the build error log.
Does anyone know what is the cause ?
Thank you,
Luigi
[echo] D:\SAP73\Workspace.jdi\LocalDevelopment\ENGFACADE\sap.com\tc\bl\logging\api\_comp\gen\default\public\api\lib\java\tc~bl~logging~api~defaultttt.jar
[echo] D:\SAP73\Workspace.jdi\LocalDevelopment\ENGFACADE\sap.com\tc\bl\exception\lib\_comp\gen\default\public\api\lib\java\core.exception.lib.api.jar
[echo] output dir: D:\SAP73\Workspace.jdi\LocalDevelopment\t\45FD579759DDD3460AB696D8E92F4C6F\classes
[javac] Compiling 37 source files to D:\SAP73\Workspace.jdi\LocalDevelopment\t\45FD579759DDD3460AB696D8E92F4C6F\classes
[javac] ERROR: D:\SAP73\Workspace.jdi\LocalDevelopment\t\45FD579759DDD3460AB696D8E92F4C6F\gen_wdp\packages\constep\application\createnews\wdp\IPublicCreateNews.java:86: cannot find symbol
[javac] ERROR: symbol : method createAndAddElement()
[javac] ERROR: location: class constep.application.createnews.wdp.IPublicCreateNews.IContextNode
[javac] ERROR: return (IPrivateCreateNews.IContextElement)createAndAddElement();
[javac] ERROR: ^
[javac] ERROR: D:\SAP73\Workspace.jdi\LocalDevelopment\t\45FD579759DDD3460AB696D8E92F4C6F\gen_wdp\packages\constep\application\createnews\wdp\IPublicCreateNews.java:115: cannot find symbol
[javac] ERROR: symbol : method getChildNode(com.sap.tc.webdynpro.progmodel.gci.IGCINodeInfo)
[javac] ERROR: location: class constep.application.createnews.wdp.IPublicCreateNews.IContextNode
[javac] ERROR: return (IPrivateCreateNews.INEWSSTRNode) getChildNode(gen_delegate.infoNEWSSTR);
Hello Luigi,
you have:
return (IPrivateCreateNews.IContextElement)createAndAddElement();
so first you can try with:
return (IPrivateCreateNews)IContextElement.createAndAddElement();
second: check if you have createAndAddElement() method declared and if not create it.
Your code right now is trying to call createAndAddElement from the controller which is not defined. If you want it to work create it or change the code to call createAndAddElement method from a context node.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Luigi,
Have you resolved this issue? If not i can help you out.
I have experience in migration form 7.0 - 7.3.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Gobinath, Teodor, and thank you for your answers.
About the reply from Teodor, I found the indicated row in the “IPublicCreateNews.java” but the change suggested generate the error
“type mismatch” as shown in the first screenshot.
Consider that this .java script, has got no error in my version.
Now, please, get a look at the second screenshot where my situation in NWDS 7.3 is summarized.
I have NOT an error in the WD perspective, that is I have NOT an error in the code !
The error in the build.log I posted at the beginning, it is at compilation/build time.
Infact, the errors are showed in the Navigator perspective under the path “..\gen_wdp\packages\....”
Thus, I think there is an issue related to some class/library not imported/linked and that makes the compiler not able to resolve all the code.
In this case, how can I identify the class/library, ecc... missed/requested in the package ?
Thank you,
Luigi
Hi Roman,
the code has not a "Type mismatch" error in my version.
The "type mismatch" in my previous answer appears after I tried to apply the change proposed by Teodor in the “IPublicCreateNews.java”
As in my answer to Gobinath, this java script is generated by the compiler thus the problem could be a lack of library/class.
Regards,
Luigi
Hi Luigi.
Could you solve this issue?
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.