I cloned the project. Using IntelliJ or VSCode, using Oracle JDK 17 on Windows 11, in initial, I ran ./mvnw spring-boot:run. The terminal shows: Tomcat started on port(s): 8080 (http) with context path ''. When using curl, I receive:
curl -v http://localhost:8080/
* Trying ::1:8080...
* Connected to localhost (::1) port 8080 (#0)
> GET / HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.70.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 400 Bad Request
< Date: Fri, 10 Nov 2023 16:29:42 GMT
< Server: Apache/2.4.54 (Win64) OpenSSL/1.1.1p
< Content-Length: 362
< Connection: close
< Content-Type: text/html; charset=iso-8859-1
<
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
Reason: You're speaking plain HTTP to an SSL-enabled server port.<br />
Instead use the HTTPS scheme to access this URL, please.<br />
</p>
</body></html>
* Closing connection 0
Any browser to http://localhost:8080/ shows the same failure message.
I cloned the project. Using IntelliJ or VSCode, using Oracle JDK 17 on Windows 11, in
initial
, I ran./mvnw spring-boot:run
. The terminal shows:Tomcat started on port(s): 8080 (http) with context path ''
. When using curl, I receive:Any browser to
http://localhost:8080/
shows the same failure message.