WSO2 Governance Registry - Error Creating registry extension file (RXT)

StackOverflow https://stackoverflow.com/questions/13655050

  •  03-12-2021
  •  | 
  •  

When I am trying to upload the registry extension file (RXT) as Add resource - Create text content, I am getting the following error

Failed to add resource with text based content to path /_system/governance/repository/components/org.w so2.carbon.governance/types/myuri.rxt. An exception occurred while executing han dler chain. java.lang.String cannot be cast to [B

I even tried to copy the same contents from an exisitng RXT for API or URI and tried to upload it and got the same error

I also referred to the Issue Tracker sample around creating extensions, still got the same error
有帮助吗?

解决方案

Do you get this error when trying to upload the RXT file via the management console? If so, please try adding the RXT file to the following location: G-Reg_home/repository/resources/rxts

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top