diff --git a/pom.xml b/pom.xml index f778fea06d3550435f3124f7f10e7351cfb42ecb..cd4d8fd8f98e224b3b8055fe007848adf09b790e 100644 --- a/pom.xml +++ b/pom.xml @@ -339,7 +339,7 @@ org.springframework.boot spring-boot-maven-plugin - net.diaowen.dwsurvey.DwsurveyApplication + net.diaowen.DwsurveyApplication diff --git a/src/main/java/net/diaowen/dwsurvey/DwsurveyApplication.java b/src/main/java/net/diaowen/DwsurveyApplication.java similarity index 83% rename from src/main/java/net/diaowen/dwsurvey/DwsurveyApplication.java rename to src/main/java/net/diaowen/DwsurveyApplication.java index a4a2232d81ff7abf7ed9176ce17a9fa75625109d..e0f7d81a50fed044425d2f26ea09c25c859a8df9 100644 --- a/src/main/java/net/diaowen/dwsurvey/DwsurveyApplication.java +++ b/src/main/java/net/diaowen/DwsurveyApplication.java @@ -1,4 +1,4 @@ -package net.diaowen.dwsurvey; +package net.diaowen; import org.apache.catalina.Context; import org.apache.tomcat.util.scan.StandardJarScanner; @@ -7,10 +7,8 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; -import org.springframework.transaction.annotation.EnableTransactionManagement; @SpringBootApplication -@ComponentScan(basePackages = {"net.diaowen.common","net.diaowen.dwsurvey"}) //@EnableTransactionManagement public class DwsurveyApplication { diff --git a/src/main/java/net/diaowen/dwsurvey/config/ServletInitializer.java b/src/main/java/net/diaowen/dwsurvey/config/ServletInitializer.java index 62c63960083437c679a877416c18a7e113d44b18..616d38884ad6542110264296701ad556799ced41 100644 --- a/src/main/java/net/diaowen/dwsurvey/config/ServletInitializer.java +++ b/src/main/java/net/diaowen/dwsurvey/config/ServletInitializer.java @@ -1,6 +1,6 @@ package net.diaowen.dwsurvey.config; -import net.diaowen.dwsurvey.DwsurveyApplication; +import net.diaowen.DwsurveyApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;