[jboss-jira] [JBoss JIRA] (WFLY-12183) WildFly "spring-greeter" quickstart contains errors after import into Red Hat CodeReady Studio (missing servlet-api-3.1.jar dependency in the pom.xml)
Brian Stansberry (Jira)
issues at jboss.org
Wed Jun 12 16:32:00 EDT 2019
[ https://issues.jboss.org/browse/WFLY-12183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13746112#comment-13746112 ]
Brian Stansberry commented on WFLY-12183:
-----------------------------------------
[~jeffmaury] WildFly 8 through WildFly 13 provide Servlet 3.1. Beginning with WildFly 14, we provide Servlet 4.0.
WildFly 12 and 13 also ship with the Servlet 4.0 API jars. They are not used unless the user set the ee8.preview.mode system property, as discussed in https://wildfly.org/news/2018/02/28/WildFly12-Final-Released/
By WF 14 EE 8 was no longer 'preview' and we dropped the 3.1 jars and the use of the ee8.preview.mode system property.
> WildFly "spring-greeter" quickstart contains errors after import into Red Hat CodeReady Studio (missing servlet-api-3.1.jar dependency in the pom.xml)
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-12183
> URL: https://issues.jboss.org/browse/WFLY-12183
> Project: WildFly
> Issue Type: Bug
> Environment: OS X 10.14.5
> Reporter: Zbyněk Červinka
> Assignee: Brian Stansberry
> Priority: Major
> Attachments: error_msg.png
>
>
> *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
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list