In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "what is the operation mode of springboot". Many people will encounter this dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
1. Common operation methods of springboot projects:
2. Description:
Idea: running projects in the development environment, that is, the way we do long in the coding process.
Jar, war: the way to execute jar and war packages online and on the server
Maven plug-in method: execute commands:
Mvn spring-boot:run3, add:
Mvn spring-boot:run reported an error and no dependency was found. The command executed is as follows
D:\ Workspace_IDEA\ spring-boot-app\ web > mvn spring-boot:run
If the project is composed of multiple modules and cannot find the dependency of the sub-module, you need to install the sub-module in advance and execute the following command:
D:\ Workspace_IDEA\ spring-boot-app > mvn-Dmaven.test.skip-U clean install cause Analysis: the spring-boot-app project consists of three modules: web, repository and model. Web module depends on persistence, while persistence depends on model module. Web is an interface that provides external access. If we start the project by ordering mvn spring-boot:run, we need to execute the install command first to ensure that the jar of the module that web depends on is installed in the local warehouse before the content of "what the springboot operating mode is like" is introduced here. Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.