cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Customizations using com.thoughtworks.xstream, javax.ws.rs and javax.servlet

ocorten-2
10-Marble

Customizations using com.thoughtworks.xstream, javax.ws.rs and javax.servlet

We are upgrading from Windchill PDMLink 12.0.2.17 ro 13.0.2.0 and during the compilation of our Java customizations we get these errors:


com.thoughtworks.xstream does not exist

XStream library dependencies removed in Windchill 12.1+

See: https://www.ptc.com/en/support/article/CS386935

 

javax.ws.rs does not exist:

Running: windchill wt.util.jmx.Which javax/ws/rs/core

  • WC12 - URL: jar:file:/has/fs01/opt/ptc/windchill/codebase/WEB-INF/lib/wc3rdpartylibs.jar!/javax/ws/rs/core
  • WC13 - Resource not found

javax.servlet does not exist:
Running: windchill wt.util.jmx.Which javax/servlet

  • WC12 - URL: jar:file:/has/fs01/opt/ptc/windchill/codebase/WEB-INF/lib/ie3rdpartylibs.jar!/javax/servlet/
    and
    URL: jar:file:/has/fs01/opt/ptc/windchill/lib/servlet.jar!/javax/servlet
  • WC13 - Resource not found


Has anyone else stumbled upon this and was able to fix it?

ACCEPTED SOLUTION

Accepted Solutions
HelesicPetr
22-Sapphire I
(To:ocorten-2)

Hi @ocorten-2 

Yes,

take the old library from the old system separate the classes that are needed by your app from there and add it to new system. 

I did it many times if some methods classes where removed from the system but they were useful for me.

PetrH

View solution in original post

3 REPLIES 3
HelesicPetr
22-Sapphire I
(To:ocorten-2)

Hi @ocorten-2 

Yes,

take the old library from the old system separate the classes that are needed by your app from there and add it to new system. 

I did it many times if some methods classes where removed from the system but they were useful for me.

PetrH

Thanks a lot. Sounds like a quick (and dirty) solution.
It will give us time to rewrite the code to use other libraries.

 

HelesicPetr
22-Sapphire I
(To:ocorten-2)

Hi @ocorten-2 

The clear way is "do not use it" 😄 I know it is also wrong way 😄 

PetrH

Announcements

Top Tags