简体   繁体   English

Spring MVC IntelliJ想法

[英]Spring MVC IntelliJ Idea

I need some help. 我需要协助。 I'm using the latest version of IntelliJ Idea and it's my first time using that IDE. 我正在使用最新版本的IntelliJ Idea,这是我第一次使用该IDE。 When I create a Spring MVC project the IDE doesn't generate any view or controller. 当我创建一个Spring MVC项目时,IDE不会生成任何视图或控制器。 What should I do? 我该怎么办?

In intelliJ IDE, you can generate MVC pattern files in your project files by right click on your project name in your project structure -> select "Add Framework Support" , and then choose "Spring MVC" option in newly opened window. 在intelliJ IDE中,可以通过在项目结构中右键单击项目名称来在项目文件中生成MVC模式文件->选择“添加框架支持” ,然后在新打开的窗口中选择“ Spring MVC”选项。 That will help you to generate needed files. 这将帮助您生成所需的文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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