2 Replies Latest reply on Mar 3, 2017 11:45 AM by jgorsline RSS
    wlihua Newbie

    Java SDK about IDataShapeDefinitionProvider

    When Creating a ThingTemplate from a Virtual Thing Service (Java SDK)

    I have the problem:

    The type com.thingworx.common.interfaces.IDataShapeDefinitionProvider cannot be resolved. It is indirectly referenced from

      required .class files

     

    code:

    import com.thingworx.communications.client.things.VirtualThing;

    import com.thingworx.logging.LogUtilities;

    import com.thingworx.metadata.DataShapeDefinition;

    import com.thingworx.metadata.FieldDefinition;

    import com.thingworx.metadata.annotations.ThingworxServiceDefinition;

    import com.thingworx.metadata.annotations.ThingworxServiceParameter;

    import com.thingworx.metadata.annotations.ThingworxServiceResult;

    import com.thingworx.types.InfoTable;

    import com.thingworx.types.collections.ValueCollection;

     

     

    public class GetFilelistThingTemplate extends VirtualThing {

     

      private static final long serialVersionUID = 1L;

      private static Logger _logger = LogUtilities.getInstance().getApplicationLogger(GetFilelistThingTemplate.class);

     

     

      public GetFilelistThingTemplate() {

     

      }

     

    Please give some pointer.

     

    Thanks.