
java
_冷山_
import torch as tf
展开
-
Could not autowire. No beans of ‘FileLibMapper‘ type found.
问题: 解决方法: 在mapper接口上加@Repository注解,这是spring2.0新增的一个注解,用于简化 Spring 的开发,实现数据访问。原创 2021-08-01 00:05:23 · 241 阅读 · 0 评论 -
Invalid bound statement (not found): com.lu.tech.eduservice.mapper.EduCourseMapper.queryById
baseMapper中没有queryById()方法,使用selectById()。原创 2021-04-13 17:16:51 · 228 阅读 · 0 评论 -
Unable to infer base url. This is common when using dynamic servlet registration or when the API is
在配置类指定扫描路径,重新加载Maven再重启项目,莫名其妙好了 。原创 2021-04-01 14:29:20 · 264 阅读 · 0 评论 -
类com.lu.servlet.HelloServlet不是Servlet
tomcat10之后servlet依赖包名不是javax.servlet,而是jakarta.servlet 。 可以用以下两个依赖 <dependency> <groupId>jakarta.servlet.jsp</groupId> <artifactId>jakarta.servlet.jsp-api</artifactId> <version>3.0.0</version> <scope>原创 2021-03-26 23:50:25 · 3237 阅读 · 1 评论