Springboot 鎵撳寘閮ㄧ讲
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Springboot 鎵撳寘閮ㄧ讲相关的知识,希望对你有一定的参考价值。
鏍囩锛?a href='http://www.mamicode.com/so/1/ati' title='ati'>ati
XML des ram prope col compile snapshot bsp
- 鍏堟墦鎴恮ar鍖呮垨鑰卝ar鍖?/li>
- 浣跨敤java -jar test1-0.0.1-SNAPSHOT.jar 杩愯鍗冲彲
甯哥敤渚濊禆
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.8</source> <target>1.8</target> <encoding>utf-8</encoding> </configuration> </plugin> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <mainClass>com.royal.app.App</mainClass> </configuration> <executions> <execution> <goals> <goal>repackage</goal> </goals> </execution> </executions> </plugin> </plugins> <resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.xml</include> </includes> </resource> <resource> <directory>src/main/resources</directory> <includes> <include>**/*.*</include> </includes> </resource> </resources> </build>
鎴栦娇鐢ㄥ涓嬩唬鐮佹寚瀹歫dk鐗堟湰
<properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> </properties>
以上是关于Springboot 鎵撳寘閮ㄧ讲的主要内容,如果未能解决你的问题,请参考以下文章