cleanup code

This commit is contained in:
Azhwani 2021-05-30 12:46:40 +02:00
parent fb529aeee2
commit 775b2585ab
3 changed files with 2 additions and 15 deletions

View File

@ -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>

View File

@ -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);
}
}

View File

@ -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 {