Skip to main content

All Questions

Tagged with
0 votes
2 answers
48 views

How to expose endpoints of a spring application which is deployed on production servers?

While working with springboot in local environment, creating a REST application feels so effortless due to its embedded (and abstract) tomcat server. We can do so by creating a Restcontroller and ...
Moneet's user avatar
  • 11
0 votes
1 answer
80 views

Problems creating simple rest ws with Tomcat 10, eclipse, jakarta. Error: No servlet class has been specified for servlet Application

I am trying to create a simple REST ws using Tomcat 10, jakarta and java 17 in Eclipse. When I do it according to the documentation, I get an error "No servlet class has been specified for ...
Gustavo Moreira's user avatar
0 votes
0 answers
44 views

Creating an API monitoring system for APIs hosted inside a server

I have an external app A hosted on tomcat with an API endpoint "abc:5000/home" running on a Linux server. I want to create a app/script that runs independently on the same server and ...
Shikhar Gupta's user avatar
0 votes
1 answer
32 views

My spring app is running successfully but I cant open my API in browser?

When I enter localhost:8080/api and try to access different http request I failed. here is an example of my service class: package services; import models.Conducteur; import models.Trip; import org....
Manal L's user avatar
0 votes
1 answer
60 views

Jackson parsing issue

In my spring applicaiton, I have Rest api, when I call it using postman and sending this json { "incomeValue":"Test\\t" } It gives Caused by: com.fasterxml.jackson.core....
user3586286's user avatar
0 votes
0 answers
53 views

How to return response after exception MaxUploadSizeExceededException

I have app with reactJS as a client and spring boot as a server. I try to upload file with big size I catch error on server but didn't get any response on client. It my client part: const ...
Adam's user avatar
  • 575
0 votes
1 answer
28 views

tomcat rest backend angular frontend postman

I have trouble consuming a tomcat POST service with an angular front end. I'm fairly new to Angular. My environment tomcat 9.0 jdk 17 Angular 17 with standalone components javax.ws.rs framework ...
Beach Bum Bob's user avatar
0 votes
0 answers
23 views

Not able to display rest api response from spring boot project to angular UI dashboard in localhost tomcat server

I've developed a basic CRUD application using Angular and Spring Boot. After deploying the UI's dist folder and the WAR file onto the local Tomcat server, I encountered a 404 not found issue when ...
nareshkumar's user avatar
0 votes
0 answers
27 views

How can I send json formatted data from a client program to a service orchestrator program in a rest call (GET, POST, PUT etc) using a tomcat server?

I have worked out how to get data from an API using a REST GET call, but I need my program to be able to send data (not from an API) from the client program to the service orchestrator program. I am ...
Thomas Dennis's user avatar
0 votes
0 answers
96 views

Tomcat is returning XML Error when application makes an outbound Rest API request

I have a Spring Boot application running inside Tomcat 9. I encounter an issue when I try to make an outbound HTTP request from another service. It seems like something is wrong with my Tomcat server ...
Affiq Zaini's user avatar
0 votes
0 answers
42 views

HTTP 404 Not Found error when running Java rest services

I'm getting a 404 error after deploying my web services to Apache 10.1. They use to work in Apache 9. I had update some libraries to get my project to work for JDK17. Here is my code: pom.xml <?xml ...
hset's user avatar
  • 1
-3 votes
2 answers
66 views

How to access URL defined with @RequestMapping

I want to learn how to program an API in Java/Spring so I downloaded this example on github: https://github.com/bobbrady/spring-rest-drill-bootless. The app seems to run correctly, however every ...
Gaetan L.'s user avatar
  • 655
0 votes
0 answers
71 views

javax.servlet.ServletException and The ResourceConfig Error

I have a very simple HelloWorld JAX-RS application which is using jersey-servlet. Getting the above error, no matter howmuch I try I keep getting this error. I even corrected the package names in web....
user2368975's user avatar
0 votes
0 answers
34 views

Ghost API Endpoint still existing after deletion, redploying, clearing cache, and reinstalling Tomee

Calling it Ghost API because no idea how this endpoint is still running. Details of how this issue arose: 2 identical POST endpoints: endPoint1 endPoint2 <-- Will not work whatsoever, identical to ...
megaMind's user avatar
1 vote
0 answers
22 views

404 on RESTful service created with Spring Boot

I just deployed a RESTFul Spring Boot/maven service to Tomcat 10.1.9 running on a Amazon EC2 Linux instance, but it returns a 404. It does however work when I launch it from Eclipse and connect via ...
Rob Gravelle's user avatar

15 30 50 per page
1
2 3 4 5
55