In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to solve the problem of error reporting encountered in the deployment of SpringBoot environment". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn how to solve the error reporting problem encountered in the deployment of the SpringBoot environment.
After normal deployment, it is found that the page is full of errors. The project is a SpringBoot project. You can normally specify a maven repository, either from Kula or download from Aliyun. After executing install, the address of downloading the jar package points to the local server address, but you should not be able to pull it down and download it to Aliyun. Why or not?
Finally find the pom file, the culprit code:
Aren't jar packages like this open source on the Internet? And in the parent project management, resulting in the entire project can not be downloaded, then check
-
What is the use of these notes?
Pom.xml is the main configuration file for Maven to work in maven. Its functions include: configuring remote repositories to be used in Maven projects, resource dependencies of Maven projects, and so on. Pom is the abbreviation of Project Object Model (Project object Model).
The role of the repositories tag in pom.xml is to configure the remote repository of the maven project
When the pom file specifies the remote repository, but each configuration project has to be configured, why not specify the address directly in the setting file? I don't know what's the point?
Remote repository for configuring maven plug-ins
False told Maven not to download the snapshot version of the artifacts from this repository. It is recommended to prohibit downloading snapshot components from public repositories because they are unstable and out of your control, and you should avoid using them. Of course, if you want to use the warehouse within the organization in the local area network, you can activate snapshot support
It can be said that these configurations are rare and useless.
In this way, I will annotate these notes and download them directly from maven.
Let's talk about the recent increase in knowledge:
Question:
There are generally these three annotation methods.
/ * var s = new Object ();
Keyboard shortcuts generally do not generate a third, so F12 will see the comment code, so if the project is classified or listed for internal testing, it will be discovered by competition, so how to solve it?
1: all comment forms are
But the development is inefficient and won't notice at first.
2:webpack packing
Before the project is deployed into a war package, extract the front-end page with webpack and package it separately, so that the entire front-end page can solve this problem.
At this point, I believe you have a deeper understanding of "how to solve the problem of error reporting encountered in the deployment of the SpringBoot environment". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
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.