I\'ve a spring boot project that I can run successfully from within IntelliJ, but when I package an executable jar I can no longer run it. Here is the stack trace of the exc
I think that you have forgotten to use Annotation in your AppConfig.
Add following three annotations to your AppConfig class:
AppConfig
@Configuration @EnableWebMvc @ComponentScan("Scan_Package_Name") public class AppConfig { ... some beans }