Skip to Content
avatar image
Former Member

Unable to resolve import.. but class is there..

Hello,

I have been asked to modify a SAP W4 form to add some field restrictions. The problem is that the build is completing but with warnings, and one of the code files has an error in an import line.

import com.sap.xss.hr.per.us.w4.detail.wdp.IPrivateVcPerW4Detail;

I went into the Web Dynpro Perspective -> Navigation Tab and drilled down bin/com/sap/xss/hr/per/us/w4/detail/wdp/ and there is a file called IPrivateVcPerW4Detail.class

I also dug into the warning line that is displayed in 'General User Output' and the following caught my attention:

Warning: Source folder does not exist, will be ignored: META-INF
Plugin initialized in 0.782 seconds
Warning: Runtime dependency to pcui_gp/xssutils (sap.com) not allowed (incompatible runtime type).
Warning: Runtime dependency to ess/per (sap.com) not allowed (incompatible runtime type).
Warning: Runtime dependency to pcui_gp/xssfpm (sap.com) not allowed (incompatible runtime type).

Preparing data context..
No 'default' JDK defined, will use running VM.
Data context prepared in 0.141 seconds

How can I solve both problems? Are they two symptoms of a single problem?

Regards,

Roberto

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Nov 28, 2007 at 09:36 AM

    Hi Roberto,

    Even I'm facing the same issue...did you find the answer? if so, please share.

    Regards,

    Arul

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 28, 2007 at 10:35 AM

    hi,

    As you said that there are no build errors, only warnings are there.

    It is showing error on one of import statement. What i can suggest is that first close your project from the Navigator tab and then again reopen it and then check.

    Hope this will solve your problem.

    thanks & regards,

    Manoj

    Add comment
    10|10000 characters needed characters exceeded