Use eclipse Set up the project

File>New>

Click next

Fill in relevant information , Click next

Check the required components , Click next .

Will generate a project , Here's the picture

open pom.xml file

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.syjz</groupId>
<artifactId>core</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- The code of the document when it is copied -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- Code at compile time -->
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<jdk.version>1.8</jdk.version>
<spring.boot.version>2.0.6.RELEASE</spring.boot.version>
<spring.cloud.version>Finchley.SR2</spring.cloud.version>
</properties> <dependencies>
<!-- web application -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!-- Support unit testing -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
</dependency>
</dependencies> <dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring.cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>${spring.boot.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement> </project>

   If component is checked , There will be the introduction of checked components , I didn't check it here , Then re add the introduction of .

If the project still reports an error , You can try update project

Right click on the item to be operated , choice Maven>update project that will do .

SpringBoot Build more related articles

  1. Springboot build SSM+JSP Of web project

    Springboot build SSM+JSP Of web project One : Create project structure : The project structure is divided into three parts : 1 Back end project development file : package : Util          tool kit Mapper      db layer Serv ...

  2. be based on SpringBoot Build an application development framework ( Two ) —— Login authentication

    zero . Preface This article is based on < be based on SpringBoot Build an application development framework ( One )—— Infrastructure >, Through this article , I'm familiar SpringBoot Usage of , Completed the construction of the application framework . Before starting this article , There's a lot of space in the bottom ...

  3. springBoot build web project ( Fore and aft end separation , Attached project source code address )

    springBoot build web project ( Fore and aft end separation , Attached project source code address )   summary The project includes springBoot-example-ui and springBoot-example, They are the front end and the back end , Front and rear ends ...

  4. SpringBoot Try your hand ( Simple SpringBoot Steps to build )

    SpringBoot Also calculate AI Well , It depends on the dependencies referenced in your schema , Automatically according to the default solution to help you complete Spring The complicated configuration work . So that you don't look down on this AI level , And specially called out “ Convention over configuration ” The slogan of the . From this corner ...

  5. SpringBoot Build a simple chat room

    SpringBoot Build a simple chat room (queue Point to point ) 1. quote SpringBoot build WebSocket link https://www.cnblogs.com/yi1036943655/p ...

  6. springboot Build a simple websocket Real time push applications

    Let's talk about practical springboot Build a simple websocket Real time push applications websocket What is it? WebSocket It's one in a single TCP A protocol for full duplex communication over a connection We used to use http The agreement can only be single ...

  7. Springboot build Eureka And set up Eureka Login account password

    Springboot build Eureka And set up Eureka Login account password One . Create a springboot project 1. have access to Spring Initializr, Open with a browser http://start.spri ...

  8. Use SpringBoot build Web project

    preface From simple to deep use SpringBoot Building a Web project , There are also some small problems . The first blog post is a relatively simple way to complete a database connection Springboot web Program . I used to read online tutorials when I was studying ...

  9. use SpringBoot Build a simple e-commerce project 01

    The first few sections , We have briefly introduced SpringBoot Use of framework , From this section on , We try to use SpringBoot The framework builds a simple e-commerce project step by step . Yes, of course , This is not a real e-commerce project , You can think of it as a CRUD case ...

  10. be based on springboot Built web System architecture

    From the contact springboot Start , I was deeply impressed by its simplicity , Streamlined configuration , Easy integration , So I don't want to use the traditional ssm Framework to build projects , A bunch of configuration files , It's inconvenient to maintain , It takes a lot of effort to integrate . From the first time ...

Random recommendation

  1. java DMO And add, delete, modify and check the automatic generation of code

    stay web Development process , Especially in the development of background management system , The basic operation of adding, deleting and changing is indispensable , It turns out that my own way is to copy and paste one by one , And then modify the differences , But it's boring and a waste of time , So according to the characteristics of my project structure, I wrote ...

  2. java Safe sandbox ( Two ) And .class File checker

    java It's a type safe language , It has four kinds of security mechanisms called safe sandbox mechanism to ensure the security of language , The four types of safety sandbox are : Class loading system .class File checker Built in Java virtual machine ( And language ) Safety features of Security manager and J ...

  3. NHibernate Series 14 :NHibernate Business

    Abstract NHibernate It's very simple to implement the transaction mechanism , call ISession.BeginTransaction() Open a transaction object ITransaction, Use ITransaction.Commit() Submission ...

  4. NOIP2013, Semi finals and synchronized competitions , Registration and competition , Special page

    The object of this notice is only the students of Fuzhou No.19 middle school All the players who take part in the semi-finals and synchronized competitions , Please read it carefully :< About CCF NOIP2013 Notice on matters related to the second round >, There's game time in it . place . And a description of the cost of the competition . ginseng ...

  5. 2.Spring Web MVC The advantages of

    Clear roles : Front controller (DispatcherServlet). Request to processor mapping (HandlerMapping). Processor adapter (HandlerAdapter). view resolver (ViewResolver) ...

  6. js in apply and call Usage of as well as apply The magic effect of ( From the Internet )

    apply: Method can hijack another object , Inherit the properties of another object . Function.apply(obj,args) Method can take two parameters obj: This object will replace Function In class this object args: Count ...

  7. Windows Azure Experience with

    Windows Azure In this year 6 month 6 Japan is operated by century Internet agent in China , At present, we can only experience , No open registration . however , The threshold of experience is relatively high , Only open to enterprises , It seems that it is still early to open up a large number of users in the future . Everyone knows ,“ The domestic threshold is high ”. I am ...

  8. [ National inlay strategy ][159][SPI Subsystem ]

    SPI Subsystem architecture 1.SPI core The core : Used to connect to SPI Customer driven and SPI The main controller drives , And provides the corresponding registration and logout interface . 2.SPI controller driver The main controller drives : To drive SPI ...

  9. 【C Language foundation 】 Variable

    1. What is a variable ? The essence of variable is a storage space in memory 2. Why variables have to be initialized ? Initialization means assignment 3. How to define variables data type Variable name = Value to assign For example : int i = 3: Equivalent to int ...

  10. python in RabbitMQ Use ( Fuzzy match of routing key )

    Fuzzy match of routing key Using regular expressions to match . among “#” Express all . It's all about :“*” Only one word matched . Matching rules : Routing key :routings = [ 'happy.work',  'happy.life' , ...