Article - CS19974

Unable to compile Java code with warning "Cannot find annotation method 'name()' in type 'com.ptc.windchill.annotations.metadata.GeneratedProperty'..." in Windchill PDMLink

Modified: 16-Apr-2025   


Applies To

  • Windchill PDMLink 10.0 to 13.0

Description

  • Unable to compile Java code
  • Warning: "Cannot find annotation method 'name()' in type 'com.ptc.windchill.annotations.metadata.GeneratedProperty: class file for com.ptc.windchill.annotations.metadata.GeneratedProperty not found"
  • An exception has occurred in the compiler (1.6.0_22). 
    com.sun.tools.javac.code.Symbol$CompletionFailure: class file for com.ptc.windchill.annotations.metadata.SupportedAPI not found 
This is a printer-friendly version of Article 19974 and may be out of date. For the latest version click CS19974