cancel
Showing results for 
Search instead for 
Did you mean: 

Error : htmlb

Former Member
0 Kudos

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 )

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

Hello Karthik,

I have included clientinfo.jar in my classpath. Things are working better now. However, still there exist a different problem, i am not getting sap theme as shown in the htmlb reference.

My email id is santoshmalavade@gmail.com

Rgds,

Santosh

Former Member
0 Kudos

Hi Santosh,

I dont understand your question properly.Could you please elaborate your question?

Regards,

Karthick

Former Member
0 Kudos

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

markus_nold
Discoverer
0 Kudos

Hi Karthick,

I would need this clientinfo.jar for (CRM 5.0 AP 7.0), too

Could you please email it to me.

Thank you in advance

Markus

0 Kudos

Please, send me a jar file to my e-mail ( souza.elton@gmail.com ).

Tks.