Import of Private View cannot be resolved

I have a web dynpro component I wrote a while ago.  I just pulled it down from NWDI.  Created the project.  Build works great.  Even made changes and checked in and activiated.  All things work.
Here's the trouble.  When I look at the Implementation tab on my DetailView my private view's import cannot be resolved.
import spiritaero.com.cats.emp.wdp.IPrivateDetailView;
Message says "The import spiritaero.com.cats.emp.wdp cannot be resolved"
How do I fix this?
Diane

Diane,
Some times, all the class files may not ge generated when you import the project into your NWDS. Reload + Rebuild the project. If still errors are there, close the project and open again. Hopefully it will generate all the classes and your problem will be solved.
Regards,
Sridhar

Similar Messages

  • The import com.sapportals.htmlb cannot be resolved

    Hi,
    I am working on EP7 and trying to create a sample application for DynPage Portal Component.
    After I create a new DynPage in NWDS, i get the following error:
    The import com.sapportals.htmlb cannot be resolved
    I found a link similar to this problem but not clear abt how to solve it:
    Re: I cant import com.sapportals.htmlb.*
    How do I resolve this error? Are there some set of files that need to be import before I can develop this application.
    Thanks in advance,
    CD

    Hi CD,
    1. Regarding the availability of the KIT, checkout the link:
    Link: [Role for a Java developer;
    2. Regarding the Path for the mentioned libraries:
            **Program FilesSAPJDTeclipseplugins
    **must be in your C:
    If you do not find the specified jar file there, you can use the JAR File Locator. Checkout the link:
    Link: [Re: EP7 PDK;
    Regards,
    Chander Kararia
    #If problem solved, close the thread after rewarding points.

  • Getting error in POI like ""The import org.apache.poi cannot be resolved""

    Hi
    i am getting error like this."""The import org.apache.poi cannot be resolved"" so what i need do here. i think i have to get the jars for it .any one who worked with the concept of poi can help me here. i have been using eclipse ide here.i have down loded pio.3.0-final ,then i have added jar files to eclipse. still i am getting this error here

    HI
    i have checked that in build path it is saying it is there os it can't add them,here i have taken as a class proj not as web proj.
    i have started this topic today only.so idon't know much abt this.i have got this code from poi downloads.here is the code for
    import org.apache.poi.hssf.usermodel.HSSFWorkbook;
    import org.apache.poi.hssf.usermodel.HSSFSheet;
    import org.apache.poi.hssf.usermodel.HSSFRow;
    import org.apache.poi.hssf.usermodel.HSSFCell;
    import java.io.FileInputStream;
    * This is a sample to Read an Excel Sheet using
    * Jakarta POI API
    * @author Elango Sundaram
    * @version 1.0
    public class ReadXl {
    /** Location where the Excel has to be read from. Note the forward Slash */
    public static String fileToBeRead="D:/JTest/JPOI/Read.xls";
    public static void main(String argv[]){      
    try{
                        // Create a work book reference
                        HSSFWorkbook workbook = new HSSFWorkbook(new FileInputStream(fileToBeRead));
                        // Refer to the sheet. Put the Name of the sheet to be referred from
                        // Alternative you can also refer the sheet by index using getSheetAt(int index)
                        HSSFSheet sheet = workbook.getSheet("Sheet1");
                        //Reading the TOP LEFT CELL
                        HSSFRow row = sheet.getRow(0);
                        // Create a cell ate index zero ( Top Left)
                        HSSFCell cell = row.getCell((short)0);
                        // Type the content
                        System.out.println("THE TOP LEFT CELL--> " + cell.getStringCellValue());
    }catch(Exception e) {
    System.out.println("!! Bang !! xlRead() : " + e );
    }

  • The import org.fin.app cannot be resolved

    Hii..
    i have added a new project to the exixting fine working project and added new java files. But i cant access some packages of old projects from within these new java files as i get the error "The import org.fin.app cannot be resolved". I have set class path correctly..
    Please tell me the possible causes of this problem.
    Waiting for your reply..

    Are the libraries included in the compile path?
    The error it sounds, is that the compiler cannot locate the JAR/class files for classes within the org.fin.app namespace.

  • Import org.apache.avalon cannot be resolved

    Hi, I am new to Eclipse and J2EE in general and I have tried to import a project in Eclipse 3.0.1. However, I am getting several compile errors having to do with the following imports:
    import org.apache.avalon.framework.activity.Initializable;
    import org.apache.avalon.framework.activity.Startable;
    import org.apache.avalon.framework.configuration.Configurable;
    import org.apache.avalon.framework.configuration.Configuration;
    import org.apache.avalon.framework.configuration.ConfigurationException;
    import org.apache.avalon.framework.logger.AbstractLogEnabled;
    import dragon.common.services.cache.janitor.ICacheJanitorService;
    import dragon.common.services.cache.store.IExpiringStoreComponent;
    import dragon.common.services.cache.store.IStoreComponent;
    stating that
    "The import..." [import package name] "...cannot be resolved"
    Can anyone help with what I should do? Thanx

    I am trying to compile code but keep getting an error stating that the import of a class is not working? I wondered if I am having the same problem. I am running eclipse 3.0. The applet is called joole and it is importing CBoolFkt but it is evidently not working. Appreciate any ideas.
    The applet is not initiating and the error messages is as follows:
    java.lang.Error: Unresolved compilation problems:
         The import CBoolFkt cannot be resolved
         The import ShowCopyright cannot be resolved
         at Joole.<init>(Joole.java:8)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

  • Import from javax.mail cannot be resolved

    Hi,
    After migration from Netweaver 7.0 to 7.1 CE, the import of the package  import javax.mail.*
    The error is javax.mail cannot be resolved.
    Do I have to add special Dependencies to my DC?
    Best regards,
    Peter

    Hi
    Please refer following thread.
    [external jar in CE|import a external jar in web dynpro project;
    [external library insight webdynpro |Problem in Reading Excel File from Webdynpro;
    Best Regards
    Satish Kumar

  • The import java.sql.Savepoint cannot be resolved

    i am unable how to resolve this problem please anyone can help me about this

    Which version of Java are you using? Class java.sql.Savepoint was introduced in version 1.4. If you're using an older version, it won't work.

  • Getting error like thisThe import org.apache.poi cannot be resolved

    Hi
    i am new to this poi concept,i have downloded the pio 3.0 final from it.i have adde those plugind to eclipse then i have wrote a sample class form poi then ia m getting error like this .what might be the problem here.
    can any one help me here
    vijay

    Hi guys,
    u are right,
    at last this problem is rectified here,what happend was i have copied jars from src not from poi 3.0.1-final-bin,here i have copied these jars here,
    poi-3.0.1-FINAL-20070705,poi-contrib-3.0.1-FINAL-20070705,poi-scratchpad-3.0.1-FINAL-20070705.
    now it is working here.i got the out put for the above code also.
    so here my question is i have to pass this result to another class where it it reads only text ,for this i have used this concpet coz i have lot files other than text,how can i pass this to my class.
    vijay

  • The import javax.xml.soap cannot be resolved

    Need help. I havd the saaj, saxm etc package in the classpath, don't know why still complaint about this.
    Thanks

    I am using websphere studio. first, add a new class path, that did not work. and then I added the jar directory to the path, such as : /sun/.../saaj-api.jar, still not working.

  • Always getting 'import cannot be resolved' for IPrivate* imports

    Hi,
    Everytime I import a Web Dynpro DC from our NWDI I see 'import cannot be resolved' errors when I open for example the Component Controller implementation. An Organize Imports does not fix this. If I rightclick inside the code and select 'Show in Package Explorer' it jumps to the .java file for the implementation (within the gen_wdp folder). In that same tree I can see the IPrivate*.java files as well.
    I also tried Repairing and Rebuilding the project. All to no avail...
    Why is this happening and how can I resolve it?
    Kind regards,
    Pascal Willemsen

    If I open the generated Java files in gen_wdp I see loads of errors (all '...cannot be resolved...'), but the Tasks view contains no errors at all (answer to Armin).
    A development component build runs and seems to succeed without problems.
    It seems that the Web Dynpro's contain a circular dependency, which I think is the cause of the problem:
    1. wdThis in the Component Controller is an IPrivateComponent instance.
    2. IPrivateComponent extends IPublicComponent.
    3. IPublicComponent has a gen_delegate member which is an InternalComponent instance.
    4. InternalComponent implements IPrivateComponent.
    I guess NWDS doesn't know where to start...?

  • Import javax.ejb cannot be resolved

    Hi,
    There are some libraries missing in the following code.
    package era.budget;
    import javax.ejb.*;
    import era.budget.BudgetVO;
    public class BudgetItemVO implements java.io.Serializable
         private Integer itemId;
         private BudgetVO budget;
         private int type;
         private String itemDetails;
         private int amount;
    // -------------- BEGIN GET/SET METHODS --------------
    public BudgetItemVO(Integer id)
              this.itemId = id;
         public BudgetItemVO()
         public Integer getItemId()
              return itemId;
    public BudgetVO getBudget()
              return budget;
         public void setBudget(BudgetVO budget)
              this.budget=budget;
    public int getType()
              return type;
         public void setType(int id)
         this.type=id;
    public String getItemDetails()
              return this.itemDetails;
    public void setItemDetails(String details)
              this.itemDetails=details;
    public int getAmount()
              return this.amount;
    public void setAmount(int amount)
    this.amount=amount;
    As aresult of these missing libraries there are some compilation errors..Some of the errors are as follows
         1)The import javax.ejb cannot be resolved     
         2)EntityBean cannot be resolved to a type     
    3)EntityContext cannot be resolved to a type     
    4)EJBLocalObject cannot be resolved to a type     
    Thanx & Regards
    Maria.

    try: in your project properties choose 'Java Build Path' and add javaee.jar (from J2EE_HOME\lib) as external jar

  • Import cannot be resolved for IPrivate* imports

    Hi All,
    I got the error "import cannot be resolved for IPrivate* imports'" when I import existing project. And then I close the project, copy files to gen_wdp folder again and open project according to the method in Thread
    Always getting 'import cannot be resolved' for IPrivate* imports.
    Then the problem resolved.
    After that I have done some modifications and rebuild it. However the same problem occurs again. I repeat close/open project again but it doesn't help. That's to say I cannot make any modifications to the project and build out any new EAR files.
    If anyone can help, I will appreciate it a lot.
    Xiao

    Hi Xiao,
    Is <b>ShineWay_ReClaimsView</b> a view in your component in this project ?
    If yes ensure that it doesn't have any errors. Then rebuild your project.
    If you in dc environment and this view is from other project (dc). Then ensure that the dc having this view is build (dc build) correctly.
    As abhilash said the gen_wdp files are generated and you shouldn't touch them. You will get more problems than solutions.
    Best Regards,
    <a href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/ashwaniKrSharma&">Ashwani Kr Sharma</a>

  • Import cannot be resolved

    Hi All,
        Our NWDS always shows that certain import which generated by meta data cannot be found or resolved.
    For instance "import com.xx.sc_os_sale.dc_ws_styleinfo.comp.wdp.IPrivateStyleInfoComp;"
    I can find the code file in my local path
    "D:\Documents\01 WORK\03 Programming\cobest\dtc\0\DCs\xx.com\DC_WS_StyleInfo\_comp\gen_wdp\packages\com\xx\sc_os_sale\dc_ws_styleinfo\comp\wdp"
    And the "D:\Documents\01 WORK\03 Programming\xx\dtc\0\DCs\xx.com\DC_WS_StyleInfo\_comp\gen_wdp\packages\" has been add to the project as the Java Build Path automatically when the project was created,
    But the error is still there.
    If I build the project, no error would show in task and err log page. Also the CBS can build this project successfully. I'm totally mazed about it.
    Anyone can help me?
    Thanks,
    YiNing
    Edited by: YiNing Mao on Mar 11, 2008 11:55 AM

    Thanks, all. After close and reopen my project, the "cannot be resolved" problem is gone, but there's a new one.
    One of my web dynpro component has been expose as public of its DC, and another component from an other DC uses it as a used component, I keep being infomed of following error:
    1. The project was not built since its classpath is incomplete. Cannot find the class file for com.xx.sc_os_sale.dc_wsv_customer.model.Response_SC_OS_SALE_CustomerInfoViDocument_getCustomerList. Fix the classpath then try rebuilding this project.
    2. This compilation unit indirectly references the missing type com.xx.sc_os_sale.dc_wsv_customer.model.Response_SC_OS_SALE_CustomerInfoViDocument_getCustomerList (typically some required class file is referencing a type outside the classpath)
    I've tried to delete local project and reimport from DTR, but it doesn't help at all.
    Hope you can help me.
    YiNing
    Edited by: YiNing Mao on Mar 11, 2008 7:25 PM

  • Getting an error like this The import javax.servlet cannot be resolved

    HI
    i am getting an error like this "The import javax.servlet cannot be resolved".wht i ahve done in eclipse right click->open->servlet->packge name->servlet name->next->nexyt>finish.hereinterfaces is javax.servlet.Servlet.
    do i need add jar for it.can any one tell me why i got error like this.
    vijay

    Please don't doublepost. Answer is given here: http://forum.java.sun.com/thread.jspa?threadID=5220686

  • The import oracle cannot be resolved

    I am new to ODI. I wrote a code for an Open Tool. But it throwing The import oracle cannot be resolved exception. Even I have imported ojdbc14.jar file. Can anybody tell me how to resolve it or the right way to import this file again. I am using eclipse for the same.

    hi,
    thnx for reply...my problem is above exception throws while creating jar file for open tool. Before few days it was not comming. May be its because as I add some new features to it or because of ojdbc14.jar file is not imported correctly in package. I am new to java as well as to ODI.

Maybe you are looking for

  • Select more than one photo for an mms upload

    I am trying to send more than one photo (by mms) to [email protected]  It will only let me select one at a time to upload.  I know how to select more than one (capital button), but it does not work.  any body know how to select more than one photo to

  • Connection timeout error while refreshing a deski report

    Hi All, When I tried to refresh a report I'm getting the following error. " Exception: DBD, ORA-12170: TNS:Connect timeout occurred State: N/A" Can  any one tell me how to over come it. BO S/W DETAILS: boxi R3.1 DATABASE: Oracle 10g Thanks in Advance

  • Getting error while runing utlu102i.sql:

    Dear Experts, I am getting following error while running utlu102i.sql script (Oracle 9.2.0.6,HP-UX 11.11) DECLARE ERROR at line 1: ORA-00980: synonym translation is no longer valid ORA-06512: at line 2925 I nned to upgrade this database, how to resol

  • Can I use my iMac G5 as a wireless router?

    I apologise if this is a dumb question, as it probably is, but I thought I'd give it a go... I've also searched the forum and have not found any other posts on this question, so it is more than likely far out.. I have a iMac G5 that is connected stra

  • Bluetooth adapter for Earpods?

    I currently have this Bluetooth adapter that you can plug a pair of headphones into. It is from Sony. The reason I use it is because its nice to be able to have my iPhone free of wires when I am taking it out of my pocket, putting it in my bag, etc.