Maven
追梦少年的大牛计划
这个作者很懒,什么都没留下…
展开
-
maven管理jar包后依然找不到Jar包或者ClassNotFound的解决
https://www.iteye.com/blog/liyunpeng-1965600Caused by:org.springframework.beans.factory.CannotLoadBeanClassException: Cannotfind class [com.github.pagehelper.PageInterceptor] for bean with name‘...原创 2020-03-11 16:45:44 · 1153 阅读 · 0 评论 -
Spring+mybatis+PageHelper分页插件的使用方法,实例笔记和建议
1.在pom.xml中添加如下:<dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> <version>5.1.2</version></dependenc...原创 2020-03-11 16:13:31 · 674 阅读 · 0 评论 -
解决项目启动报错:找不到类,Cannot find class
报错内容:在开发SSM企业项目时,报错找不到某个类,报错内容:Error creating bean with name ‘sqlSessionFactory’ defined in classpath resource [spring/spring-mybatis.xml]: Invocation of init methodfailed; nested exception iso...原创 2020-03-10 10:01:21 · 35217 阅读 · 5 评论 -
【eclipse中Maven项目jar包丢失/导入依赖失败】Maven Dependencies missing jar / Maven dependencies 添加失败 (已解决)
问题描述:在实际的项目开发中创建Maven项目之后发现Maven里面的pom.xml报错。此时,选择项目名称点击右键->Build Path->Configure Build Path…这是我们会发现jar包的图标右下角会出现类似的小红叉。Jar包路径的尾部带有Missing。解决办法:办法一:选中项目右键->maven->update project(快捷键al...原创 2019-12-03 20:57:18 · 3425 阅读 · 1 评论 -
poi-3.6.jar的下载和导入(手动导入和自动导入)
poi-3.6.jar的下载http://maven.outofmemory.cn/org.apache.poi/poi/3.6/手动导入poi-3.6.jar包1.右击项目,选择‘Build Path’ → ‘Configure Build Path’2.进入如下界面,点击‘Add External JARs’,手动添加Jar包...原创 2019-11-07 15:19:28 · 2332 阅读 · 0 评论 -
SSM框架连接MySql和SqlServer数据库的配置(database.properties文件和pom.XML需要添加的jar包)
1. database.properties文件MySql的database.properties文件配置:driver=com.mysql.jdbc.Driverurl=jdbc:mysql://localhost:3306/appinfodb?useUnicode=true&characterEncoding=UTF-8username=rootpassword=root...原创 2019-11-06 15:11:43 · 1079 阅读 · 0 评论 -
The import org.junit.Test conflicts with a type defined in the same file报错
情景:项目引入Junit后,进行单元测试,莫名其妙报了个这样的错误The import org.junit.Test conflicts with a type defined in the same file 原因1:常规原因,导入的jar包相冲突原因2:写junit测试的Java类名为Test.java 或者 包名也是Test,仍然会报这个错误。...原创 2019-10-14 15:38:07 · 374 阅读 · 0 评论 -
解决Maven出现Plugin execution not covered by lifecycle configuration 错误/convert to Maven project遇到问题
https://blog.csdn.net/xiaoshanghe/article/details/54846857转载 2019-10-14 13:59:44 · 158 阅读 · 0 评论