
乐优商城学习总结
一名假人
已经不是大学了,要开始工作了,继续记录自己的成长。
展开
-
could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException...
Mysql问题问题描述当后端使用的是SpringJPA作为持久层的结局方案时,前端做新增请求时报错could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement问题解决解决方式到mysql给相...原创 2020-02-25 08:50:30 · 17327 阅读 · 3 评论 -
Nginx启动报错:bind() to 0.0.0.0:443 failed failed (10013: An attempt was made to access a socket...
Nginx问题问题描述nginx启动后出现bind() to 0.0.0.0:443 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)问题解决解决方式把占了443端口的应用程序关掉,或是修改nginx的启动端口问题原...原创 2020-02-24 23:47:48 · 2705 阅读 · 0 评论 -
Nginx启动报错:"location" directive is not allowed here in D:\nginx-1.16.1/conf/nginx.conf:63
Nginx问题问题描述nginx无法启动出现报错 "location" directive is not allowed here in D:\nginx-1.16.1/conf/nginx.conf:63问题解决解决方式查看自己的nginx.conf 63行的location是不是写错了问题形如"xxxx" directive is not allowed he...原创 2020-02-24 23:42:34 · 13648 阅读 · 5 评论 -
坑:给zuul网关添加nginx转发携带域名
Zuul问题问题描述给zuul的配置文件添加下列不起作用zuul: add-proxy-headers: true # 注意这个proxy问题解决是添加错了!!! # add-proxy-headers: true 是错的 add-host-header: true # 才是对的...原创 2020-02-24 23:34:45 · 1175 阅读 · 0 评论 -
elasticsearch启动报错:java.nio.file.AccessDeniedException
Elasticsearch问题问题描述elasticsearch启动报错java.nio.file.AccessDeniedException: /data/software/elasticsearch-6.2.4/config/jvm.options解决方式问题原因因为elasticsearh需要以非root的用户启动,有时启动会出现权限不够的情况解决在终端输入下面的...原创 2020-02-24 21:10:20 · 14403 阅读 · 3 评论 -
报错:Cannot map 'specificationController' method
SpringMVC问题问题描述在运行的时候出现报错:Cannot map 'specificationController' method解决问题原因:可能是再书写web层的时候出现 Map 映射的访问路径相同...原创 2020-02-24 20:55:12 · 1223 阅读 · 0 评论