on 06-20-2005 8:27 PM
Is there a master document out there that contains a map of what .class files are in what .jar files that are in the Netweaver Developer Studio/JDT plugins folder?
I am having a difficult time resolving NoClassDefFoundError exceptions in my code. It would be helpful to know what .jar files to include as part of my project build path BEFORE runtime.
This code segment:
Connection conn = null;
Context ctx = null;
try
{
ctx = new InitialContext(env);
Object obj = (Object)ctx.lookup("jdbc/SAPJ2EDB");
....
yields the following exception:
=====================
com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception during lookup operation of object with name jdbc/SAPJ2EDB, cannot resolve object reference. [Root exception is com.sap.engine.services.connector.exceptions.BaseResourceException: Cannot lookup ManageConnectionFactory "SAPJ2EDB". Cannot deserialize object: java.lang.NoClassDefFoundError: javax/resource/spi/ResourceAdapter.
=====================
My questions are:
1) Am I looking up the datasource correctly?
2) What .jar file contains the ResourceAdapter.class file? NoClassDefFoundError exceptions make me nervous.
Thanks in Advance,
JC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.