自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 Cannot find class com.test.domain.User for bean with nain file[applicationContext.xml]

这个类明明存在却总是报错。 在eclipse的Project中选择clean,勾选上Build Automaticly,把项目clean下,如果不行就多重复几次,直到target目录下正常生成 class字节码文件即可。

2022-05-28 19:02:48 326

原创 Error creating bean with name ‘sqlSessionFactory‘ defined in class path resource [applicationContext

Error creating bean with name 'sqlSessionFactory' defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested exception is Could not resolve resource location pattern [classpath:com/test/mapper/*.xml]: class path resourc

2022-05-17 17:35:04 157

原创 报错Failed to load applicationContext

这可能是applicationContext.xml里出问题了,最笨的办法就是一段一段的注释掉然后重新运行

2022-04-20 10:35:27 167

原创 jsp在界面中加数据,加不到数据库里

把form表单的action转向自己,这样才叫submit。 不要转向xxx.html ,那样根本就没提交

2022-04-20 10:32:40 680

原创 MyBatis报错:Error building SqlSession.解决

报错误可能在studentmapper.xml中 解决方法:把com.test.Entity包中的内容加全,加几个之前少了的类

2022-04-18 21:37:08 436

原创 Java P2078 朋友

男的只要认识小明以及小明的朋友以及小明的朋友的朋友...就可以认为认识小明,女的同样。 import java.util.*; public class Main{ static int [] p=new int[500100]; static int find(int x){ if(x!=p[x]) p[x]=find(p[x]); return p[x]; } public static void main(String a...

2022-01-13 21:52:58 98

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除