All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dream.DreamApplication Maven / Gradle / Ivy

package com.dream;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@SpringBootApplication
@ComponentScan(basePackages = "com.dream")
@EntityScan(basePackages = "com.dream.models")
@EnableJpaRepositories(basePackages = "com.dream.repositories")
@EnableAutoConfiguration
@ConfigurationPropertiesScan
public class DreamApplication {

	public static void main(String[] args) {
		SpringApplication.run(DreamApplication.class, args);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy