cancel
Showing results for 
Search instead for 
Did you mean: 

DTR command line client fails

Former Member
0 Kudos

When I try to run the DTR command line client that is shipped with NWDS 7.0.0.9, I get the following error:

Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/tc/logging/Lo

cation

at com.tssap.dtr.client.commandline.DTRShell.<clinit>(DTRShell.java:21)

Where do I find the jar that contains the missing class com/sap/tc/logging/Location, so that I can add it to the classpath?

Thanks,

Benno

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Apparently, more people have had this problem. I found the answer in other threads, for example:

- [/thread/53156 [original link is broken];

- [;

dtrshell.bat in C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.tssap.dtr.client.vfs_2.0.0 contained the following lines:

rem Archives from foreign Plugins:

set CLASS_PATH=%CLASS_PATH%;..\com.tssap.sap.libs.xmltoolkit\lib\sapxmltoolkit.jar

set CLASS_PATH=%CLASS_PATH%;..\com.tssap.sap.libs.logging\lib\logging.jar

set CLASS_PATH=%CLASS_PATH%;..\com.sap.tc.jarm\lib\jARM.jar

After inserting _2.0.0 in these lines as shown below, the problem was fixed:

rem Archives from foreign Plugins:

set CLASS_PATH=%CLASS_PATH%;..\com.tssap.sap.libs.xmltoolkit_2.0.0\lib\sapxmltoolkit.jar

set CLASS_PATH=%CLASS_PATH%;..\com.tssap.sap.libs.logging_2.0.0\lib\logging.jar

set CLASS_PATH=%CLASS_PATH%;..\com.sap.tc.jarm_2.0.0\lib\jARM.jar

Good Luck,

Benno