This commit is contained in:
DOHA 2018-12-29 20:29:20 +02:00
parent 633890ac3f
commit 0a64e26a8f
4 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
package org.baeldung.boot;
package com.baeldung.boot;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

View File

@ -1,4 +1,6 @@
package org.baeldung.boot.controller.rest;
package com.baeldung.boot.controller.rest;
import java.util.Optional;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.DeleteMapping;
@ -9,8 +11,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.bind.annotation.RestController;
import java.util.Optional;
@RestController
@RequestMapping("/hello")
public class WebController {

View File

@ -1,6 +1,6 @@
package org.baeldung.boot
package com.baeldung.boot
import org.baeldung.boot.controller.rest.WebController
import com.baeldung.boot.controller.rest.WebController
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.context.SpringBootTest
import spock.lang.Narrative

View File

@ -1,4 +1,4 @@
package org.baeldung.boot
package com.baeldung.boot
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc