on 03-12-2008 9:31 AM
Hi expert,
Now I have a j2ee dc of web project, in the context menu I 'Add/Remove additional Libraries' to add JCO jar files, and I put this jar file into WEB-INF/lib. All I done above enable me to access SAP backend via jco in my web project.
The code segment could be
JCO.Client jcoclient =
JCO.createClient(
"120",
"$MYSAPSSO2$",
mysapcookievalue,
"zh",
"cnlfkux002",
"02");
jcoclient.connect();
In this way, it works fine in a non-DC project, but failed in DC, if I deploy this project and run this code, I will get exception for
jcoclient.connect();
java.lang.NoClassDefFoundError: com.sap.i18n.cp.ConvertCToX
I open the jco jarfile to look for this class but failed, I search this class in Google & Baidu & Yahoo and SDN as well, all failed.
I have no idea how comes this exception, where is this class and why a single web project will not trigger this problem.
Any hint? thanks in advance.
Best Regards,
William
This class is hard to find, but finally I got it.
C:\Documents and Settings\Administrator\.dtc\0\DCs\sap.com\tc\bi\i18n\_comp\gen\default\public\def\lib\java\i18n_cp.jar
This jarfilre is not required for build time, but for runtime you have to put it into j2ee lib.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.