Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
D Tonhofer
Total activity
13
Last activity
July 14, 2023 19:14
Member since
June 14, 2023 10:39
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
3
Activity overview
Posts (3)
Comments (7)
Sort by recent activity
Recent activity
Votes
Created
July 14, 2023 19:14
Thanks Olga. It's cool for now, I think I get the problem.
Community
IntelliJ IDEA Users
Spring Boot scans the compiled files twice, leading to "A bean with that name has already been defined" error. How to properly solve this?
0 votes
Edited
July 14, 2023 15:27
Thank you Olga, Yes, sorry about the confusion. It starts normally because I have added spring.main.allow-bean-definition-overriding=true to file "src/main/resources/application.properties". If y...
Community
IntelliJ IDEA Users
Spring Boot scans the compiled files twice, leading to "A bean with that name has already been defined" error. How to properly solve this?
0 votes
Edited
July 14, 2023 15:33
Thank you, nice. Still this confuses me a bit. Getting rid of the static factory method annotated with @Bean and having this in src/main/java/tacos/model/ingredients/IngredientRelation.java @Compon...
Community
IntelliJ IDEA Users
Spring Boot scans the compiled files twice, leading to "A bean with that name has already been defined" error. How to properly solve this?
0 votes
Created
July 14, 2023 12:55
Here it is: Upload id: 2023_07_14_m32gtzJBDEQw7qRufEm9qa (file: taco-cloud.tar.gz)
Community
IntelliJ IDEA Users
Spring Boot scans the compiled files twice, leading to "A bean with that name has already been defined" error. How to properly solve this?
0 votes
Created
June 15, 2023 13:06
Thank you Ivan. Yes, that works fine, getting taco-cloud-0.0.1-SNAPSHOT.jar taco-cloud-0.0.1-SNAPSHOT-plain.jar inside the build/libs directory. The "plain" jar is executable, the other one seems t...
Community
IntelliJ IDEA Users
Problems creating executable jar using IDEA "Artifact" definition (while Gradle/Kotlin is used as build tool)
0 votes
Edited
June 15, 2023 08:35
Thank you Ivan. As a workaround you can press Shift key two times to invoke Search Everywhere > type 'build artifacts' in search box Yes, using this as a way to start the artifact build works. Ok...
Community
IntelliJ IDEA Users
Problems creating executable jar using IDEA "Artifact" definition (while Gradle/Kotlin is used as build tool)
0 votes
Edited
June 14, 2023 17:39
Thank you Ivan, I typed in the taco-cloud project from the book, it is very minimal at this point. So I updated to 2023.1.2 (Ultimate) This seems to have gone quite smoothly (I can even move the to...
Community
IntelliJ IDEA Users
Problems creating executable jar using IDEA "Artifact" definition (while Gradle/Kotlin is used as build tool)
0 votes