[
https://issues.jboss.org/browse/JBIDE-26672?page=com.atlassian.jira.plugi...
]
Zbyněk Červinka edited comment on JBIDE-26672 at 10/11/19 8:59 AM:
-------------------------------------------------------------------
h1. *Update on this issue - WildFly version 18.0.0.Final:*
After todays testing in Red Hat CodeReady Studio I have found the 3 following errors in
the Problems view (the "*4 new errors*" mentioned in the last comment has been
fixed and do not show in the Problem view anymore):
* 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.13.0.GA
Build id: GA-v20191010-1023-B5119
Build date: 20191010-1023
was (Author: zcervink):
h1. *Update on this issue - WildFly version 18.0.0.Final:*
After todays testing in Red Hat CodeReady Studio I have found the 3 following errors in
the Problems view (the 4 new errors mentioned in the last comment has been fixed and do
not show in the Problem view anymore):
* 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:
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.13.0.GA
Build id: GA-v20191010-1023-B5119
Build date: 20191010-1023
WildFly quickstart 'spring-greeter' contains errors after
import into Red Hat CodeReady Studio
----------------------------------------------------------------------------------------------
Key: JBIDE-26672
URL:
https://issues.jboss.org/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.14.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)