Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
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.
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
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.
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.
May I know your version of the extension SDK? On support.ptc.com it is available till 8.5. you can check it here:
I am using Extension-SDK-9-1-0.
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
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