cancel
Showing results for 
Search instead for 
Did you mean: 

NW7.00 J2EE Application using JCo

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I have resolved the issue.

I was missing a reference in the application-j2ee-engine.xml in the EAR.

Added it and it's working now.

Thanks!

Eddy

Answers (0)