SDK type indirectly referenced from required .class file

Certified Senior Developer

Trying to use the Application.addObjectsByType() and am getting this error:

java.lang.Error: Unresolved compilation problems:
        The type com.appiancorp.ix.Type cannot be resolved. It is indirectly referenced from required .class files
        The type com.appiancorp.ix.Haul cannot be resolved. It is indirectly referenced from required .class files

Is there an issue with the SDK or have I missed something?

Any help resolving this error is much appreciated

SDK I'm using if from v20.2

  Discussion posts and replies are publicly visible