package com.cubetiqs.demo; import com.cubetiqs.demo.domain.UserEntity; import com.cubetiqs.demo.rest.UserController; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import java.io.File; @SpringBootApplication public class DemoApplication implements CommandLineRunner { public static void main(String[] args) { SpringApplication.run(DemoApplication.class, args); } @Override public void run(String... args) throws Exception { UserEntity userEntity = new UserEntity(); userEntity.setEmail("a@gm.com"); } }