background
Forced to access the single sign-on function provided by a certain company, it is a jar package written by themselves. Here is a record of the introduction process
Import method
Create a new lib folder under the Resource directory and put the jar package in it.
Just import it in the Pom file like this
<dependency>
<groupId>org.jnu</groupId>
<artifactId>cas-client-core</artifactId>
<version>3.2.1</version>
<scope>system</scope>
<systemPath>${project.basedir}\lib\cas-client-core-3.2.1.jar</systemPath>
</dependency>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.3.1.RELEASE</version>
<configuration>
<includeSystemScope>true</includeSystemScope>
</configuration>
</plugin>
</plugins>
</build>