ERROR: Exception in thread "main" java.lang.NoClassDefFoundError: com/starbase/util/errorhandling/NestedException

0 Likes

Problem:

ERROR: Exception in thread "main" java.lang.NoClassDefFoundError: com/starbase/util/errorhandling/NestedException

Resolution:

Information in this Brief applies to

  • StarTeam Extensions 5.3 (5.3.0 Build 006)

Problem

When importing requirements from CaliberRM to StarTeam using the StarTeam-Caliber Import Utilities the error received is:

Exception in thread "main" java.lang.NoClassDefFoundError: com/starbase/util/errorhandling/NestedException

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at com.starbase.impreq.ImpreqGui.class$(ImpreqGui.java:514)

at com.starbase.impreq.ImpreqGui.showInFrame(ImpreqGui.java:521)

at com.starbase.impreq.ImpreqGui.main(ImpreqGui.java:604)"

Cause

The installation of the files for the requirements import fails to install one file, errorhandling.jar

Workaround

Check out "errorhandling.jar" from the StarFlow Extensions Project included in the sample StarDraw Respository (located in StarFlow Extensions/Projects) folder, to the folder where the import requirements utility files are installed.

Modify the file "iimpreq.bat" (if called in the Import.cmd)

From:

@ECHO OFF
SETLOCAL

stjava.exe -starteam 5.3 -jvm Sun1.4.1_02 -cp "impreq.jar" com.starbase.impreq.ImpreqGui

ENDLOCAL

To (note red text):

@ECHO OFF
SETLOCAL

stjava.exe -starteam 5.3 -jvm Sun1.4.1_02 -cp "impreq.jar;errorhandling.jar" com.starbase.impreq.ImpreqGui

ENDLOCAL

Old KB# 28470
Comment List
Related
Recommended