I am "trying" to launch the hello world of SpringBoot for Rest services, Documentation would say that there is little and poorly explained ...
At the moment I am following these links:
Comment:
- I have the Eclipse, I have created a project with maven, I have put it with devtools and with boot and restRepository
I forced the pom.xml I created a new controller:
myController.java:
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class miController {
@RequestMapping("/")
String raiz() {
return "Bienvenido!!!";
}
@RequestMapping("saludo")
String saludo() {
return "Hola !!!!!!!!!!";
}
}
When I start it
Usage: RealmBase [-a <algorithm>] [-e <encoding>] [-i <iterations>] [-s <salt-length>] [-k <key-length>] [-h <handler-class-name>] <credentials>
And logically the localhost / 8080 does not do anything to me.