Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-13021

EAP quickstart 'spring-greeter' contains errors after import into Red Hat CodeReady Studio (missing servlet-api-3.1.jar dependency in the pom.xml)

XMLWordPrintable

    • Hide

      Import EAP "spring-greeter" quickstart into Red Hat CodeReady Studio

      Show
      Import EAP "spring-greeter" quickstart into Red Hat CodeReady Studio

      Issue solved by extending the pom.xml by adding the following dependency:
      <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>javax.servlet-api</artifactId>
      <version>3.1.0</version>
      <scope>provided</scope>
      </dependency>

      SOURCE: StackOverflow:
      https://stackoverflow.com/questions/22756153/the-superclass-javax-servlet-http-httpservlet-was-not-found-on-the-java-build

              rchakrab Ranabir Chakraborty
              rchakrab Ranabir Chakraborty
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: