Похожие чаты

I'M trying to use Swagger configuration for Java project. I've reproduced

the problem:

***************************

APPLICATION FAILED TO START

***************************

Description:

Parameter 0 of constructor in com.config.SwaggerConfig required a bean of type 'org.springframework.boot.info.BuildProperties' that could not be found.

Action:

Consider defining a bean of type 'org.springframework.boot.info.BuildProperties' in your configuration.


I've already tried to fix it using solutions from here, but nothing helps me.

Also tried to change annotation @AllArgsConstructor instead of @RequiredArgsConstructor, but still the same issue appears.

Does anyone know how to fix this error? I can provide more information if needed. I appreciate any help.

1 ответов

32 просмотра
ᅠ ᅠ ᅠ Maksym-R. Автор вопроса

The answer is here. The cause is: "Both the Maven plugin and the Gradle plugin allow generating build information containing the coordinates, name, and version of the project. The plugins can also be configured to add additional properties through configuration. When such a file is present, Spring Boot auto-configures a BuildProperties bean."

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта