Forums

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

upgrade xstream-1.1.1.jar to xstream-1.4.12.jar, confluence start error

jwh5566
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 18, 2020

hello , i just upgrade xstream.jar , when i restart confluence  the log output is this,  how deal this  Anyone knows ? 

confluence_error.png

1 answer

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 19, 2020

Why are you upgrading bits of Confluence like this?  A lot of the code is dependent on specific ranges of libraries, so you can and will break it by randomly changing parts of it.

Best bet - undo your "upgrade".

jwh5566
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 19, 2020

thanks , the reason is the xstream old version has bug, so i want to upgrade

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 19, 2020

Ok.  You simply can not just replace bits of a system and expect it to continue to work.

If you want to upgrade a library a system like Confluence is using, will need to download the source of the system, work out all the places where the library might be used, amend them to handle the new version and recompile it all. 

Or upgrade Confluence to a version that has a newer library. 

Before you do that, I very strongly recommend undoing all your "upgrades" so that you have a standard working system, and upgrading from there.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events