Skip to content

Changes to make RestController work even if outside the base package - #1

Open
veeraraghavan wants to merge 1 commit into
dilipgv:masterfrom
veeraraghavan:componentScanFix
Open

Changes to make RestController work even if outside the base package#1
veeraraghavan wants to merge 1 commit into
dilipgv:masterfrom
veeraraghavan:componentScanFix

Conversation

@veeraraghavan

Copy link
Copy Markdown

Changes to CourseApiApp.java
@ComponentScan(basePackages = { "com.courseAPISpringBoot","com.courseAPI.topic"} )
Specifies list of all packages to scan for annotation
Default behavior - Current package and sub-package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant