0

I just deleted the tomcat server and added it back in Eclipse Kepler and then I am getting this error when I run my project.Before deleting the server there was no issues.

Part of my POM contains :

 <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>javax.servlet-api</artifactId>
            <version>3.1.0</version>
        </dependency>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>jstl</artifactId>
            <version>1.2</version>
            <scope>provided</scope>
        </dependency>

and My JSP page contains :

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

I tried other solutions from Here but did not resolve my issue.Any help is greatly appreciated.

day_dreamer
  • 824
  • 3
  • 13
  • 33

2 Answers2

2

Try this one from mvnrepository

<dependency>
    <groupId>jstl</groupId>
    <artifactId>jstl</artifactId>
    <version>1.2</version>
</dependency>

Read similar post here

Community
  • 1
  • 1
Braj
  • 46,415
  • 5
  • 60
  • 76
1

Adding this worked, adding the jar to Tomcat didn't.

<dependency>
    <groupId>jstl</groupId>
    <artifactId>jstl</artifactId>
    <version>1.2</version>
</dependency>
Rob Bajorek
  • 6,382
  • 7
  • 44
  • 51