
笔记
文章平均质量分 84
事情判断忘记
这个作者很懒,什么都没留下…
展开
-
python学习笔记
python学习笔记 2022-1-25 1.基础语法 print 默认输出是换行的,如果要实现不换行需要在变量末尾加上 end="": x="a" y="b" print( x, end=" " ) print( y, end=" " ) 在 python 用 import 或者 from…import 来导入相应的模块 将整个模块(somemodule)导入,格式为: import somemodule 从某个模块中导入某个函数,格式为: from somemodule import somefun原创 2022-12-13 21:50:11 · 361 阅读 · 0 评论 -
spring boot使用双数据源mysql和oracle获取数据
spring boot 使用双数据源mysql 和oracle获取数据原创 2022-08-17 16:17:27 · 1406 阅读 · 0 评论 -
Idea做spring项目所遇到的一些问题
1.在service层提示Could not autowire. No beans of 'StudenDao 并不能引进Dao接口 在dao层加入@Repository注解即可 @Component:这将 java 类标记为 bean。它是任何 Spring 管理组件的通用构造型。spring 的组件扫描机制现在可以将其拾取并将其拉入应用程序环境中。 @Controller:这将一个类标记为 Spring Web MVC 控制器。标有它的 Bean 会自动导入到 IoC 容器中。 @Service:此注原创 2021-08-28 12:55:21 · 1155 阅读 · 0 评论