Good afternoon! I\'m starting spring studies, I\'m following a tutorial the same way, but it returns an error:
Folder structure:
The strange th
As answered by Deepak, main class should be in a root package above other packages. But if you don't want to do this, you can use:
@SpringBootApplication(scanBasePackages = {"com.other.packages","com.other"}) public class SpringAppApplication { ..... }