- 博客(4)
- 收藏
- 关注
原创 Error creating bean with name ‘studentController‘: Unsatisfied dependency expressed through
SpringBoot启动报错:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘studentController’: Unsatisfied dependency expressed through field ‘studentService’;这是由于Impl实现类里面没有加注解@Server,导致找不到类,加上就好了...
2020-12-10 15:31:17 2543 2
原创 vs code 运行vue项目报错npm ERR! missing script: dev
运行命令(项目所在路径):npm run dev 会报错出现这个原因是项目里的package.json 文件的问题,找到这一行可以看到这里是serve,一种解决办法是把运行命令改为npm run serve,另一种是把"serve": “vue-cli-service serve”,改成"dev": “vue-cli-service serve”,再运行npm run dev 即可解决...
2020-11-10 10:08:05 2496
原创 [Vue warn]: Unknown custom element: <button-counter> - did you register the component correctly?
刚开始学习Vue,使用自定义组件报错后来发现是组件定义和Vue实例化对象顺序有问题,组件定义放在Vue实例化对象后面就可以了
2020-11-05 16:05:07 672
原创 Vue warn Cannot find element: opp
记录小白学习vue时遇到的问题[Vue warn]: Cannot find element: opp一开始发现网上都是再说vue.js文件引入位置的问题,无论怎么尝试都没用,后来发现是自己定义的vue里的el里没加#导致,加完后就好了...
2020-11-05 10:16:46 167
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人