File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
core/src/main/java/jshop/core
web/src/main/java/jshop/web Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
package jshop .core ;
2
2
3
3
import org .springframework .boot .autoconfigure .domain .EntityScan ;
4
+ import org .springframework .context .annotation .ComponentScan ;
4
5
import org .springframework .context .annotation .Configuration ;
5
6
import org .springframework .data .envers .repository .support .EnversRevisionRepositoryFactoryBean ;
6
7
import org .springframework .data .jpa .repository .config .EnableJpaAuditing ;
7
8
import org .springframework .data .jpa .repository .config .EnableJpaRepositories ;
8
9
9
10
@ Configuration
10
11
@ EnableJpaRepositories (repositoryFactoryBeanClass = EnversRevisionRepositoryFactoryBean .class )
12
+ @ ComponentScan (basePackages = {"jshop.infra" , "jshop.common" })
11
13
public class CoreConfig {
12
14
}
Original file line number Diff line number Diff line change 7
7
8
8
@ Configuration
9
9
@ EnableRetry
10
- @ ComponentScan (basePackages = {"jshop.common" , "jshop. core" })
10
+ @ ComponentScan (basePackages = {"jshop.core" })
11
11
@ EnableCaching
12
12
public class InitConfig {}
You can’t perform that action at this time.
0 commit comments