Forums

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

ERROR 404 - Servlet tutorial

Sebastián Campos January 18, 2021

Hi,

I was doing this tutorial: https://developer.atlassian.com/server/framework/atlassian-sdk/control-access-with-sal/

But when I try to enter in :localhost:2990/jira/plugins/servlet/test.

I get an 404 error.

When I run: atlas-run --product jira --version 7.13.0

In the bash I get the next error: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.atlassian.sal.api.user.UserManager].

I searched in this forum, and I find a lot of people with the same issue, but I cannot resolve this problem.

This is a part of my code where I guess is the problem:

jira.png

Thanks for your help

 

1 answer

0 votes
Nir Haimov
Community Champion
January 19, 2021

Hi @Sebastián Campos 

Your code is nothing like the code in the tutorial...

And your annotations are wrong.

Also, what UserManager are you trying to use?
Please specify the entire library in your import

Thanks.

Sebastián Campos January 21, 2021

Thanks for the answer!.

I finally fixed it using: https://developer.atlassian.com/server/framework/atlassian-sdk/spring-java-config/

Have a nice day!.

Suggest an answer

Log in or Sign up to answer