on 05-05-2014 6:00 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.