cancel
Showing results for 
Search instead for 
Did you mean: 

classpath problem

Former Member
0 Kudos

Hi,

I developed an application last October and yesterday I wanted to make a change

in the application but before I got to change enything, I got a compication error -

"This compilation unit indirectly references the missing type com.sap.tc.logging.Location (typically

some required class file is referencing a type

outside the classpath)".

Very weired - because this application worked last October (I upgraded my NWDS last week to SP19 - any connection ??)

So - I found the missing Jar using the classLocator and I added it manually to the classPath.

But it didn't help. It only made it worse. Now I have a dozen of errors of missing imports.

I closed and Opened the application - I did Reload and Repair ("Project Structure and Classpath") - nothing worked !!!

Any idea ?

Regards,

Ruthie.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hai,

Add jsrs in DC as described in the blog

/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro

Regards,

Naga

Answers (3)

Answers (3)

Former Member
0 Kudos

Dear Satyajit,

I followed your instructions and I tried to expand SAP-JEE - but it didn't contain anything.

Any idea ??

Thanks so much.

Regards,

Ruthie.

Former Member
0 Kudos

Dear Satyajit,

How do I add a used DC reference to SAP-JEE->tc/logging ?

Regards,

Ruthie.

Former Member
0 Kudos

Hi,

1. Navigate to DC Metadata->DC Definition->Used DCs.

2. Right-click on "Used DCs" and choose "Add Used DC...".

3. In the popup that appears, expand the root node of the tree and look for node SAP-JEE.

4. Expand SAP-JEE and look for tc/logging.

5. Expand tc/logging->DC Metadata->Public Parts->default. Select "default" and finish.

Regards,

Satyajit.

Former Member
0 Kudos

Hi,

Don't add the jars manually. Add a used DC reference to SAP-JEE->tc/logging.

Regards,

Satyajit.