In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
First acquaintance of springboot
The directory structure is as follows
Application.properties file content spring.profiles.active=@profiles.active@ application-dev.properties file content server.port=8001 application-prod.properties file content server.port=8003 above configuration is to see different configurations in different environments dev true dev prod Prod mybatis src/main/resources * * / * src/main/resources * .xml * .properties True org.springframework.boot spring-boot-maven-plugin org.apache.maven.plugins maven-compiler-plugin 1.8 1.8 org.apache.maven.plugins Maven-resources-plugin default-resources validate copy-resources target/classes false Org.apache.maven.plugins maven-surefire-plugin true * * / Test*.java true Org.apache.maven.plugins maven-source-plugin package jar-no-fork 1. The tag says that the pit encountered will not work if only profiles is configured, and only if the corresponding resources tag is added to start packaging.
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.