Requirements
- 浏览器IDE Intellij,Netbeans或Eclipse稳定的互联网连接
对于本文,我们将仅关注两个IDE(Intellij和Netbeans)。
For Netbeans IDE
Step 1: Open your Browser and Navigate to Spring Initializr
Step 2: Select your language
Step 3: Select the version of Spring Boot
Step 4: Select Dependencies
使用的依赖项取决于项目。 根据项目选择。 例如,使用Html和CSS的简单注册表单将需要以下主要依赖性
- Spring Web Starter胸腺春季安全Spring Data JPA
Step 5: Click Generate the Project at the Bottom of the page.
这将下载一个ZIP文件,其中包含刚选择的依赖项。
Step 6: Import the ZIP file in Netbeans
Step 7: Build the Project with dependencies
这将需要一些时间。您必须具有稳定的Internet连接
Once the downloads are done you are good to go!
For IDEA Intellij IDE
Step 1: Create a new Project in Intellij
Step 2: Create a new Spring Initializr project
Step 3: Select language and other Metadata
就像在Spring Initializr网站上一样,它也有要求。
Step 4: Select Dependencies required
Once the downloads are done you are good to go
您需要稳定的Internet连接这将需要几分钟,具体取决于您的Internet速度