Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
There was an unexpected error (type=Not Found, status=404).
this is my pom.xml file :-
4.0.0
org.springframework.boot
spring-boot-starter-parent
3.3.2
com.narayan
simpleWebApp
0.0.1-SNAPSHOT
simpleWebApp
Demo project for Spring Boot
<java.version>21</java.version>
org.springframework.boot
spring-boot-starter-web
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.30</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
the code threw no error in IntelliJ Idea but it is throwing this error when i tried to reach the port localhost:8080/
user26537702 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.