- 博客(5)
- 收藏
- 关注
原创 springboot启动运行.sql文件自动建表
springboot启动运行.sql文件自动建表 import org.apache.ibatis.jdbc.ScriptRunner; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Configuration; import javax.annotation.PostConstruct; import javax.annotation.Res
2020-07-04 15:21:15
1009
原创 springboot对service进行junit测试
@SpringBootTest(classes = SinotnEnmsApplication.class) classes == (工程的启动类) 图片: pom.xml中引入以下代码 <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> ...
2019-11-08 11:32:24
2304
2
原创 tomcat启动不了报错: Publishing failed Could not publish to the server. java.lang.IndexOutOfBoundsException
解决方案:把C:用户>的.m2>中的jar删除,重新使用eclipse用maven>update Project
2019-02-28 09:33:29
840
原创 java.lang.reflect.MalformedParameterizedTypeException
ibatis和mybatis发生jar冲突 解决办法: 删除ibatis MapperScannerConfigurer 必须要有 sqlSessionFactoryBeanName 这个属性,不然就会报错
2019-02-27 19:45:17
331
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人