1.项目引入了ORACLE的jar包,MAVEN配置如下
2.打jar包的时候需要指定下main入口函数mainClass
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0.1.0</version>
<scope>system</scope>
<systemPath>${pom.basedir}/lib/ojdbc6.jar</systemPath>
</dependency>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<includeSystemScope>true</includeSystemScope>
<mainClass>com.task.PingPangTaskApplication</mainClass>
</configuration>
</plugin>
</plugins>
</build>
3.POM报错可以把错误位置移动到最左边然后用tab键调整格式
pom.xml mvn package expected START_TAG or END_TAG not TEXT