Merge pull request #5871 from eugenp/BAEL-9710-v2
fix package name, start class
This commit is contained in:
commit
0c96e90b6f
|
@ -183,9 +183,6 @@
|
|||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<skip>true</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
|
@ -300,6 +297,7 @@
|
|||
<json.path.version>2.2.0</json.path.version>
|
||||
<pact.version>3.5.11</pact.version>
|
||||
<rest-assured.version>3.1.0</rest-assured.version>
|
||||
<start-class>com.baeldung.sampleapp.config.MainApplication</start-class>
|
||||
</properties>
|
||||
|
||||
</project>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd"
|
||||
>
|
||||
|
||||
<context:component-scan base-package="org.baeldung.web" />
|
||||
<context:component-scan base-package="com.baeldung.sampleapp.web" />
|
||||
|
||||
<mvc:annotation-driven content-negotiation-manager="contentNegotiationManager" >
|
||||
<mvc:message-converters register-defaults="true">
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
</context-param>
|
||||
<context-param>
|
||||
<param-name>contextConfigLocation</param-name>
|
||||
<param-value>org.baeldung.config</param-value>
|
||||
<param-value>com.baeldung.sampleapp.config</param-value>
|
||||
</context-param>
|
||||
|
||||
<!-- <listener>
|
||||
|
|
|
@ -5,7 +5,7 @@ import org.springframework.context.annotation.Configuration;
|
|||
|
||||
|
||||
@Configuration
|
||||
@ComponentScan({ "org.baeldung.web" })
|
||||
@ComponentScan({ "com.baeldung.web" })
|
||||
public class TestConfig {
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue