How can I cope with a circular view path error?
package com.example.PrinterManager;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
@Controller
public class ControllerPrinter {
@GetMapping("/home")
public String getHomePage() {
return "home"; // Breakpoint.
}
}
The interpreter stops at the breakpoint. But then the error occurs.
As for the template, it is here (visible in the picture)
PrinterManager\src\main\resources\templates\home.html