Forums

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

How to get user details giver user ID

Igor Nikolaev November 11, 2019

I'm writing a Confluence plugin and I need to get user full name given user ID. I found `UserAccessor` interface, but whenever I try to use it in my components I get `NoSuchBeanDefinitionException`:

```

Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.atlassian.confluence.user.UserAccessor' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}

```

I saw similar question raised before, but I couldn't find any clear resolution. Should I be using some other bean to get user details from?

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 14, 2019

Hi Igor,

Thank you for contacting us about this! My recommendation for this type of question would be to raise it with the Atlassian Developer Community. That community is more folks who are familiar with this process, whereas this community is more end-users who do not have as much experience with developing for Atlassian apps.

Let me know if you have any trouble!

Regards,

Shannon 

Igor Nikolaev November 16, 2019

Thanks, will post it there!

Like Shannon S likes this
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 19, 2019

You're welcome, Igor!

Take care,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events