KB-2081 @Type annotation not found in appian-plugin-sdk

Symptoms

When importing com.appiancorp.suiteapi.type.Type into a Java class file for a Suite API plugin, the compiler will indicate that the class Type could not be found.

Cause

The Type class is missing from the appian-plugin-sdk.jar file that is used to compile Suite API plugins.This issue has been reported to the Appian Product Team. The reference number for this issue is AN-90744.

Action

Add <APPIAN_HOME>/deployment/web.war/WEB-INF/lib/appiancorp-suiteapi-annotations-0-SNAPSHOT.jar (Tomcat) or <APPIAN_HOME>/suite.ear/lib/appiancorp-suiteapi-annotations-0-SNAPSHOT.jar (JBoss) to the classpath when compiling the plugin. This requires an Appian installation on the machine that is being used to develop the plugin.

Affected Versions

This article applies to Appian 17.2 and later.

Last Reviewed: February 2020

Related
Recommended