Error while adding New Resource in Thingworx Extension
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Error while adding New Resource in Thingworx Extension
Hi All,
I am trying to add a new Resource when creating a Extension in Eclipse.
But I am getting an error as " Please choose a valid Superclass - Class is not instance of: com.thingworx.resources.Resource". Attached the screenshot with the post.
Any idea, why this error is thrown.
NOTE: I have included the SDK zip while creating the project itself.
In addition to above, I also tried after adding few external JAR files to the project library.
Has anyone faced this error.
Thanks in Advance.
Bhushan
Solved! Go to Solution.
- Labels:
-
Design
-
Extensions
-
Troubleshooting
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Yes. I too think it might be due to some compatibility issue.
When I used lower version SDK, I did not see this error.
With / without the external libraries, it was working okay.
Regards,
Bhushan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Seems like either eclipse is not able to recognize the superclass or it is not available. Can you click on the browse button beside superclass and do you see this class coming from thingworx-ext-sdk-version.jar, something like this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Yes I see the class coming in pop up when I click Browse, same as you have posted.
Also where can I download older version of Thingworx Extension SDK /Eclipse Plugin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
May I know your version of the extension SDK? On support.ptc.com it is available till 8.5. you can check it here:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I am using Extension-SDK-9-1-0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Did you try it with just the SDK--without the external libraries? There could be a compatibility issue.
Which version of ThingWorx are you developing your extension for?
Regards.
--Sharon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Yes. I too think it might be due to some compatibility issue.
When I used lower version SDK, I did not see this error.
With / without the external libraries, it was working okay.
Regards,
Bhushan
