简体   繁体   中英

Java EE SDK 8 don't find JDK EE 8

My project have been developing about JSP , servlets , applets... I am using intelliJ idea version 2018.1.5 and my project cann't continue configuration because it missed JDK EE 8 , I try to downloaded JDK EE 8 on page oracle and pages another but i cannot find this JDK

could you please guide me how to download the java EE jdk to fit with Java sdk ee 8?

从安装Java 8 SE JDK 开始,然后逐渐添加其他库

if you using maven add depency:

<dependency>
    <groupId>javax</groupId>
    <artifactId>javaee-api</artifactId>
    <version>8.0</version>
    <scope>provided</scope>
</dependency>

for web only:

<dependency>
    <groupId>javax</groupId>
    <artifactId>javaee-web-api</artifactId>
    <version>8.0</version>
    <scope>provided</scope>
</dependency>

gradle:

provided group: 'javax', name: 'javaee-api', version: '8.0'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM