Skip to main content
1-Visitor
September 23, 2020
Solved

ThingWorx Foundation. Can't find method after migration to local machine

  • September 23, 2020
  • 1 reply
  • 1346 views

Hello, i got problem after import projects from demo to local server.

When i try to add newly created entity (Thing) to project  (link - (http://support.ptc.com/help/thingworx_hc/javadoc/com/thingworx/projects/Project.html#AddEntities-java.lang.String-com.thingworx.types.TagCollection-org.json.JSONObject-)

(Also i found this topic - https://community.ptc.com/t5/ThingWorx-Developers/create-a-thing-dynamically-using-a-service-and-then-configure-it/m-p/580723#M32242)

like this: 

Projects["BeerBrew Project"].AddEntities(options);

In local machine i get internal error

InternalError: Can't find method com.thingworx.projects.Project.AddEntities(object). (AddNewBrewingCard#20)

but in my demo server this method is working (i use same code):

Screenshot_1.pngScreenshot_2.png

How can i fix this?
Thanks in advance

Best answer by MS_01

Problem was solved by reinstalling ThingWorx Foundation.

 

1 reply

MS_011-VisitorAuthorAnswer
1-Visitor
September 24, 2020

Problem was solved by reinstalling ThingWorx Foundation.