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-server/src/main/java/com/juick/ApiServer.java | |
parent | 7eb13edc1720b13924d7cbe715be67a535f0e02e (diff) |
xmpp integration tests
Diffstat (limited to 'juick-server/src/main/java/com/juick/ApiServer.java')
-rw-r--r-- | juick-server/src/main/java/com/juick/ApiServer.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/juick-server/src/main/java/com/juick/ApiServer.java b/juick-server/src/main/java/com/juick/ApiServer.java index 8b5af8ba..cdd8bb20 100644 --- a/juick-server/src/main/java/com/juick/ApiServer.java +++ b/juick-server/src/main/java/com/juick/ApiServer.java @@ -6,9 +6,11 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.mail.MailSenderAutoConfiguration; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; +import org.springframework.context.annotation.ComponentScan; @SpringBootApplication @EnableAutoConfiguration(exclude = { MailSenderAutoConfiguration.class }) +@ComponentScan(basePackages = {"com.juick.server", "com.juick.service"}) public class ApiServer extends SpringBootServletInitializer { @Override |