Waqarrrrrr
JCHJava Community | Help. Code. Learn.
•Created by Waqarrrrrr on 2/26/2025 in #java-help
API Gateway is not getting registered on Eureka Server
I made a User-Service and Contact-Service and i have registered them on eureka server and the API of User and Contact Services are running perfectly fine but when i am going to register API Gateway on Eureka Server its not getting registered.
4 replies
JCHJava Community | Help. Code. Learn.
•Created by Waqarrrrrr on 2/8/2025 in #java-help
DispatcherServlet Class Not Found Exception Again and Again
I have created a Spring MVC project where I used:
jakarta 6.0 and spring-webmvc 6.2 in pom.xml
Dynamic Web Module 5
JDK 23
I configured the Dispatcher Servlet in web.xml, then set up the View Resolver in spring-servlet.xml. After that, I created a Controller and placed index.jsp inside the WEB-INF/views/ folder.
The server starts successfully, but I always get a 404 error:
"The origin server did not find a current representation for the target resource or is not willing to disclose that one exists."
Here is my console Output Attached too
21 replies
JCHJava Community | Help. Code. Learn.
•Created by Waqarrrrrr on 2/2/2025 in #java-help
I cant able to run Servlets and fix this error

47 replies
JCHJava Community | Help. Code. Learn.
•Created by Waqarrrrrr on 1/30/2025 in #java-help
VS Code Setup Help for Maven Web App and Apache Tomcat Server
Guys, I am learning Servlet, JSP, and Hibernate, and I want to build a project using them—a Maven Web Project. My plan is to first set up a Maven Web Project and then use JSP, Servlet, and Hibernate to build the project in VS Code.
I am able to create the Maven Web Project using the maven-archetype-webapp, and I want to run this project on the Apache Tomcat server. Additionally, I want to see real-time changes—whenever I modify my index.jsp file or anything else, it should reflect immediately after starting the server.
I have tried everything and watched 20+ videos, but I am still unable to properly set up or configure my Maven Web App with the Tomcat server.
10 replies