The javax.servlet dependency is missing in your pom.xml. Add the following to the dependencies-Node:
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.0.1</version>
<scope>provided</scope>
</dependency>
More Related Contents:
- Building a fat jar using maven
- Differences between dependencyManagement and dependencies in Maven
- How to force maven update?
- Maven: Lifecycle vs. Phase vs. Plugin vs. Goal [closed]
- What is under in pom.xml for?
- Jersey fails when creating uber jar with maven-assembly-plugin
- Tomcat casting servlets to javax.servlet.Servlet instead of jakarta.servlet.http.HttpServlet
- Maven – exclude folder from build
- Add external library .jar to Spring boot .jar internal /lib
- How to override maven property in command line?
- mvn release:prepare not committing changes to pom.xml
- failsafe plugin won’t run on one project but will run on another — why?
- Maven: excluding java files in compilation
- Maven compilation issue with Java 9
- wildfly 10: java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
- How can I skip tests in maven install goal, while running them in maven test goal?
- Maven versioning best practices [closed]
- Maven: Failed to retrieve plugin descriptor error
- Reading Properties file from POM file in Maven
- Cannot get maven project.version property in a Spring application with @Value
- What is the meaning of type “bundle” in a maven dependency?
- How to share a common build.gradle via a repository?
- Maven : what is the “runtime” scope purpose? [duplicate]
- How to place the output jar into another folder with maven?
- By default, where does Spring Boot expect views to be stored?
- Warning on using project.parent.version as the version of a module in Maven 3
- Finding the root directory of a multi module Maven reactor project
- Maven build issue – Connection to repository refused
- Can multiple versions of the same dependency be used in a single Maven repository?
- How to pass java code a parameter from maven for testing