Unable to drag and drop a Process Definition to a new or existingproject. Receive exception java.lang.NoClassDefFoundError: COM/TIBCO/hawk/ami/AmiMethodInterface Error

Unable to drag and drop a Process Definition to a new or existingproject. Receive exception java.lang.NoClassDefFoundError: COM/TIBCO/hawk/ami/AmiMethodInterface Error

book

Article ID: KB0090435

calendar_today

Updated On:

Products Versions
TIBCO Designer -
Not Applicable -

Description

Resolution:
Description:
============
Unable to drag and drop a Process Definition to a new or existing  project. Receive exception  java.lang.NoClassDefFoundError: COM/TIBCO/hawk/ami/AmiMethodInterface Error


Environment:
===========
TIBCO Runtime Agent(TRA) 5.7.x , 5.6.x
TIBCO Administrator 5.7.x, 5.6.x


Details:
========
We are unable to drag and drop a Process Definition to a new or existing  project in TIBCO Designer , in Show Console we see following error:

--------------------------------.
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: COM/TIBCO/hawk/ami/AmiMethodInterface
    at com.tibco.pe.model.ProcessReport.if(ProcessReport.java:616)
    at com.tibco.pe.model.ProcessReport.do(ProcessReport.java:473)
    at com.tibco.pe.model.ProcessReport.&ltinit>(ProcessReport.java:196)
    at com.tibco.pe.model.ProcessReport.&ltinit>(ProcessReport.java:163)
    at com.tibco.ae.tools.palettes.processpalette.ProcessDefinition.e(ProcessDefinition.java:1256)
--------------------------------.

The above error is because the ami.jar file under &ltHAWK_HOME>/lib is not loaded by TIBCO Designer.


Resolution:
=========
Add a reference to &ltHAWK_HOME>/lib in the extended classpath of designer.tra.

Issue/Introduction

Unable to drag and drop a Process Definition to a new or existingproject. Receive exception java.lang.NoClassDefFoundError: COM/TIBCO/hawk/ami/AmiMethodInterface Error