1-Visitor
January 21, 2014
Solved
problem in creation part using JAVA API?
- January 21, 2014
- 1 reply
- 3242 views
Hi,
I am trying to create part using java API.
Code: public static void 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?

