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

cannot resolve symbol --build error

Hi,

I deleted a model which i am no longer using, but now when i try to build my prj it gives the following errors

[javac] ERROR: C:\Documents and Settings\rapid\.dtc\LocalDevelopment\t\905F2797138B919A29EDF3E1C5C558AB\gen_wdp\packages\abb\com\GetUsedViewsmodel\Material_Read_Plants_Output.java:114: cannot resolve symbol

[javac] ERROR: symbol : class GetUsedViews

[javac] ERROR: location: class abb.com.getusedviewsmodel.Material_Read_Plants_Output

[javac] ERROR: public GetUsedViews modelInstance() {

[javac] ERROR: ^

[javac] ERROR: C:\Documents and Settings\rapid\.dtc\LocalDevelopment\t\905F2797138B919A29EDF3E1C5C558AB\gen_wdp\packages\abb\com\GetUsedViewsmodel\Marc_Werk.java:114: cannot resolve symbol

[javac] ERROR: symbol : class GetUsedViews

[javac] ERROR: location: class abb.com.getusedviewsmodel.Marc_Werk

[javac] ERROR: public GetUsedViews modelInstance() {

[javac] ERROR: ^

[javac] ERROR: C:\Documents and Settings\rapid\.dtc\LocalDevelopment\t\905F2797138B919A29EDF3E1C5C558AB\gen_wdp\packages\abb\com\GetUsedViewsmodel\Material_Read_Plants_Input.java:114: cannot resolve symbol

[javac] ERROR: symbol : class GetUsedViews

[javac] ERROR: location: class abb.com.getusedviewsmodel.Material_Read_Plants_Input

[javac] ERROR: public GetUsedViews modelInstance() {

[javac] ERROR: ^

[javac] ERROR: C:\Documents and Settings\rapid\.dtc\LocalDevelopment\t\905F2797138B919A29EDF3E1C5C558AB\gen_wdp\packages\abb\com\GetUsedViewsmodel\Material_Read_Plants_Input.java:52: wdGetStaticMetadataCache() is not public in abb.com.GetUsedViewsmodel.GetUsedViews; cannot be accessed from outside package

[javac] ERROR: abb.com.GetUsedViewsmodel.GetUsedViews.wdGetStaticMetadataCache().getBaseTypeDescriptorMap(),

[javac] ERROR: ^

[javac] ERROR: C:\Documents and Settings\rapid\.dtc\LocalDevelopment\t\905F2797138B919A29EDF3E1C5C558AB\gen_wdp\packages\abb\com\GetUsedViewsmodel\Material_Read_Plants_Input.java:115: cannot resolve symbol

[javac] ERROR: symbol : class GetUsedViews

[javac] ERROR: location: class abb.com.getusedviewsmodel.Material_Read_Plants_Input

[javac] ERROR: return (GetUsedViews)associatedModel();

[javac] ERROR: ^

[javac] ERROR: C:\Documents and Settings\rapid\.dtc\LocalDevelopment\t\905F2797138B919A29EDF3E1C5C558AB\gen_wdp\packages\abb\com\GetUsedViewsmodel\Material_Read_Plants_Input.java:141: wdGetStaticMetadataCache() is not public in abb.com.GetUsedViewsmodel.GetUsedViews; cannot be accessed from outside package

[javac] ERROR: return abb.com.GetUsedViewsmodel.GetUsedViews.wdGetStaticMetadataCache();

[javac] ERROR: ^

[javac] ERROR: C:\Documents and Settings\rapid\.dtc\LocalDevelopment\t\905F2797138B919A29EDF3E1C5C558AB\gen_wdp\packages\abb\com\GetUsedViewsmodel\Material_Read_Plants_Output.java:52: wdGetStaticMetadataCache() is not public in abb.com.GetUsedViewsmodel.GetUsedViews; cannot be accessed from outside package

[javac] ERROR: abb.com.GetUsedViewsmodel.GetUsedViews.wdGetStaticMetadataCache().getBaseTypeDescriptorMap(),

[javac] ERROR: ^

[javac] ERROR: C:\Documents and Settings\rapid\.dtc\LocalDevelopment\t\905F2797138B919A29EDF3E1C5C558AB\gen_wdp\packages\abb\com\GetUsedViewsmodel\Material_Read_Plants_Output.java:115: cannot resolve symbol

[javac] ERROR: symbol : class GetUsedViews

[javac] ERROR: location: class abb.com.getusedviewsmodel.Material_Read_Plants_Output

[javac] ERROR: return (GetUsedViews)associatedModel();

[javac] ERROR: ^

[javac] ERROR: C:\Documents and Settings\rapid\.dtc\LocalDevelopment\t\905F2797138B919A29EDF3E1C5C558AB\gen_wdp\packages\abb\com\GetUsedViewsmodel\Material_Read_Plants_Output.java:119: wdGetStaticMetadataCache() is not public in abb.com.GetUsedViewsmodel.GetUsedViews; cannot be accessed from outside package

[javac] ERROR: return abb.com.GetUsedViewsmodel.GetUsedViews.wdGetStaticMetadataCache();

[javac] ERROR: ^

[javac] ERROR: C:\Documents and Settings\rapid\.dtc\LocalDevelopment\t\905F2797138B919A29EDF3E1C5C558AB\gen_wdp\packages\abb\com\GetUsedViewsmodel\Marc_Werk.java:52: wdGetStaticMetadataCache() is not public in abb.com.GetUsedViewsmodel.GetUsedViews; cannot be accessed from outside package

[javac] ERROR: abb.com.GetUsedViewsmodel.GetUsedViews.wdGetStaticMetadataCache().getBaseTypeDescriptorMap(),

[javac] ERROR: ^

[javac] ERROR: C:\Documents and Settings\rapid\.dtc\LocalDevelopment\t\905F2797138B919A29EDF3E1C5C558AB\gen_wdp\packages\abb\com\GetUsedViewsmodel\Marc_Werk.java:115: cannot resolve symbol

[javac] ERROR: symbol : class GetUsedViews

[javac] ERROR: location: class abb.com.getusedviewsmodel.Marc_Werk

[javac] ERROR: return (GetUsedViews)associatedModel();

[javac] ERROR: ^

[javac] ERROR: C:\Documents and Settings\rapid\.dtc\LocalDevelopment\t\905F2797138B919A29EDF3E1C5C558AB\gen_wdp\packages\abb\com\GetUsedViewsmodel\Marc_Werk.java:119: wdGetStaticMetadataCache() is not public in abb.com.GetUsedViewsmodel.GetUsedViews; cannot be accessed from outside package

[javac] ERROR: return abb.com.GetUsedViewsmodel.GetUsedViews.wdGetStaticMetadataCache();

[javac] ERROR: ^

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

where exactly is this failing ??

Thanks,

Veena.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 09, 2008 at 07:42 PM

    Hi,

    Did you try re-loading your project after deleting the model and hope you deleted all the context related to that model too.

    Regards,

    Murtuza

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 10, 2008 at 04:03 AM

    Hi Veena,

    Make sure that deleted model reference does not exit any more. Rebuilt your application. If problem still exits then close your NWDS and restart it. Also try to repair your project as well.

    Thanks

    Anup

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 10, 2008 at 04:10 AM

    if you deleted any model .

    make sure you deleted all the dependencies ,contexts and auto generated codes

    and reloaded the project.

    with regards

    shanto aloor

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 10, 2008 at 04:28 AM

    Hi Veena,

    restart your server 0 and close NWDS . now open NWDS again.

    Rebuild WD projs.

    It shud wrk.

    Regards,

    Khushboo

    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.