Exception thrown in Studio and command line while creating ear file:java.lang.Exception: java.lang.NoSuchFieldError:

Exception thrown in Studio and command line while creating ear file:java.lang.Exception: java.lang.NoSuchFieldError:

book

Article ID: KB0087732

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
Exception thrown in Studio and command line while creating ear file when BusinessEvents application contains a Database Concept .

Environment:
===========
TIBCO BusinessEvents 5.x
All Operating Systems

Symptoms:
===========
java.lang.Exception: java.lang.NoSuchFieldError: DEFAULT_SUPER_CLASS_PACKAGE
    at com.tibco.cep.studio.core.util.packaging.impl.DefaultRuntimeClassesPackager.close(Unknown Source)
    at com.tibco.cep.studio.core.util.packaging.impl.EMFBarPackager.close(Unknown Source)
    at com.tibco.cep.studio.core.util.packaging.impl.EMFEarPackager.close(Unknown Source)
    at com.tibco.cep.studio.ui.actions.BuildEnterpriseArchiveAction.runBuildArchive(Unknown Source)
    at com.tibco.cep.studio.ui.actions.BuildEnterpriseArchiveAction.access$1(Unknown Source)
    at com.tibco.cep.studio.ui.actions.BuildEnterpriseArchiveAction$BuildArchiveJob.run(Unknown Source)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.NoSuchFieldError: DEFAULT_SUPER_CLASS_PACKAGE
    at com.tibco.cep.studio.dbconcept.codegen.DBConceptClassGenerator.makeConceptFile(Unknown Source)
    at com.tibco.cep.studio.dbconcept.codegen.DBConceptCodeGenerator.generateConcept(Unknown Source)
    at com.tibco.cep.studio.codegen.BaseGenerator.case(Unknown Source)
    at com.tibco.cep.studio.codegen.BaseGenerator.char(Unknown Source)
    at com.tibco.cep.studio.codegen.BaseGenerator.generate(Unknown Source)
    ... 7 more


Cause :
===========
The issue is caused if the proper version of the Data Modelling add-on is not installed/applied to the TIBCO BusinessEvents environment

Resolution:
===========
Ensure that the proper version of TIBCO BusinessEvents Data Modelling add-on is installed/applied to the BusinessEvents environment .

Issue/Introduction

Exception thrown in Studio and command line while creating ear file:java.lang.Exception: java.lang.NoSuchFieldError: