unable to resolve class com.atlassian.confluence.

D X October 11, 2024

Dear support

after migrating new version of Confluence (8.5) and addition macros, one of the script we got is no longer working.
We use a

import com.opensymphony.webwork.ServletActionContext;

 

 

It seems this library / function become obsolete, and following this page https://confluence.atlassian.com/doc/struts-2-upgrade-1155473773.html#Struts2upgrade-breaking-change or https://community.developer.atlassian.com/t/psa-confluence-moves-to-struts-in-8-0-eap/60376/20?page=2, I try to replace the import statement with com.atlassian.confluence.compat.struts2.servletactioncontext.ServletActionContextCompatManager or com.atlassian.confluence.web.context.StaticHttpContext

 

 

but no one of those libraries works (I have the same message unable to resolve class com.atlassian.XXX)

 

 

Did I do something wrong ? How I can enable those library ?

 

Regards,
Xavier

1 answer

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 11, 2024

Hi Xavier,

This is not Atlassian support - this is just an end user community where people help each other out. For more technical problems like yours, you should probably contact support directly.

https://support.atlassian.com/contact/#/

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events