weiqingwen / spring-boot-forum

A simple web forum system 简易微论坛(内容管理系统)Spring Boot + MyBatis + Thymeleaf + Bootstrap + Maven
124 stars 46 forks source link

图片 不能显示啊 还有个人中心和管理页面不能打开 #4

Open cheneycode opened 5 years ago

cheneycode commented 5 years ago

图片不显示 路径什么的我都配好了 个人中心和管理 我打不开

anthoniraj commented 5 years ago

Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback.

Sat May 18 07:23:35 IST 2019 There was an unexpected error (type=Internal Server Error, status=500).

Error querying database. Cause: org.postgresql.util.PSQLException: ERROR: relation "t_post" does not exist Position: 22 ### The error may exist in file [/home/oidualc/spring-boot-forum/target/classes/mybatis/mapper/PostMapper.xml] ### The error may involve defaultParameterMap ### The error occurred while setting parameters ### SQL: SELECT count(0) FROM T_POST p LEFT JOIN T_USER u ON p.user_id = u.id LEFT JOIN T_CATEGORY c ON p.category_id = c.id ### Cause: org.postgresql.util.PSQLException: ERROR: relation "t_post" does not exist Position: 22 ; bad SQL grammar []; nested exception is org.postgresql.util.PSQLException: ERROR: relation "t_post" does not exist Position: 22

StarrYMSkY commented 4 years ago

我也遇到这个问题了,觉得是数据库数据类型有问题

vvdjoker commented 1 year ago

我也是同样的问题有解决方法吗