今日BUG
文章平均质量分 75
秦丨竹
这个作者很懒,什么都没留下…
展开
-
【今日BUG】There is no getter for property named ‘id‘ in ‘class java.lang.Integer‘
List<exam> findAll(@Param(value="a")int a);在dao的Mapper里面修改即可原创 2020-11-09 15:10:26 · 91 阅读 · 0 评论 -
【今日BUG】java.sql.SQLException: The server time zone value ‘�й���ʱ��‘ is unrecognized
在URL上加上:?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8原创 2020-11-02 11:56:16 · 79 阅读 · 0 评论 -
【今日BUG】class oracle.jdbc.driver.T4CConnection cannot be cast to class xiao.factory03
错误原因:在学这个知识的时候没有追根溯源,简单实例工厂列返回的是一个Connection对象,而不是(Bean)类类型教训:以后每次写学的时候一定要代码过脑子,不能无脑复制原创 2020-10-29 19:29:25 · 899 阅读 · 0 评论 -
【今日BUG】mysql中插入中文显示???
登录mysql mysql -u root -p查看编码格式show variables like ‘char%’;修改:在my.ini里改成# MySQL Server Instance Configuration File# ----------------------------------------------------------------------# Generated by the MySQL Server Instance Configurati...原创 2020-10-28 21:42:32 · 124 阅读 · 0 评论 -
【今日BUG】jstl 在idea里不能使用
这是之前的web.xml(错误):<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd" ><web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/原创 2020-10-23 22:36:27 · 250 阅读 · 0 评论 -
【今日 BUG】Exception in thread “main“ java.lang.ClassCastException: class testdo.company cannot be cast
Exception in thread "main" java.lang.ClassCastException: class testdo.company cannot be cast to class testdo.Addre (testdo.company and testdo.Addre are in unnamed module of loader 'app')原因 :泛型错误导致的 浪费3小时List<Addre>selectDepart();List<c...原创 2020-10-22 16:16:55 · 239 阅读 · 0 评论 -
【今日BUG】 $%7BpageContext.request.contextPath%7D base 显示异常
<?xml version="1.0" encoding="UTF-8"?><web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/.原创 2020-10-18 22:58:08 · 482 阅读 · 0 评论