Java中的错误
星~闪耀
这个作者很懒,什么都没留下…
展开
-
Mybatis错误——Could not find resource com/kuang/dao/UserMapper.xml
Could not find resource com/kuang/dao/UserMapper.xml错误描述:没有找到com/kuang/dao/UserMapper.xml文件D:\Java\jdk1.8\bin\java.exe -ea -Didea.test.cyclic.buffer.size=1048576 "-javaagent:D:\idea\IntelliJ IDEA 2021.2.3\lib\idea_rt.jar=54413:D:\idea\IntelliJ IDEA 2021原创 2022-04-09 17:11:35 · 1221 阅读 · 0 评论 -
Mybatis错误-Type interface com.kuang.dao.UserDao is not known to the MapperRegistry.
org.apache.ibatis.binding.BindingException: Type interface com.kuang.dao.UserDao is not known to the MapperRegistry. at org.apache.ibatis.binding.MapperRegistry.getMapper(MapperRegistry.java:47) at org.apache.ibatis.session.Configuration.getMapper(Confi原创 2022-04-09 16:57:19 · 653 阅读 · 0 评论 -
PING 192.168.5.13 (192.168.5.13 ) 56(84) data bytes后长时间不响应
PING 192.168.5.13 (192.168.5.13 ) 56(84) data bytes后长时间不响应原因:没有关闭电脑的防火墙解决办法:关闭电脑防火墙解决后:ping通了原创 2021-12-26 10:11:29 · 8761 阅读 · 3 评论 -
could not extract ResultSet----Table ‘sell.product_category‘ doesn‘t exist
org.springframework.dao.InvalidDataAccessResourceUsageException: could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSetat org.springframework.orm.jpa.vendor.HibernateJpaDialect.原创 2021-11-20 18:02:30 · 724 阅读 · 0 评论 -
Optional int parameter ‘xxx‘ is present but cannot be translated into a null value due to being decl
错误描述:processing failed; nested exception is java.lang.IllegalStateException: Optional int parameter ‘currPage’ is present but cannot be translated into a null value due to being declared as a primitive type. Consider declaring it as object wrapper for the原创 2021-08-18 11:31:16 · 1550 阅读 · 0 评论 -
Failed to convert value of type ‘java.lang.String‘ to required type ‘int‘; nested exception is java.
18-Aug-2021 11:12:21.790 警告 [http-nio-8888-exec-2] org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver.logException Resolved [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of typ原创 2021-08-18 11:17:23 · 1041 阅读 · 0 评论 -
please check OpBusiMapper.xml and com/neusoft/Idao/OpBusinessDao.java
Mapped Statements collection already contains value for com.neusoft.Idao.OpBusinessDao.findBusi. please check OpBusiMapper.xml and com/neusoft/Idao/OpBusinessDao.java (best gues错误原因:同时使用注解和xml来查询注解查询xml查询mybaits配置...原创 2021-08-12 21:44:44 · 123 阅读 · 0 评论 -
Cause: java.io.IOException: Could not find resource com.neusoft.Idao.OpFoodDaoI
Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource com.neusoft.Idao.OpFoodDaoI这种的不需要xml文件了错误代码:正确代码:原创 2021-08-12 20:22:24 · 102 阅读 · 0 评论 -
Exception in thread “main“ org.apache.ibatis.binding.BindingException: Type interface com.neusoft.Id
Exception in thread “main” org.apache.ibatis.binding.BindingException: Type interface com.neusoft.Idao.OpFoodDaoI is not known to the MapperRegistry.原因:mybatis中没有配置映射文件错误代码:修改后的代码:原创 2021-08-12 20:14:27 · 1536 阅读 · 0 评论 -
Cause: java.sql.SQLIntegrityConstraintViolationException: Column ‘businessName‘ cannot be null
Error updating database. Cause: java.sql.SQLIntegrityConstraintViolationException: Column ‘businessName’ cannot be nullThe error may exist in OpBusinessMapper.xmlThe error may involve BusinessMapper.insertBusi-InlineThe error occurred while setting par原创 2021-08-10 21:59:50 · 2274 阅读 · 0 评论