Hello,
I am trying to upgrade my project from Windchill 11 to Windchill 12. I face the below issue when trying to compile the source code in eclipse. The error points to LoadPart.java file
"The type wt.vc._MasterIteration cannot be resolved. It is indirectly referenced from required .class files"
I have included all the necessary jar files in the build path of the project but the issue is still there. Cleaning and re-building of the project also didnt help. Kindly let me know if anyone has any idea as to how to resolve this.
Thanks,
Solved! Go to Solution.
Hi @RK_10805837
You need to add the Windchill path classes
The WTHOME/codebase contains many classes that are not in jar files, and are used.
You need to add all the classes to your paths
here is example from my path definition in InteliJIdea
PetrH
Hi @RK_10805837
It seams that you use some code that is not used any more in windchill 12
is it problem with your code?
there can be some changes in the Windchill java library that is not compatible with your code.
PetrH
Hi @HelesicPetr , thanks for the reply.
The error does not point to any custom code but in the OOTB file of LoadPart.java. It also shows this error along with the above one:
"The project was not built since its build path is incomplete. Cannot find the class file for wt.vc._MasterIteration. Fix the build path then try building this project"
Thanks,
Hi @RK_10805837
You need to add the Windchill path classes
The WTHOME/codebase contains many classes that are not in jar files, and are used.
You need to add all the classes to your paths
here is example from my path definition in InteliJIdea
PetrH
Hi @HelesicPetr , thank you for the response. I had missed to add the WEB-INF folder in the build path. It works with this, thank you