cancel
Showing results for 
Search instead for 
Did you mean: 

Java ClassPath Issues NWDS

Former Member
0 Kudos

I am developing in NWDS and I am referencing SAP code in my BillerDirect application. I get this error when building:

*

cannot access com.sap.exception.BaseException

javac file com\sap\exception\BaseException.class not found

Notes:

My new class is in a different project that is referencing com.sap JARs. I got an error that I wasn't referencing com.sap.exception INDIRECTLY.

I added an external JAR for com.sap.exeception and I got the error to go away on the source code, but the compile now gives me the cannot access.

I'm stuck. Does anyone know what to do?

Chris

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member187444
Participant
0 Kudos

Hi Chris,

Did you try give classpaths using EAR project's j2ee-engine.xml?

Former Member
0 Kudos

I ended up having to create a Public Part for the exception.jar file and put that in my WAR project.