项目中遇到的问题
文章平均质量分 59
平时做项目时遇到的问题
小跳蛙啦啦啦
这个作者很懒,什么都没留下…
展开
-
SQL Server2012连接服务器失败的问题和找不到SQL Server找不到配置管理器的问题解决
SQL Server 2012安装和使用一段时间后没有出现问题,昨天也能正常使用,我今天上午打开时就出现了如图所示的问题:在与SQL Server 建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且SQL Server 已配置为允许远程连接。provider:Named Pipes Provider,error:40-无法打开到SQL Server 的连接)(Microsoft SQL Server,错误:2) 系统找不到指定的文件。根据经验判断应该是原创 2021-04-29 14:32:52 · 3375 阅读 · 1 评论 -
ajax和JSON格式串传输数据时浏览器获取不到服务器返回的信息
ajax传数据时浏览器获取不到服务器返回的信息业务是发布帖子,通过前台获取到帖子数据,插入数据库,成功则弹出成功提示,并刷新页面。错误是:通过前台获取到帖子数据,插入数据库没有问题,但不会弹出成功提示和刷新页面。F12看报这个错POST http://localhost:8080/community/discuss/add 500 jquery-3.3.1.min.js:2 send @ jquery-3.3.1.min.js:2ajax原创 2020-11-09 15:19:27 · 559 阅读 · 0 评论 -
SpringBoot+thymeleaf出现SpelEvaluationException: EL1007E: Property or field ‘data‘ canno be found on n
今早打开昨天的项目,加了一个小功能,然后项目就崩了。主要是这个功能和这里一点关系都没有。明明昨天晚上睡觉前都还好好的,今天一打开连首页都访问不了。崩溃。花了一个多小时解决完这个问题,复盘错误时,把它还原成出错时的样子时它竟然又好了。我怀疑它在搞我心态。编程是门玄学问题。来看看这个奇奇怪怪的bug吧网页报错500控制台:```org.thymeleaf.exceptions.TemplateInputException: An error happened during template par原创 2020-11-09 15:07:46 · 2402 阅读 · 4 评论 -
springboot+thymeleaf跳转页面An error happened during template parsing (template: “class path resource错误解
在用springboot+thymeleaf做登陆页面时,出现An error happened during template parsing (template: "class path resource [templates//site/logiorg.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templ原创 2020-11-07 20:46:25 · 1631 阅读 · 0 评论 -
Authentication failed; nested exception is javax.mail.AuthenticationFailedException的解决办法
Springboot做项目部署发送邮件时,出现org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535 问题出现问题的代码:pring.mail.host=smtp.sina.comspring.mail.port=465spring.mail.username=xxxx@s原创 2020-11-06 19:44:47 · 25605 阅读 · 7 评论 -
idea报“Could not autowire. No beans of ‘UserMapper‘ type found. ”错解决办法
今天在用Spring Boot做项目时遇到了idea报“Could not autowire. No beans of ‘UserMapper’ type found. ”的错误,记录以下解决过程。我的dao注解使用的是@Mapper在使用@Autowrited注解时,报红提示我“Could not autowire. No beans of ‘UserMapper’ type found.”错误,但可以运行,结果也正确。小白不明所以,于是上网查询解决方法。1、将@Autowrited改为@Au原创 2020-11-02 16:28:05 · 45519 阅读 · 5 评论