Open joacatito opened 4 years ago
No active profile set, falling back to default profiles: default
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authConfig' defined in file [C:\Projects\MyProject\build\classes\kotlin\main\com\ofertanautica\backend\configuration\AuthConfig.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jwtProcessor': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'cognito.keys' in value "${cognito.keys}"
These error messages suggest that the launch configuration for your Spring application is incorrect.
Hello.
Sorry, but as i said, in IntelliJ, same project runs without any problem, is not a project configuration issue. Probably is some parameter in plugin where application is launched that is gone wrong.
I know the error, don't know why...
''' 2020-06-27 12:33:02.991 INFO 7856 --- [ main] com.ofertanautica.backend.AppKt : Starting AppKt on WIN-K5FLY0XKVG with PID 7856 (C:\Projetos\MyProject\build\classes\kotlin\main started by joaquim.tito in C:\Users\myUser\AppData\Local\Programs\Microsoft VS Code) '''
look the difference between these paths: Project path: C:\Projetos\MyProject\build\classes\kotlin\main started by joaquim.tito Start path: C:\Users\myUser\AppData\Local\Programs\Microsoft VS Code
I'd copied the application.properties file into this directory: C:\Users\myUser\AppData\Local\Programs\Microsoft VS Code
The application is running now, but is a non sense directory.
Thank you for help.
Hello!
Thank you for the plugin.
I'm trying to run my project, but is presenting the error described bellow. I can run this same project on IntelliJ without any problem. I'm explaining this in order to avoid project configuration issues.
launch.json
tasks.json
My Guess:
In VS Code the first info log is:
And in IntelliJ the same INFO is:
Maybe some execution parameter is missing for Debug Adapter or Server...