Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新部署环境,添加应用时提示“Application's owner not exist.” #5352

Open
SirCFC opened this issue Feb 28, 2025 · 1 comment
Open

Comments

@SirCFC
Copy link

SirCFC commented Feb 28, 2025

Image

Copy link

dosubot bot commented Feb 28, 2025

To resolve the "Application's owner not exist" error in your Java application using the Apollo configuration management system with Spring, follow these steps:

  1. Verify Owner Name: Ensure that the app.getOwnerName() method returns a valid user ID. This is crucial because the error occurs when the owner is not found in the user service.

  2. Check User Service: Confirm that the userService.findByUserId(app.getOwnerName()) method can successfully find the user in the user service. This might involve checking the user database or the configuration of the user service to ensure the user exists.

  3. Create User if Necessary: If the user does not exist, you may need to create the user in the user service before attempting to create the application.

If the user should exist but is not found, investigate the user service setup to ensure it is correctly configured and accessible [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant