error
菜级农家
这个作者很懒,什么都没留下…
展开
-
【无标题】
解决Spring Boot:The field file exceeds its maximum permitted size of 1048576 bytes.Spring Boot做文件上传时出现了The field file exceeds its maximum permitted size of 1048576 bytes.错误,说明文件的大小超出了允许的范围。Spring Boot工程嵌入的tomcat限制了请求的文件大小,每个文件的配置最大为1Mb,单次请求的文件的总数不能大于10Mb。要更原创 2022-01-27 21:29:17 · 408 阅读 · 0 评论 -
【无标题】
解决Http 错误:“status”:404,“error”:“Not Found”,“message”:“No message available”,”path”:""用vue来写前端,前端没有什么错,后端也没报错,然后检查了一下后端代码,发现控制层类上面忘记写了一个注解,如图所示,把这个注解加上即可...原创 2022-01-21 16:15:45 · 660 阅读 · 0 评论 -
源服务器未能找到目标资源的表示或者是不愿公开一个已经存在的资源表示
解决源服务器未能找到目标资源的表示或者是不愿公开一个已经存在的资源表示原因是路径错误,如下所示:response.sendRedirect("/student/list?grade_id="+student.getGrade_id());改成下面所示即可:response.sendRedirect(request.getContextPath()+"/student/list?grade_id="+student.getGrade_id());...原创 2021-11-20 16:31:08 · 8011 阅读 · 1 评论 -
Unknown column ‘gender‘ in ‘field list‘
解决Unknown column ‘gender’ in ‘field list’一般遇见这种类似问题,首先先检查字段名是否写错,然后检查类型有没有写错,再检查sql语句有没有错。经过检查发现,我的表名写错了,修改表名即可。...原创 2021-11-20 15:55:51 · 1409 阅读 · 0 评论 -
tomcat启动报错
解决:严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:org.apache.catalina.LifecycleException: 无法启动组件[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/04student_war_ex原创 2021-11-20 11:15:24 · 466 阅读 · 0 评论 -
【无标题】
解决The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.错误如下:原因在于:mysql服务没启动解决办法:把MYSQL服务启动就好原创 2021-11-17 17:13:53 · 659 阅读 · 0 评论 -
2021-11-08
com.intellij.diagnostic.PluginException: Short name ‘MybatisMapperMethodInspection’ is not uniqueclass ‘com.baomidou.plugin.idea.mybatisx.inspection.MapperMethodInspection’ in PluginDescriptor[name=‘MyBatisX’, classpath=‘C:\Users\wml99.IntelliJIdea2018.3\原创 2021-11-08 22:44:25 · 739 阅读 · 0 评论 -
2021-10-30
dependencies.dependency.version’ for xxxxxxx:jar is missing如遇到类似问题如下;是因为在pom里面没加入版本,如下所示:解决方法:添加相应版本即可,如图所示:原创 2021-10-30 10:25:13 · 63 阅读 · 0 评论 -
2021-10-30
dependencies.dependency.(groupId:artifactId:type:classifier)’ must be unique: org.springframework:spring-webmvc:jar -> version (?) vs 5.3.10问题如下:原因所在是因为重复写了依赖spring-webmv解决方法:删掉只留一个即可原创 2021-10-30 10:17:24 · 99 阅读 · 0 评论 -
2021-08-25
报错 warning in ./node_modules/Vuex/dist/vuex.esm.js问题如下:warning in ./node_modules/Vuex/dist/vuex.esm.jsThere are multiple modules with names that only differ in casing.This can lead to unexpected behavior when compiling on a filesystem with other case原创 2021-08-25 11:24:33 · 163 阅读 · 0 评论 -
2021-08-15
报错:Invalid v-for expression: (slidePage,index)in pages问题如下:原因在于:)和in之间少了个空格:如图:(红色框部分)解决办法:)和in之间打一个空格即可。如图:(红色框部分)原创 2021-08-15 14:37:47 · 221 阅读 · 0 评论 -
2021-08-15
报错:vue.esm.js?efeb:628 [Vue warn]: Property or method “swiperOption” is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the proper原创 2021-08-15 14:31:06 · 286 阅读 · 0 评论 -
2021-08-14
报错:vue.esm.js?efeb:628 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the “name” option.原因是代码敲错了,我把components敲成了coponents,大意了原创 2021-08-14 13:50:37 · 59 阅读 · 0 评论 -
2021-08-13
报错:Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.解决办法:打开浏览器设置,点击扩展,把扩展程序删掉即可原创 2021-08-13 13:20:24 · 62 阅读 · 0 评论 -
2021-07-20
解决Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammarException:运行出现如下错误:主要看根本原因那里的near from…,结果发现这里多了一个逗号,如下图,把逗号去掉即可正常运行...原创 2021-07-20 17:25:56 · 68 阅读 · 0 评论 -
2021-07-19
解决Request processing failed; nested exception is java.lang.IllegalStateException: No primary or default constructor found for interface org.springframework.http.HttpRequest页面跳转时,想得到通过session存入的对象,出现如下图所示错误:一查看自己的代码,发现原来是把HttpServletRequest敲成HttpRequest,原创 2021-07-20 00:07:51 · 100 阅读 · 0 评论 -
2021-07-16
解决:org.apache.ibatis.executor.ExecutorException: No constructor found in com.lanqiao.empadmin.domain.Employee matching [java.lang.Integer, java.lang.String, java.lang.String, java.lang.Integer, java.sql.Date, java.lang.Integer, java.lang.Integer, java.lang原创 2021-07-16 21:08:07 · 78 阅读 · 0 评论 -
2021-07-15
当前链的筛选器或servlet不支持异步操作出现的问题:解决方法:在web.xml中配置这两句:但是又出现了如下错误:调用【asyncComplete()]对于具有异步状态【DISPATCHING]的请求无效解决方法:把这两句调换一下位置即可:如图所示...原创 2021-07-15 17:00:12 · 325 阅读 · 0 评论