diff options
author | Vitaly Takmazov | 2018-03-30 17:52:53 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-03-30 17:52:53 +0300 |
commit | bda2d764a9c187da5aa8cd74fb8c4a9574d3996e (patch) | |
tree | 2d5bc98a5744f8f6a0ec4e7f9893c2355235267c /juick-www/src/main/java/com/juick/Application.java | |
parent | 7eb13edc1720b13924d7cbe715be67a535f0e02e (diff) |
xmpp integration tests
Diffstat (limited to 'juick-www/src/main/java/com/juick/Application.java')
-rw-r--r-- | juick-www/src/main/java/com/juick/Application.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/juick-www/src/main/java/com/juick/Application.java b/juick-www/src/main/java/com/juick/Application.java index f8e5d333..a7a7a654 100644 --- a/juick-www/src/main/java/com/juick/Application.java +++ b/juick-www/src/main/java/com/juick/Application.java @@ -4,10 +4,13 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; +import org.springframework.context.annotation.ComponentScan; +import org.springframework.context.annotation.Primary; import org.springframework.transaction.annotation.EnableTransactionManagement; @SpringBootApplication @EnableTransactionManagement +@ComponentScan(basePackages = {"com.juick.www", "com.juick.service"}) public class Application extends SpringBootServletInitializer { @Override |