package com.jstanier.tweetscheduler.main;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan("com.jstanier.tweetscheduler")
public class Config {

}

package com.jstanier.tweetscheduler.main;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan("com.jstanier")
public class Config {

}

--- 
+++ 
@@ -4,7 +4,7 @@
 import org.springframework.context.annotation.Configuration;
 
 @Configuration
-@ComponentScan("com.jstanier")
+@ComponentScan("com.jstanier.tweetscheduler")
 public class Config {
 
 }
Make component scan more specific
