79195140

Date: 2024-11-16 12:29:19
Score: 1.5
Natty:
Report link

If your configuratoins are in different packages, use @ComponentScan on application like this:

@SpringBootApplication
@ComponentScan(basePackages = {"hu.infokristaly"})
public class ForrasUploadSoapServerApplication {
    private static ApplicationContext applicationContext;

    public static void main(String[] args) {
       SpringApplication.run(ForrasUploadSoapServerApplication.class, args);
    }

}
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @ComponentScan
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Papp Zoltán