SpringBoot启动前端工程报错-Whitelabel Error Page
错误信息:
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Fri Nov 01 10:35:00 CST 2019
There was an unexpected error (type=Not Found, status=404).
No message available
错误截图:
控制台未报错,但是访问页面报错。
解决方案:
- 打开下拉菜单,点击Edit Configurations;
- 选中我们的前端工程,点击右边的Environment展开选项;
-
Working directory选中第三个选项$ MODULE_WORKING_DIR$