on 03-18-2006 10:22 AM
Tomcat 4.1.3
Eclipse 3.0
Error Message :
root cause
java.lang.NoClassDefFoundError: com/sap/mobile/clientinfo/ClientInfoFactory
at Sservlet.service(Sservlet.java:23)
I have created one servlet and trying to create Form using htmlb classlib using the code given below :
i have imported the following two classes
import com.sapportals.htmlb.Form;
import com.sapportals.htmlb.rendering.PageContext;
PageContext second = new PageContext(req,res);
Form myform = second.createForm();
Whenever I put these statements and try to call the servlet it gives the error indicated above.
Please help to solve this problem.
( Similar problem comes up if i try to use taglib htmlb.tld in jsp )
Hi Santhosh,
If i have understood ur problem correctly..what i think is that when u see the output u cannot see it in the manner u desire. This is because it will be always be displayed in a default theme..So u cant see any colours..etc.. To see it as u desire u need to create an iview and then apply the portal themes.
Regards,
Pooja.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi santosh,
you have to add clientinfo.jar in your classpath.
If you dont have the jar give me your mail id I'll send it to you.
Regards,
Karthick K Eswaran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have indicated in my previous question that I am not able to access servlet / jsp from the browser as tomcat was giving me noclassdef found error ( clientinfo.jar )
As informed by you I have included clientinfo.jar in my classpath and the above error got resolved.
However, though I can see the output let say form containg button on the screen. The appearance of the form i.e. colours etc. ( sap themes - personalise option in portal ) is not according to the examples provided in htmlb reference. ( please refer jsp dynpage / htmlb reference : java documentaion in sap ep for details )
I hope the question is clear now.
Rgds,
Santosh
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.