package com.jstanier.tweetscheduler.main;

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

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

}

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 {

}

Make component scan more specific
Make component scan more specific
