Skip to Content
avatar image
Former Member

classpath problem

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Jun 14, 2007 at 09:10 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 14, 2007 at 10:04 AM

    Dear Satyajit,

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

    Regards,

    Ruthie.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

  • avatar image
    Former Member
    Jun 14, 2007 at 08:48 AM

    Hi,

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

    Regards,

    Satyajit.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 14, 2007 at 10:46 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded