Questions tagged [tomcat10]
141 questions
0
votes
2 answers
TomCat how to send an HTTP status code instead of the normal JSON response?
I'm building a webserver in TomCat, and trying to implement a function that returns a list normally, but I want it to first check if the user has a valid session. If the user does not have a valid session I want to send back a response with http…

Thijs0001
- 3
- 1
0
votes
0 answers
how to solve HTTP error 404 not found jenkins
I installed tomcat 10.1.0 on ubuntu VM and in /opt/tomcat/webapps installed jenkins.war file but when I opened jenkins on host manager through public IP then it gives error as HTTP status 404 not fund jenkins and a I am unable to see status of…
0
votes
0 answers
deploy richfaces 4.5.17 web project in tomcat 10
I am trying to deploy richfaces 4.5 web project in tomcat 10 but getting error (it was working fine in tomcat 9)
changed all imports (javax -> jakarta)
tomcat 9 run on servlet 4 and tomcat 10 run on servlet 5
richfaces 4.5 and jsf 2.2.20 jars are…

JagadeeshaHP
- 11
- 2
0
votes
1 answer
Tomcat 10 pass Environment Variable or Property to spring boot context
Well, I'm trying to deploy a spring boot application in a tomcat 10 server, passing a one environment key. I need to pass de "secret" of jasypt for decode the passwords in my application, but I can't do this because the context don't run the same as…

abeld89
- 57
- 4
- 11
0
votes
1 answer
Does latest version 6.* Struts2 support Tomcat 10?
Does the latest version 6.* Struts2 support Tomcat 10?
Exception starting filter [struts2]
java.lang.ClassCastException: class org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter cannot be cast to class jakarta.servlet.Filter…

Surendra J
- 1
- 2
0
votes
1 answer
Atmosphere Tomcat 10 Descriptor-less deployment
I'm starting to develop a new webapp, I have some past experience but this isn't my strongest area. In the past we've used Tomcat 8.5, Jersey for rest services and additionally atmosphere for websockets and realtime notifications configured through…

Dan
- 51
- 1
- 9
0
votes
0 answers
Git plugins fails to start Jenkins 2.346.2 running on Tomcat 10.0.22 on Linux server
I'm running apache tomcat 10.0.22 on a Linux server. I have deployed Jenkins 2.346.2 on the tomcat server. However, on installing git-server, git-client plugins from Jenkins plugins manager, Jenkins fails to reload with the…

Desmond Figaredo
- 1
- 2
0
votes
0 answers
Deploying Spring Boot to Tomcat 10 produces 404 error
I've followed about 15 different threads on Stack to try and resolve this, but I seem to be hitting a brick wall.
I'm running JDK17 and Tomcat 10.0.22. I have followed a baeldung article for deploying a Spring Boot app on Tomcat, and I'm having no…

trickster
- 75
- 1
- 9
0
votes
0 answers
Tomcat 10 : [Ljava.lang.Object; and [Ljava.security.cert.Certificate; are in module java.base of loader 'bootstrap')
So we are migrating from jdk8 to jdk17 (openJDK) and from Tomcat8 to Tomcat 10.0.20 and when running the code we get following error:
class [Ljava.lang.Object; cannot be cast to class [Ljava.security.cert.Certificate; ([Ljava.lang.Object; and…

user1391606
- 91
- 1
- 2
- 8
0
votes
1 answer
Tomcat 10 on Mac not Recognizing servlet-api.jar when compiling servlet
I'm working on creating a Servlet for a tomcat webpage and the Servlet will not compile.
I'm using the servlet-api.jar & mysql-connector.8.0.28.jar for the servlet, and there are also several JavaBeans I have created to store information being…

tzzzy6
- 1
0
votes
1 answer
java.lang.NoClassDefFoundError with tomat 10.0.20 and open JDK 11
I was trying to mitigate the spring4shell vulnerability in one of our Spring Applications.
Currently we are on Tomcat 7 and open JDK11. I am working on updating tomcat to 10.0.20 and when I try to deploy the application I see the below…

pbale
- 1
- 2
0
votes
1 answer
java.lang.IllegalArgumentException: Unknown Entity bean class with eclipselink in tomcat 10
Im trying to upgrade spring web app to tomcat 10 for the upgrade im using apache jakarta migration tool. the application got successfully migrated using this tool but when i run the application in tomcat 10 im facing following…

Suhail Ahmed
- 157
- 2
- 15
0
votes
1 answer
Error in camel-servletlistener and springframework.web while running in tomcat 10
I have a spring web-app which uses camel-servletlistener(2.25.4), camel-urlrewrite(2.25.4) and springframework.web(5.3.15) internally. these dependencies uses javax.servlet internally because of which my web-app is not running in tomcat-10. can i…

Suhail Ahmed
- 157
- 2
- 15
0
votes
2 answers
why does tomcat show 404 response message for an existing resource?
I'm new to implementing web services and I'm doing it with jax-rs API using eclipse IDE for java-ee developers 2022.
I have written a simple web service that returns a response object including a java object, which has been converted into XML using…

Navid Nasro
- 19
- 1
- 6
0
votes
1 answer
how to resolve "java.util.zip.ZipException:duplicate entry: org/apache/xmlbeans/xml/stream/Location.class" issue while hosting springboot in tomcat 10
I am trying to host spring boot rest api in Apache Tomcat 10, but it is not getting hosted, I had placed my spring boot application in webapps-javaee folder, as tomcat 10 default support jakartaee
When I checked logs I am getting this…

kailashdesiti
- 165
- 1
- 13