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

Deploying AddressServer reported an error and could not start #3091

Closed
metaphysical-road opened this issue Jun 17, 2020 · 4 comments · Fixed by #3456
Closed

Deploying AddressServer reported an error and could not start #3091

metaphysical-road opened this issue Jun 17, 2020 · 4 comments · Fixed by #3456
Labels
dependencies Pull requests that update a dependency file kind/bug Category issues or prs related to bug.
Milestone

Comments

@metaphysical-road
Copy link

Description:

Field authManager in com.alibaba.nacos.core.auth.AuthFilter required a bean of type 'com.alibaba.nacos.core.auth.AuthManager' that could not be found.

The injection point has the following annotations:

  • @org.springframework.beans.factory.annotation.Autowired(required=true)
    Action:

Consider defining a bean of type 'com.alibaba.nacos.core.auth.AuthManager' in your configuration

@metaphysical-road
Copy link
Author

Description:

Field authManager in com.alibaba.nacos.core.auth.AuthFilter required a bean of type 'com.alibaba.nacos.core.auth.AuthManager' that could not be found.

The injection point has the following annotations:

  • @org.springframework.beans.factory.annotation.Autowired(required=true)
    Action:

Consider defining a bean of type 'com.alibaba.nacos.core.auth.AuthManager' in your configuration

I can fix the the problem

@KomachiSion
Copy link
Collaborator

KomachiSion commented Jun 17, 2020

How do you start server? Start in IDE?

@metaphysical-road
Copy link
Author

After packaging, the system starts

Packaged command
sudo mvn -P release-address clean install -Dmaven.test.skip=true

Generate jar nacos-address-server.tar.gz

Start command
sh bin/startup.sh -s nacos-address

@metaphysical-road
Copy link
Author

How do you start server? Start in IDE?

After packaging, the system starts

Packaged command
sudo mvn -P release-address clean install -Dmaven.test.skip=true

Generate jar nacos-address-server.tar.gz

Start command
sh bin/startup.sh -s nacos-address

@KomachiSion KomachiSion added dependencies Pull requests that update a dependency file kind/bug Category issues or prs related to bug. and removed status/need feedback labels Jun 18, 2020
@KomachiSion KomachiSion added this to the 1.3.1 milestone Jun 18, 2020
@KomachiSion KomachiSion modified the milestones: 1.3.1, 1.3.2 Jun 28, 2020
KomachiSion added a commit to KomachiSion/nacos that referenced this issue Jul 27, 2020
KomachiSion added a commit to KomachiSion/nacos that referenced this issue Jul 27, 2020
chuntaojun pushed a commit that referenced this issue Jul 31, 2020
…auth manager. (#3456)

* Fix #3091 by empty auth manager.

* Fix #3091 by empty auth manager.

* Use conditional to solve bean conflict
@KomachiSion KomachiSion mentioned this issue Aug 4, 2020
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file kind/bug Category issues or prs related to bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants