Questions tagged [tomcat10]
141 questions
0
votes
0 answers
Tomcat 10 wont start with https
I am trying to migrate from Tomcat 9 to Tomcat 10, i have installed java 17 and tomcat 10, and i have been able to start it without a problem using only http but when added the jks that i had running on my Tomcat 9
installation i get the following…

SAAD K
- 1
0
votes
0 answers
Tomcat 10 migration with logback-logstash-encoder
I'm using tomcat9 and migrate to tomcat10. I have migrate my application from javax.* to jakarta new servlet api to be compatible.
But when i'm starting tomcat 10, i'm getting this error :
16:31:38,422 |-INFO in…

Mançaux Pierre-Alexandre
- 858
- 1
- 11
- 42
0
votes
1 answer
trouble calling controller deployt under apache tomcat 10.x
i deployed a small java maven springmvc web application on tomcat10.1.8/10.1.9. Even though I've added all the dependencies I need related to jakarta changement, I'm having trouble invoking the controller.
1)Controller
package test;
import…

Eisberg
- 1
0
votes
0 answers
tomcat is responding The requested resource is not available
I have installed tomcat 10.1.8 when i put my war file inside webapps i get "The origin server did not find a current representation for the target resource or is not willing to disclose that one exists."
am new for tomcat so i have no idea what to…

feye
- 1
- 1
0
votes
0 answers
Upgrade spring mvc to spring 6 stops mapping static resources folder to index.html
I have a spring mvc application and I am upgrading that to spring 6. The upgrade was successful but having issues with static resources. I have help files in the application and I have mapped /help/** url to /help/. I am using tomcat version…

Dhaval Gajjar
- 2,508
- 1
- 2
- 13
0
votes
1 answer
Unable to create a Configuration, because no Jakarta Bean Validation provider could be found
I am using spring boot 3.0.0 and tomcat 10.0 and I am deploying my application on external tomcat server but I am getting below exception. However, my application is working fine on my local machine.
jakarta.validation.NoProviderFoundException:…

Ravi
- 1
- 4
0
votes
0 answers
Reverse proxy using Tomcat 10 url-rewrite RewriteValve
I am trying to implement a reverse proxy using tomcat 10 url-rewrite. I have extended RewriteValue class and overridden invoke().
public class DynamicRewriteValue extends RewriteValve{
@Override
public void invoke(Request request, Response…

Suhail Ahmed
- 157
- 2
- 15
0
votes
0 answers
Exception(org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to initialize component ) while running the tomcat server
I have deployed my application in the tomcat server(v10.1.7),when i try to start the server getting the below Exception.
06-May-2023 16:16:27.598 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler…

Coder
- 1
0
votes
0 answers
ClassCastexception thrown while upgrading java 7 to java17 and tomcat 7 to 10
im upgrading my java project from java 7 to java 17 and tomcat 7 to 0 but when i run my project on tomcat 10 it shows me some exception and im not able to find the solution. i want to change my servlet api from javax to jakarta and for that i made…

Jayesh Vani
- 1
- 1
0
votes
0 answers
Upgrading project java-7 to java-17 and tomcat-7 to tomcat-10
I am upgrading my project from
java-7 to java-17
and
tomcat-7 to tomcat-10
I am getting this two exception
java.lang.ClassCastException: class org.springframework.web.servlet.DispatcherServlet cannot be cast to class jakarta.servlet.Servlet…

Harsh Jani
- 1
- 2
0
votes
1 answer
need confirmation if the properties version while upgading jdk7 and tomcat 7 to jdk 8 and tomcat10 is correct
the properties version are: -
3.0.5.RELEASE
1.8.10
1.6.1
…

rob
- 17
- 9
0
votes
1 answer
Tomcat10 is not running on Window11 pro (a window opens and closes upon running startup.bat)
I am trying to run Tomcat10 on my PC having Window's 11 Pro.
Upon running startup.bat, a window just opens and closes without showing a running server.
All JRE_HOME, JAVA_HOME, CATALINA_HOME, CATALINA_BASE are set correctly.
Upon running "catalina…

nqmeh
- 21
- 4
0
votes
0 answers
pom.xml issues not able to upgrade from jdk 7 and tomcat 7 to jdk 8 and tomcat 10
Unable to compile the code below is the pom.
Also, it will be really appreciated if you can suggest any dependency version updates.
also, i'm upgrading MySQL from 5.1.3 to 8.0.31.
There are also child project for this but I belive for those i can…

rob
- 17
- 9
0
votes
0 answers
java.lang.ClassCastException: class com.google.inject.servlet.GuiceFilter cannot be cast to class jakarta.servlet.Filter
i have to deplot my project on tomcat while doing getting this error in Tomacat localhost log
getting this error
24-Apr-2023 12:46:55.936 SEVERE [main] org.apache.catalina.core.StandardContext.filterStart Exception starting filter [guiceFilter]
…
0
votes
0 answers
Why can't I compile jsp?
I have such an assembly Eclipse EE + Java 19 + Tomcat 10. When starting a simple JSP, this error comes out:
-ERROR505 java.lang.IllegalStateException: No Java compiler available for configuration options compilerClassName: [null] and…