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   

 

  1. 鍏堟墦鎴恮ar鍖呮垨鑰卝ar鍖?/li>
  2. 浣跨敤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 鎵撳寘閮ㄧ讲的主要内容,如果未能解决你的问题,请参考以下文章

Flask 鍜?Google App Engine 閮ㄧ讲妯″瀷鏈嶅姟

mongodb 4.2鍗曟満閮ㄧ讲

Linux涔媋nt瀹夎閮ㄧ讲

Docker閮ㄧ讲Egg.js搴旂敤

Docker涔媠warm閮ㄧ讲闆嗙兢

mongodb 3.2 鍒嗙墖閮ㄧ讲姝ラ