Quantcast
Channel: PTC Community : Discussion List - Windchill
Viewing all articles
Browse latest Browse all 5797

Windchill 9.1 customized code not running on Windchill 10.1.. Java issue

$
0
0

Hi All,

 

I am trying to deploy the Customized code from Windchill 9.1 to Windchill 10.1.

This code is written for Exporting the Documents from Windchill.

 

When i try to Compile same code from Windchill shell in 10.1 version i got below Warnings and errors.

 

Kindly go through this and suggest the corrective actions.

 

The ExportDocuments.java is attched with this..

 

Thanks,

Vivek

 

 

C:\ptc\Windchill_10.1\Windchill\src\ext\util>javac ExportDocuments.java

C:\ptc\Windchill_10.1\Windchill\codebase\wt\doc\WTDocument.class: warning: Canno

t find annotation method 'superClass()' in type 'com.ptc.windchill.annotations.m

etadata.GenAsPersistable': class file for com.ptc.windchill.annotations.metadata

.GenAsPersistable not found

C:\ptc\Windchill_10.1\Windchill\codebase\wt\doc\WTDocument.class: warning: Canno

t find annotation method 'interfaces()' in type 'com.ptc.windchill.annotations.m

etadata.GenAsPersistable'

C:\ptc\Windchill_10.1\Windchill\codebase\wt\doc\WTDocument.class: warning: Canno

t find annotation method 'extendable()' in type 'com.ptc.windchill.annotations.m

etadata.GenAsPersistable'

C:\ptc\Windchill_10.1\Windchill\codebase\wt\doc\WTDocument.class: warning: Canno

t find annotation method 'versions()' in type 'com.ptc.windchill.annotations.met

adata.GenAsPersistable'

C:\ptc\Windchill_10.1\Windchill\codebase\wt\doc\WTDocument.class: warning: Canno

t find annotation method 'properties()' in type 'com.ptc.windchill.annotations.m

etadata.GenAsPersistable'

C:\ptc\Windchill_10.1\Windchill\codebase\wt\doc\WTDocument.class: warning: Canno

t find annotation method 'name()' in type 'com.ptc.windchill.annotations.metadat

a.GeneratedProperty': class file for com.ptc.windchill.annotations.metadata.Gene

ratedProperty not found

C:\ptc\Windchill_10.1\Windchill\codebase\wt\doc\WTDocument.class: warning: Canno

t find annotation method 'type()' in type 'com.ptc.windchill.annotations.metadat

a.GeneratedProperty'

C:\ptc\Windchill_10.1\Windchill\codebase\wt\doc\WTDocument.class: warning: Canno

t find annotation method 'supportedAPI()' in type 'com.ptc.windchill.annotations

.metadata.GeneratedProperty'

An exception has occurred in the compiler (1.6.0_31). Please file a bug at the J

ava Developer Connection (http://java.sun.com/webapps/bugreport)  after checking

the Bug Parade for duplicates. Include your program and the following diagnosti

c in your report.  Thank you.

com.sun.tools.javac.code.Symbol$CompletionFailure: class file for com.ptc.windch

ill.annotations.metadata.SupportedAPI not found



Viewing all articles
Browse latest Browse all 5797

Trending Articles



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