on 04-23-2007 2:27 PM
Hi All,
I have created a Test.java class file from Navigator view under
Src --> Packages --> com.sap.MyProject.
When I try to access the Test class from view controller,
I getting this error "Test cannot be resolved or is not a type".
How do I fix this?
Thanks
Sundar
Hi,
I have created a Test.java class file from Navigator view under
Src --> Packages --> com.sap.MyProject.
After this you can goto the context of your View and define the VA goto the type of VA and click on the right side button and go to java native type and type your java file name click you name .
that means the jave file s assigned to VA.
U can utilize thrut that VA.
Thanks,
Lohi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sundar, I guess "Src --> Packages --> com.sap.MyProject" is the folder structure? Then it should be Src --> Packages --> com --> sap --> MyProject.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sundar,
Generally speaking, view controller has no differences from other normal Java classes.
It seems that the import statements are not complete.
Just try "CtrlShiftO" to re-organize the imported stuff.
William
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
The Java class shud be visible to your view Controller.
Try This: Inside your view controller implementation , context menu -> source -> organize imports .
regds
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.