使用maven创建spring boot项目

<?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>springboot.example</groupId>

    <artifactId>spring-boot-hello</artifactId>

    <version>1.0-SNAPSHOT</version>

 

</project>

<?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>springboot.example</groupId>

    <artifactId>spring-boot-hello</artifactId>

    <version>1.0-SNAPSHOT</version>

 

    <parent>

        <groupId>org.springframework.boot</groupId>

        <artifactId>spring-boot-starter-parent</artifactId>

        <version>2.1.3.RELEASE</version>

    </parent>

 

    <dependencies>

        <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-web -->

        <dependency>

            <groupId>org.springframework.boot</groupId>

            <artifactId>spring-boot-starter-web</artifactId>

            <version>2.1.3.RELEASE</version>

        </dependency>

    </dependencies>

 

</project>

  .   ____          _            __ _ _

/\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \

( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \

\\/  ___)| |_)| | | | | || (_| |  ) ) ) )

  '  |____| .__|_| |_|_| |_\__, | / / / /

=========|_|==============|___/=/_/_/_/

:: Spring Boot ::        (v2.1.3.RELEASE)

 

2019-02-27 00:01:17.999  INFO 21640 --- [           main] com.example.hello.Application            : Starting Application on LAPTOP-UBPBU3J2 with PID 21640 (E:\IdeaProjects\spring-boot-hello\target\classes started by xiaoyang.huang in E:\IdeaProjects\spring-boot-hello)

2019-02-27 00:01:18.001  INFO 21640 --- [           main] com.example.hello.Application            : No active profile set, falling back to default profiles: default

2019-02-27 00:01:19.371  INFO 21640 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8080 (http)

2019-02-27 00:01:19.397  INFO 21640 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]

2019-02-27 00:01:19.398  INFO 21640 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.16]

2019-02-27 00:01:19.406  INFO 21640 --- [           main] o.a.catalina.core.AprLifecycleListener   : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [D:\Program Files\Java\jdk1.8.0_181\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;D:\Program Files\Java\jdk1.8.0_181\bin;D:\Program Files\Java\jdk1.8.0_181\jre\bin;D:\Program Files\nodejs\;E:\apache-maven-3.5.4\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;E:\Android\android-sdk\platform-tools;E:\Android\android-sdk\tools;D:\Go\bin;C:\Users\xiaoyang.huang\AppData\Local\Programs\Python\Python36\Scripts\;C:\Users\xiaoyang.huang\AppData\Local\Programs\Python\Python36\;D:\Program Files\Python\Python37\Scripts\;D:\Program Files\Python\Python37\;C:\Users\xiaoyang.huang\AppData\Local\Microsoft\WindowsApps;C:\Users\xiaoyang.huang\AppData\Roaming\npm;C:\Users\xiaoyang.huang\go\bin;.]

2019-02-27 00:01:19.514  INFO 21640 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext

2019-02-27 00:01:19.514  INFO 21640 --- [           main] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 1447 ms

2019-02-27 00:01:19.695  INFO 21640 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'

2019-02-27 00:01:19.877  INFO 21640 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8080 (http) with context path ''

2019-02-27 00:01:19.879  INFO 21640 --- [           main] com.example.hello.Application            : Started Application in 2.414 seconds (JVM running for 3.105)

2019-02-27 00:01:51.498  INFO 21640 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'

2019-02-27 00:01:51.498  INFO 21640 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'

2019-02-27 00:01:51.503  INFO 21640 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 5 ms

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值