简体   繁体   English

如何在 spring sts 中获取 spring 引导 web 项目的默认结构?

[英]How to get default structure of spring boot web project in spring sts?

I have some ongoing spring boot web project in spring sts IDE.我有一些正在进行的 spring 启动 web 项目在 spring sts Z581D6381203F35E7B389DZ7。 Then I create a new project which is reading the data from database using JSP file, for that I was created dynamic web project, in that time there was a pop message showing project need to change in JAVA EE format something like that.然后我创建了一个新项目,该项目使用 JSP 文件从数据库中读取数据,为此我创建了动态 web 项目,当时有一条弹出消息显示项目需要更改为 ZC71E8D17D41C21662FF2608EEZ6 之类的格式。 After clicking the ok button.单击确定按钮后。 It will change all of my previous projects structure.它将改变我以前所有的项目结构。 How to get rid of this problem.And want to know why this is happening?.如何摆脱这个问题。想知道为什么会这样? Thanks in advance.提前致谢。

Project structure: https://cdn.journaldev.com/wp-content/uploads/2018/06/SpringBootApplication-Project.png项目结构: https://cdn.journaldev.com/wp-content/uploads/2018/06/SpringBootApplication-Project.png

I have try to create new spring boot project to get the default structure, but its changes its project structure.我尝试创建新的 spring 引导项目以获得默认结构,但它改变了它的项目结构。

Want to get the previous project structure for all of my previous spring boot project and newly created project.Want to remove deployment descriptor/JAX-WS web Services and related file from the project structure.想要获取我之前的所有 spring 引导项目和新创建的项目的之前的项目结构。想要从项目结构中删除部署描述符/JAX-WS web 服务和相关文件。

Just go to spring sts -> window -> perspective -> other perspective -> other ->select spring(default).只需 go 到 spring sts -> window -> 透视 -> 其他透视 -> 其他 -> 选择弹簧(默认)。 Change the java EE perspective to Spring (default) perspective .java EE 透视图更改为Spring(默认)透视图

https://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Ftasks%2Ftasks-31.htm https://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Ftasks%2Ftasks-31.htm

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

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