Project in Eclipse not finding javax.servlet.* with open liberty

72 views Asked by At

I'm trying to run a java project with open liberty, but the servlet API is not being found.

code

  • I'm using the WebSphere Application Server Liberty Profile v8.5 server and its pointing to a valid open liberty instance.
    2. In the project facets Dynamic Web Module is selected & WebSphere Application Server Liberty Profile is checked.

What is missing?

Update

Here is some extra info.

Java 1.8
OL 21.0.0.11
myeclipse 2020.9.16
Facets: Dynamic Web Module 3.0
Open Liberty Features
<featureManager>
    <feature>javaee-8.0</feature>
    <feature>restConnector-2.0</feature>
    <feature>monitor-1.0</feature>
    <feature>localConnector-1.0</feature>
</featureManager>
0

There are 0 answers