环境运行错误
不吃骨头的小狗狗
hello,world
展开
-
jdbc sql查询,有中文就会查询为空
话不多说,上图encoding=GBK改成characterEncoding=utf8;重启项目,问题解决可能不是mvc项目,是yml或者别的,改动你的连接数据库配置文件就可以了原创 2021-04-25 13:56:08 · 248 阅读 · 0 评论 -
解决项目里,使用junit报class not found错误
首先点击maventest测试,这时候可能会报utf-8错误<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>在pom.xml里里加入这句话然后继续test,接下来报错就是因为plugin的错误在xml里的build标签里加入如下,问题解决<plugins> <plugin> <groupId>or原创 2021-02-24 21:34:52 · 572 阅读 · 0 评论 -
关于Springboot启动以后进入页面报出A fatal error has been detected by the Java Runtime Environment错误的解决方法
首先贴一下错误代码以及日志## A fatal error has been detected by the Java Runtime Environment:## Internal Error (c1_Optimizer.cpp:271), pid=4560, tid=5860# guarantee(x_compare_res != Constant::not_comparable) failed: incomparable constants in IfOp## JRE version原创 2020-11-05 10:55:36 · 26197 阅读 · 8 评论