Skip to Content

Failed to update create EAR SCA Files

Hi Experts,

I am configuring Sourcing, and its failing at update  and created EAR SCA Files.

Below is the error log:


     [copy] Copying 1 file to C:\sourcing90\fsapp

     [exec] Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/tc/di/cmdline/ApplicationLauncher

     [exec] Caused by: java.lang.ClassNotFoundException:

     [exec]     at$

     [exec]     at Method)

     [exec]     at

     [exec]     at java.lang.ClassLoader.loadClass(

     [exec]     at sun.misc.Launcher$AppClassLoader.loadClass(

     [exec]     at java.lang.ClassLoader.loadClass(

     [exec]     at java.lang.ClassLoader.loadClassInternal(

     [exec] Could not find the main class:  Program will exit.

     [exec] Result: 1

   [delete] Deleting: C:\sourcing90\fsapp\commandfile.txt


file:C:/sourcing90/deploy/NW-deploy.xml:209: Warning: Could not find file C:\sourcing90\fsapp\ to copy.

Please advice.



pastedImage_0.png (36.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Aug 30, 2016 at 04:33 PM

    Hello Asad,

    I am with the same problem here.. So, I would like to know.. Are you fixed this issue? if yes, Can you share the solution with me?



    Add comment
    10|10000 characters needed characters exceeded

    • Creating the SDA file is the first of two steps. The second step is to create the SCA file.  Where this problem is not finding a file that is required to generate the SDA,  it seems to be either the path is incorrecvt to the tools or the tools were not extracted properly from the archive they are stored in.  Please refer to the documentation that explains how / where to extract the tools and the modifications in the script to point at them.  The only othere issue I have seen on these installations is insufficient access on the directory but that seems unlikely in this case. when I see the ../ in the begining of the path that seems to indicate a relative path.  As stated in the install guide the path should be set explicitly. (as suggested by Asad above)



  • Sep 15, 2016 at 06:50 PM


    For fix your problem you need to configure the variables as below:

    In input this:

    export NWDITOOLLIB="/sapmnt/<SID>/global/di_cmd_tools/lib"

    export JAVA_HOME="/sapmnt/<SID>/exe/jvm/linuxx86_64/sapjvm_6.1.086/sapjvm_6/jre"

    In operating system this:

    setenv DISPLAY=localhost:0

    setenv NWDITOOLLIB /sapmnt/<SID>/global/di_cmd_tools/lib

    setenv JAVA_HOME /sapmnt/<SID>/exe/jvm/linuxx86_64/sapjvm_6.1.086/sapjvm_6/jre

    setenv PATH /sapmnt/<SID>/exe/jvm/linuxx86_64/sapjvm_6.1.086/sapjvm_6/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/sap/<SID>/SYS/exe/uc/linuxx86_64:/usr/sap/<SID>/SYS/exe/run:/home/<sid>adm:.

    Remind, check your java's version before to configure the variables. In my case my java is 6.1.086.


    Daniel Berto Santana

    SAP Basis Netweaver

    Add comment
    10|10000 characters needed characters exceeded