We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4543957 commit 576ab1cCopy full SHA for 576ab1c
1 file changed
product-service/src/main/java/com/devsocket/ecommerce/product/ProductServiceApplication.java
@@ -2,12 +2,14 @@
2
3
import org.springframework.boot.SpringApplication;
4
import org.springframework.boot.autoconfigure.SpringBootApplication;
5
+import org.springframework.boot.autoconfigure.domain.EntityScan;
6
import org.springframework.context.annotation.ComponentScan;
7
8
@SpringBootApplication
9
@ComponentScan(basePackages = {
10
"com.devsocket.ecommerce"
11
})
12
+@EntityScan("com.devsocket.ecommerce.product.entity")
13
public class ProductServiceApplication {
14
public static void main(String[] args) {
15
SpringApplication.run(ProductServiceApplication.class, args);
0 commit comments