cleanup code
This commit is contained in:
parent
fb529aeee2
commit
775b2585ab
@ -15,7 +15,7 @@
|
||||
<relativePath>../</relativePath>
|
||||
</parent>
|
||||
|
||||
<!-- Added in order to produce ApplicationContextException -->
|
||||
<!-- Added in order to produce ApplicationContextException error -->
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
|
@ -1,13 +0,0 @@
|
||||
package com.baeldung.applicationcontextexception;
|
||||
|
||||
import org.springframework.boot.WebApplicationType;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.builder.SpringApplicationBuilder;
|
||||
|
||||
@SpringBootApplication
|
||||
public class MainClass {
|
||||
|
||||
public static void main(String[] args) {
|
||||
new SpringApplicationBuilder(MainClass.class).web(WebApplicationType.NONE).run(args);
|
||||
}
|
||||
}
|
@ -3,7 +3,7 @@ package com.baeldung.applicationcontextexception;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
//Remove this annotation to produce ApplicationContextException
|
||||
//Remove this annotation to produce ApplicationContextException error
|
||||
@SpringBootApplication
|
||||
public class MainEntryPoint {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user