Hi,
I'm trying to add to well working program some content from IO file that is located in the portal.
I search the SDN and find a neet code that will do the above.
I'm getting wired exceptions ... So .. i remove all of my code and left only those line ...
1. In the header of the program :
import com.sapportals.wcm.util.uri.RID;
in the init of the program :
RID rid = RID.getRID("/documents/1.txt");
The Exception is :
java.lang.NoClassDefFoundError: com/sapportals/wcm/util/uri/RID
I try to :
1. rebuilt - repair ...
2. remove the "import com.sapportals.wcm.util.uri.RID;" and "Organaize import"
Any ides ?
10x in advance
Hadar