cancel
Showing results for 
Search instead for 
Did you mean: 

com.sap.tc can not be resolved(or is not a valid type) for the field <viewn

Former Member
0 Kudos

Hi all,

I have imported a web dynpro project in web dynpro explorer. This is a simple web dynpro project having one web dynpro component, one view and one window. The project was created in NWDS2.0.16. I have imported it in NWDS7.0.15. When I open the view controller's implementation tab, I find it full of errors.

The first line in error which I believe is causing error to complete implemntation is

private static final com.sap.tc.logging.Location logger =

com.sap.tc.logging.Location.getLocation(WebServiceView.class);

The error is : com.sap.tc can not be resolved(or is not a valid type) for the field <viewname>View.logger

can any one provide a solution?

The same thing is happening in the implementation tab of componenet controller also .

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Try following:

1. Right click on project & select 'Repair Project'

2. Open view/controller causing problem, right click , select 'Organize Imports'.

3. Close the project & open it again.

Regards,

Apurva