The error message "Whitelabel Error Page" typically occurs when there is an error in the application and no specific error handling is defined. In your case, it seems that there might be an issue with the button tags and their attributes in the HTML code you provided.

To troubleshoot the issue, you can try the following steps:

  1. Check for any syntax errors in the HTML code. Make sure all opening and closing tags are properly nested and closed.

  2. Verify that the tpye attribute in the button tags is spelled correctly. It should be type instead of tpye.

  3. Ensure that the Thymeleaf expressions ${likes.getLike(good.goods_id, memberId) != null} and ${likes.getLike(good.goods_id, memberId) == null} are valid and evaluate to the expected values.

  4. Make sure the goods_like() JavaScript function is defined and implemented correctly.

If the issue persists, you may need to provide more details or check the server-side logs for more specific error messages to further diagnose and resolve the problem.


原文地址: https://www.cveoy.top/t/topic/p5u9 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录