Skip to Content
0
Former Member
May 05, 2014 at 05:00 PM

NW7.00 J2EE Application using JCo

26 Views

Hi Experts!

I'm new to J2EE development.

I have created a NWDI track for NW7.00 J2EE application and wrote a little app using JCo.

In the Used DC of the WAR, I have manually added com.sap.mw.jco as a used DC.

The application activated correctly and I can see the index.html page.

However, when navigating to a JSP page that used an underlying class involving JCo, I get this error:

The error is: java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO$Structure

As I understand it, com.sap.mw.jco comes as part of the SAPJEE SC and it's already on the WEB AS server.

So why would it not find the class?

Do I need to setup a classpath somewhere?

Thanks!

Eddy