spring kotlin Your ApplicationContext is unlikely to start

Developer from somewhere

Problem: started a kotlin spring app. Received this message: Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package. Problem is described here as well.

Solution:

  • move files out of the default package, to a named one.