0

I'm using embedded Tomcat 9. This is my pom.xml:

<dependency>
    <groupId>javax.servlet</groupId>
    <artifactId>jstl</artifactId>
    <version>1.2</version>
</dependency>
<dependency>
    <groupId>taglibs</groupId>
    <artifactId>standard</artifactId>
    <version>1.1.2</version>
</dependency>

<dependency>
    <groupId>javax.servlet.jsp</groupId>
    <artifactId>jsp-api</artifactId>
    <version>2.1</version>
    <scope>provided</scope>
</dependency>

When I run my app I get this error:

The absolute uri: [http://java.sun.com/jsp/jstl/core] cannot be resolved in either web.xml or the jar files deployed with this application

When I run it not with embedded Tomcat, but just put the war direct under webApp in Tomcat 9, it works well.

of course, I need to use embedded Tomcat. How can I make it work?

Mark Rotteveel
  • 90,369
  • 161
  • 124
  • 175
TwTw
  • 551
  • 4
  • 14

0 Answers0