Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified lib/PageSuccess-0.0.1-SNAPSHOT.jar
Binary file not shown.
7 changes: 5 additions & 2 deletions src/main/java/ca/gc/tbs/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
import static java.lang.System.exit;

@SpringBootApplication
@ComponentScan(basePackages = {"ca.gc.tbs.domain", "ca.gc.tbs.repository"})
@ComponentScan(basePackages = {"ca.gc.tbs.domain", "ca.gc.tbs.repository", "ca.gc.tbs.service"})
@EnableMongoRepositories(repositoryFactoryBeanClass = DataTablesRepositoryFactoryBean.class)
public class Main implements CommandLineRunner {
private static final Logger logger = LoggerFactory.getLogger(Main.class);
Expand All @@ -68,7 +68,10 @@ public class Main implements CommandLineRunner {
private final HashMap<String, String> IRCC_PageTitleIds = new HashMap<>();
private final HashMap<String, String> IRCC_UrlLinkIds = new HashMap<>();
private final HashMap<String, String> IRCC_MlTagIds = new HashMap<>();
private final ContentService contentService = new ContentService();

@Autowired
private ContentService contentService;

@Autowired
private ProblemRepository problemRepository;
@Autowired
Expand Down