Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hello,
I am new to Creo parametric. I am getting "Startup of Application failed" dialog popup when I try to run a jlink application through Auxiliary Applications option under Tools menu. This jlink application is calling some cloud Rest APIs. If I remove these Webservice calls, then the jlink app runs fine.
Is there any option to call external REST services from Creo Parametric? Or any option to trigger separate program which in turn can call these web services?
Thanks,
Apoorva
Solved! Go to Solution.
Calling REST api from jlink is easy. Error you get is not caused by your code. It could by caused by wrong classpaths, not found resources etc.
Did you use some external Java library for REST call?
Maybe, Creo can't found this library. Add any library to the *.dat file using java_app_classpath option.
You can also bundle all dependencies in one jar file with maven assembly plugin https://stackoverflow.com/questions/1729054/including-dependencies-in-a-jar-with-maven
Calling REST api from jlink is easy. Error you get is not caused by your code. It could by caused by wrong classpaths, not found resources etc.