You are currently reviewing an older revision of this page.

KB-XXXX @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.

Action

This has been reported to Appian in AN-90744.

As a workaround add <APPIAN_HOME>/deployment/web.war/WEB-INF/lib/appiancorp-suiteapi-annotations-0-SNAPSHOT.jar (when using Tomcat as an application server) to the classpath when compiling the plugin.