随笔分类 - Exception
记录遇见的异常,与大家共勉,避免犯同样的错误
摘要:Nginx启动报错:nginx: [alert] could not open error log file: open() “/usr/local/nginx/logs/error.log“ failed nginx: [alert] could not open error log file:
阅读全文
摘要:后端解决前端使用ajax访问后端出现的跨域问题 Access to XMLHttpRequest at 'http://127.0.0.1:1203/stu/addStu' from origin 'http://localhost:8081' has been blocked by CORS po
阅读全文
摘要:IDEA 打包Spring Boot项目报错:Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources) on project randomawa
阅读全文
摘要:Navicat远程连接MySQL数据库报错 这个问题说的是因为在数据库服务器中的mysql数据库中的user的表中没有权限(也可以说没有用户) 1130 - Host '179.201.0.29' is not allowed to connect to this MySQL server 如下图:
阅读全文
摘要:安装MySQL时提示This application requires .NET framework 4.5.2的解决办法 在新计算机上安装MySQL时报这个错:This application requires .NET Framework 4.5.2 ...... 意思是说安装MySQL这个应用
阅读全文
摘要:Mybatis-Plus中insert时出现You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use
阅读全文
摘要:Nginx出现403 forbidden (13: Permission denied)报错 使用Nginx部署前后分离项目时,访问时Nginx出现403 forbidden,发现Nginx日志文件报如下错误: 2021/09/10 11:31:25 [error] 42415#0: *1 "/ho
阅读全文
摘要:org.yaml.snakeyaml.scanner.ScannerException: while scanning a simple key 报错解决方法 报错信息如下: 13:31:17.438 [main] ERROR org.springframework.boot.SpringAppli
阅读全文
摘要:【前端项目启动错误】npm ERR! notarget No matching version found for schart.js@3.0.4. npm install 初始化项目时出现如下错误 npm ERR! notarget No matching version found for sc
阅读全文
摘要:解决错误:dm.jdbc.driver.DMException:未经授权的用户 解决方法: 在 dmdba/dmdata/DAMENG下 找到 dm.ini 并打开 搜索 MAX_SESSIONS:MAX_SESSIONS 默认为 10,将它改大一点就行了。
阅读全文
摘要:java.lang.RuntimeException:java.security.InvalidkeyException:Illegal key size or default parameters报错解决方案 今天在部署项目的时候碰到一个这样的问题: 结果发现开发使用的JDK与部署机使用的JDK不
阅读全文