OpenLiberty / guide-maven-intro

An introductory guide on how to build applications using Maven on Open Liberty: https://openliberty.io/guides/maven-intro.html
Other
20 stars 34 forks source link

Revisit the need of the dependencies for Support for JDK 9 and above #90

Closed gkwan-ibm closed 4 years ago

gkwan-ibm commented 4 years ago

The pom.xml requires following

        <!-- Support for JDK 9 and above -->
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>javax.servlet-api</artifactId>
            <version>4.0.1</version>
            <scope>provided</scope>
        </dependency>
    </dependencies>

It should be a workaround for the issue to use java9+ previously. This issue should remove the dependencies if they are not apply anymore.

gkwan-ibm commented 4 years ago
gkwan-ibm commented 4 years ago
jj-zhang commented 4 years ago

image

jj-zhang commented 4 years ago

In HelloServelet.java, it requeires javax.servlet package, while servlet has been removed in the pom.xml

gkwan-ibm commented 4 years ago

@jj-zhang I have no problem to remove javax.servlet dependency. Maybe the pom.xml added jakartee dependency. Would you try again?