Skip to content
Advertisement

Tag: tomcat

JAXB not available on Tomcat 9 and Java 9/10

TLDR: On Java 9/10, a web app in Tomcat has no access to JAXB even though its reference implementation is present on the class path. Edit: No, this is not a duplicate of How to resolve java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException in Java 9 – as you can tell by the What I tried section, I already tried the proposed solutions. The Situation

which tomcat version is suitable for java 8

Recently, our online web service using tomcat 7.0.23.0 and JVM 1.7.0_51-b13 need to upgrade to java 8, which tomcat version is suitable for java 8 ? Answer See this link http://tomcat.apache.org/whichversion.html for details about which tomcat versions are supported on which java versions. According to that link, tomcat 7.0.23.0 should work on java 8

java.lang.NoClassDefFoundError: javax/el/ELManager

I’m working on a webapp in Spring using Spring Tool Suite. If I build and deploy the application there using the IDE onto the provided Pivotal tc Server, it works just fine. However, if I do a manual “mvn clean package” build and attempt to deploy it to a standalone Tomcat server (using newest Tomcat 7), it throws the following

Spring Boot application in eclipse, the Tomcat connector configured to listen on port XXXX failed to start

I’m developing a REST API using Spring Framework. First I wasn’t able to run my application because of the same problem. The port 8080 on my computer is busy. Then I found out that one alternative to solve this problem is creating an application.properties file under src/main/resources folder. That’s what I made, and set up the server to listen on

Advertisement