Careeroza
Running the App
Three Ways to Run
| Way | Command / action | When |
|---|---|---|
| IDE | Run ShopeaseApplication.main() | daily development, debugging |
| Maven plugin | ./mvnw spring-boot:run | terminal, quick runs |
| Executable jar | ./mvnw package then java -jar target/shopease-0.0.1-SNAPSHOT.jar | servers, Docker, production |
Startup Log
Example
Build and run the jar:
./mvnw clean package
java -jar target/shopease-0.0.1-SNAPSHOT.jarExample output
:: Spring Boot :: (v3.5.6) 2026-01-15T10:15:28.412+05:30 INFO 18244 --- [shopease] [ main] com.shopease.ShopeaseApplication : Starting ShopeaseApplication v0.0.1-SNAPSHOT using Java 21.0.4 with PID 18244 2026-01-15T10:15:28.415+05:30 INFO 18244 --- [shopease] [ main] com.shopease.ShopeaseApplication : No active profile set, falling back to 1 default profile: "default" 2026-01-15T10:15:29.311+05:30 INFO 18244 --- [shopease] [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http) 2026-01-15T10:15:29.902+05:30 INFO 18244 --- [shopease] [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8080 (http) with context path '/' 2026-01-15T10:15:29.915+05:30 INFO 18244 --- [shopease] [ main] com.shopease.ShopeaseApplication : Started ShopeaseApplication in 1.861 seconds (process running for 2.204)
First Visit
Example
There are no endpoints yet, so Spring Boot answers with a 404 error in JSON. That still proves the server works:
curl -i http://localhost:8080/Example output
HTTP/1.1 404
Content-Type: application/json
{"timestamp":"2026-01-15T04:46:02.118+00:00","status":404,"error":"Not Found","path":"/"}Note: Port 8080 was already in use? Another app (or an old run of yours) is using it. Stop it, or change the port with server.port (next module).