cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Roberto,

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

Regards,

Arul