<name>BYSJ</name>
<url>http://www.example.com</url>
<propreties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</propreties>
<propreties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<aftifacitId>junit</aftifacitId>
<version>4.8.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>mysql</groupId>
<aftifacitId>mysql-connect-java</aftifacitId>
<version>8.0.21</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<aftifactId>maven-assembly-plugin</aftifactId>
<version>2.5.5</version>
<configuration>
<archive>
<manifest>
<maniClass>com.roadjava.App</maniClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<id>one_jar</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</propreties>
######报错
这个报的是你的sql有问题,看下你的StudentServiceImpl类的42行,把sql贴出来看下
pom.xml文件 有问题,找一个能正常打包的pom.xml对比一下
看报错提示 你pom最外层缺少一个 标签,如果不理解 可以github随便找两个maven项目,在pom文件中搜索project,你就知道什么意思了