This problem occurs when spring boot} integrates thymeleaf
By querying other people’s blogs. I understand that there are several possible errors
1 when the method corresponding to your controller layer returns the HTML path and name, add an additional /.
For example, return “/index”. If this ‘/’ causes an error, the solution is to remove the ‘/’ in front of the return, such as return “/index”
2. Introduction package problem (I solved it this way)
Add dependency in porn
<dependency>
<groupId>net.sourceforge.nekohtml</groupId>
<artifactId>nekohtml</artifactId>
<version>1.9.22</version>
</dependency>
Read More:
- How to Skip testing when Maven is packaged
- Hadoop 3.2.0 idea development environment construction and HDFS read write API operation
- [Solved] Jenkins build error: esbuild install failed
- How to Fix Linux sub process /usr/bin/dpkg returned an error code (1)
- [Solved] docker: Error response from daemon: OCI runtime create failed: container_linux.go:380
- Ubuntu Error: dpkg: error processing package mysql-community-server (–configure):
- ros2 apt-get install error: E: Failed to fetch http://packages.ros.org…
- The request was rejected because the URL contained a potentially malicious String “//“
- CentOS/RHEL 7: How to Reinstall GRUB2 from Rescue Mode (EFI)
- Linux apt-get update Error: Error in `appstreamcli‘: double free or corruption … Aborted (core dumped)
- EasyConnect linux (ubuntu 20.04) Run Error [How to Solve]
- Server hardware and RAID configuration
- An error occurred during the signature verification in the ROS function pack warehouse
- nvm npm Error: segmentation fault [How to Solve]
- Error while loading error while loading shared libraries [How to Solve]
- [Solved] YUM Error: error: rpmdb: BDB0113 Thread/process 11498/140107732375616 failed
- Solve the problem of 404 Not Found error in nginx accessing dynamic interface
- Solutions to errors in installing xunsearch engine in centos8.0
- Problem solving / etc/ rc.local The boot entry of the file configuration is invalid