Quantcast
Channel: PTC Community : Unanswered Discussions - Windchill
Viewing all articles
Browse latest Browse all 3592

problem in creation part using JAVA API?

$
0
0

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

ErrorThe 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?

 


Viewing all articles
Browse latest Browse all 3592

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>