Why do I get the error java.lang.NoClassDefFoundError: com/iscobol/rts_n/StopRunException?

Question ID : 146
Created on 2010-08-24 at 12:07 PM
Author : Veryant Support [support@veryant.com]

Online URL : http://support.veryant.com/support/phpkb/question.php?ID=146



Question:

When I run my program I get the following error:

Exception in thread "main" java.lang.NoClassDefFoundError: com/iscobol/rts_n/StopRunException (wrong name: This_object_is_not_compatible_with_current_isCOBOL_framework_version_recompile_required)

Why do I get this error and what can I do about it?

Answer:

This error means that one of your COBOL programs was compiled with isCOBOL version 2009 SP1 or earlier using the -cp compile option, and you are attempting to execute it with an isCOBOL Runtime Framework version 2009 SP2 or later.

To correct this problem, recompile your programs with isCOBOL 2009 SP2 or later.

To help identify which program is causing this error you can run the following command from the directory containing your objects (i.e. .class files):

iscrun -info * | more



Back to Original Question