Skip to Content
avatar image
Former Member

Build error migrating project from 7.0 to 7.3 NWDS

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Mar 01, 2013 at 11:41 AM

    Hi Luigi.

    Could you solve this issue?

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 26, 2013 at 04:40 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

  • avatar image
    Former Member
    Mar 26, 2013 at 07:38 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded