cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Java SDK about IDataShapeDefinitionProvider

wlihua
1-Visitor

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.

2 REPLIES 2
supandey
19-Tanzanite
(To:wlihua)

Wang, at which point do you get this error? Also for your logger won't you wanna do :

private static final Logger LOG = LoggerFactory.getLogger(GetFilelistThingTemplate.class);

jgorsline
12-Amethyst
(To:wlihua)

Wang,

Any update on this? Was Sushant Pandey's post helpful?

Announcements


Top Tags