89 Star 469 Fork 250

smooth / stressTestSystem

 / 详情

在mac上本地部署报错

待办的
拥有者
创建于  
2020-05-09 14:53

启动报错如下:
rg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduleJobController' defined in file [/Users/zhouxiongxin/Desktop/21312312/stressTestSystem/target/classes/io/renren/modules/job/controller/ScheduleJobController.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [io.renren.modules.job.controller.ScheduleJobController]: Constructor threw exception; nested exception is java.lang.IllegalStateException: java.io.FileNotFoundException: class path resource [application.yml] cannot be opened because it does not exist

评论 (1)

smooth 创建了任务
smooth 关联仓库设置为smooth/stressTestSystem
展开全部操作日志

解决方法:
maven里选择clean+install,然后运行正常。
输入图片说明
运行一段时间好像还是会出现,win下好像没出现。

clean+package,然后去target里运行java -jar renren-fast.jar跑项目就没事。

直接代码运行,好像mapper里的所有Dao.xml隔一段时间会更新一个,然后就会出上面的问题,导致重新运行项目还是无法拉起。

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(1)
1508780 smooth00 1578953215
Java
1
https://gitee.com/smooth00/stressTestSystem.git
git@gitee.com:smooth00/stressTestSystem.git
smooth00
stressTestSystem
stressTestSystem

搜索帮助