Skip to content

Error starting Application: required a bean after adding jwt code #3

@khadkakrishna

Description

@khadkakrishna
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
�[2m2021-05-09 01:29:41.191�[0;39m �[31mERROR�[0;39m �[35m32429�[0;39m �[2m---�[0;39m �[2m[  restartedMain]�[0;39m �[36mo.s.b.d.LoggingFailureAnalysisReporter  �[0;39m �[2m:�[0;39m 

***************************
APPLICATION FAILED TO START
***************************

Description:

Parameter 0 of constructor in com.example.myproject.jwt.JwtSecretKey required a bean of type 'com.example.myproject.jwt.JwtConfig' that could not be found.


Action:

Consider defining a bean of type 'com.example.myproject.jwt.JwtConfig' in your configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions