org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'roleService' defined in class path resource [rbac-app.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.gdcct.rbac.RoleServiceApp]: Constructor threw exception; nested exception is org.springframework.remoting.RemoteLookupFailureException: Lookup of RMI stub failed; nested exception is java.rmi.ConnectException: Connection refused to host: 192.168.1.12; nested exception is:
想变成本地访问要怎么改呢?
java启动项目报错,求解!急!
答案:4 悬赏:50 手机版
解决时间 2021-02-08 14:46
- 提问者网友:刺鸟
- 2021-02-07 23:48
最佳答案
- 五星知识达人网友:琴狂剑也妄
- 2021-02-08 00:01
看看你的注解有没有标注,我以前没有标注的时候就会出现这个问题。
还有就是仔细看看你的配置文件,看看你的配置文件是不是出现了错误呢?
还有就是仔细看看你的配置文件,看看你的配置文件是不是出现了错误呢?
全部回答
- 1楼网友:蓝房子
- 2021-02-08 01:58
上网查查吧,也许能有所帮助。
- 2楼网友:污到你湿
- 2021-02-08 00:37
错误提示已经给的很明确了,找不到类!这个是你项目用到了spring-core的jar包,但你却没引入,下次遇到classnotfound的情况,就直接百度这个错误信息,找到这个jar包,引入到项目,缺哪个就弄哪个,要善用百度
- 3楼网友:思契十里
- 2021-02-08 00:14
把 jdbc文件的url改了
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯