Hi,
I am trying to create part using java API.
Code: publicstaticvoid CreatePart()
{
System.out.println("enter in part creation");
WTPart part;
try {
part = WTPart.newWTPart("01234567", "MyPartName");
} catch (WTException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
PersistenceHelper.manager.save(part);
}
But getting error while saving part in database using PersistenceHelper.manager.save(part); API
Error: The type com.ptc.windchill.annotations.metadata.ColumnType cannot be resolved. It is indirectly referenced from required .class files
PFA screenshot of error
I am new in Windchill ,plz anyone help me?