[
https://issues.redhat.com/browse/JBIDE-26672?page=com.atlassian.jira.plug...
]
Zbyněk Červinka commented on JBIDE-26672:
-----------------------------------------
h1. *Update on this issue - WildFly version 18.0.1.Final:*
After todays testing in Red Hat CodeReady Studio I have found the 3 following errors in
the Problems view:
* The superclass "javax.servlet.http.HttpServlet" was not found on the Java
Build Path {color:#DE350B}(in the create.jsp file){color}
* The superclass "javax.servlet.http.HttpServlet" was not found on the Java
Build Path {color:#DE350B}(in the greet.jsp file){color}
* The superclass "javax.servlet.http.HttpServlet" was not found on the Java
Build Path {color:#DE350B}(in the index.jsp file){color}
h2. Solution to the current errors:
This issue is still resolvable by extending the pom.xml file of the
'spring-greeter' example as it is mentioned in the *Description* of this issue. By
adding this dependency all the error disappeared from the Problems view.
h2. Version of the Red Hat CodeReady Studio:
Version: 12.14.0.GA
Build id: GA-v20200227-0726-B6011
Build date: 20200227-0726
WildFly quickstart 'spring-greeter' contains errors after
import into Red Hat CodeReady Studio
----------------------------------------------------------------------------------------------
Key: JBIDE-26672
URL:
https://issues.redhat.com/browse/JBIDE-26672
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: project-examples
Affects Versions: 4.12.0.AM1
Environment: OS X 10.14.5
Reporter: Zbyněk Červinka
Priority: Major
Fix For: 4.15.x
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...
--
This message was sent by Atlassian Jira
(v7.13.8#713008)