cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.NoClassDefFoundError

Former Member
0 Kudos

Hi,

when I run my Enterprise Application Project I have this error :

500 Internal Server Error

Application error occurred during request processing.

Details: java.lang.NoClassDefFoundError: com/sap/i18n/cp/ConvertCToXFactory

Exception id: [0017A4AB008F00770000007500003C7D00045ADF919A6E3C]

Help me please. Thanks

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member193379
Active Contributor
0 Kudos

Hi,

Could all of you try first this example while creating the web project.

Thanks

Former Member
0 Kudos

Hi,

Am getting the below error during SAP ECC6.0 installation.

[EXCEPTION]

java.lang.NoClassDefFoundError: com/sap/i18n/cp/ConvertCToXFactory

Kindly let me know the solution

Regards,

Kalainila B

Former Member
0 Kudos

Hi Andrea

I created an Enterprise Application Project and created following servlet

public class SimulateOrderAction extends HttpServlet {

public void doGet(HttpServletRequest request,

HttpServletResponse response)

throws ServletException, IOException {

PrintWriter out = response.getWriter();

JCO.Client mConnection = null;

try {

mConnection = JCO.createClient("115","sapjsf","******","EN","ed1","11");

mConnection.connect();

}

catch(Exception e){

e.printStackTrace(out);

}

}

}

I deployed this application on Netweaver J2EE server and when I run this servlet I get the following error,same as yours

Application error occurred during request processing.

Details:

java.lang.NoClassDefFoundError: com/sap/i18n/cp/ConvertCToXFactory

Exception id: [001125261CF50061000000DB00000370000471201D051820]

Were you able to resolve your issue?

Any Help will be highly appreciated.

Thanks & Regards

Ravi

Former Member
0 Kudos

Hi Andrea,

can you be a little more specific with your problem ? Does it only occur when you run your custom developed application on the portal, or on the J2EE server (no portal involved) ? Did you use i18n in your project and in which way ? Have you included all the correct library jars in your archive ?

The mentioned class can be found in <sid>\j2ee\cluster\dispatcher\bin\ext\tci18ncp\i18n_cp.jar so this can be a starting point for you. Perhaps the library was deleted on the server ?

Kind Regards,

Frederic