Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
I created a extension on eclipse,when I try to imported into Thingworx composer I got the following error Import Failed: No enum constant com.thingworx.types.BaseTypes.InfoTable, Does anyone have a suggestion on how solve this?
Solved! Go to Solution.
Ok, just to make sure...did you try importing this extension when baseType was "InfoTable" and then retried import after you change it to "INFOTABLE"? If so, Thingworx is reusing your old extension jar file with "InfoTable". You need to delete the erroneous extension and restart Tomcat to clear the jar files from its web resource directories.
Change your InfoTable to all CAPS, like "com.thingworx.types.BaseTypes.INFOTABLE" and try again.
Basically what my extension is doing is creating a thingtemplate and adding a service which accepts a parameter "INFOTABLE" Type,here is the declaration
@ThingworxServiceParameter(name = "xxxx", description = "", baseType = "INFOTABLE", aspects = {
"isRequired:true", "isEntityDataShape:true",
"dataShape:Shapexxxx" }) InfoTable xxxx) {
As you see is all CAPS but I still getting the error
Where do you suggest to change this to all caps?
Ok, just to make sure...did you try importing this extension when baseType was "InfoTable" and then retried import after you change it to "INFOTABLE"? If so, Thingworx is reusing your old extension jar file with "InfoTable". You need to delete the erroneous extension and restart Tomcat to clear the jar files from its web resource directories.
I was missing restarting the tomcat services, Now is working
Thanks