#120 - Added missing main method to Application in multi-store REST example.
Previously a mvn clean install in the Spring Data examples root failed because the Application class in the multi-store example was missing a main method that is required by the Spring Boot Maven plugin.
This commit is contained in:
committed by
Oliver Gierke
parent
8019578e0d
commit
fbcded19e6
@@ -15,6 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
package example.springdata.multistore;
|
package example.springdata.multistore;
|
||||||
|
|
||||||
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -22,6 +23,12 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|||||||
*
|
*
|
||||||
* @author Greg Turnquist
|
* @author Greg Turnquist
|
||||||
* @author Oliver Gierke
|
* @author Oliver Gierke
|
||||||
|
* @author Thomas Darimont
|
||||||
*/
|
*/
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
public class Application {}
|
public class Application {
|
||||||
|
|
||||||
|
public static void main(String[] args) {
|
||||||
|
SpringApplication.run(Application.class, args);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user