Skip to main content
4-Participant
May 27, 2024
Question

method call failure about wt.method.RemoteMethodServer under eclipse

  • May 27, 2024
  • 1 reply
  • 977 views
I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.2.11

I set up a developing environment for the programmer,then make a simple application to invoke the method of wt.method.RemoteMethodServer.But I didn't succeed.
Windchill verison: 12.0.2.11
Eclipse:4.17.0
Java: 11.0.19
I


Here are the errors that I faced
>>>>>1>>>>>
Hello,wcadmin
>>>>>2>>>>>
Exception is >>>>>wt.util.WTRemoteException: unable to call remote methods;Nested exception are:
java.lang.ClassNotFoundException: com.HelloWindchill

    1 reply

    HelesicPetr
    22-Sapphire II
    22-Sapphire II
    May 27, 2024

    Hi @user_wg_1666666 

    Your class is not defined or is not located in the Windchill location

     

    the correct class location for  HelloWindchill.class should be .../Windchill/codebase/com/ folder

     

    PetrH

    18-Opal
    May 30, 2024

    Hello user_wg_1666666,

    Was the information provided helpful ?

    KR,

    Charles.

    4-Participant
    May 31, 2024

    The links below are valid references:

    https://www.ptc.com/support/article/CS24105