I want to create a custom page with error 404. I have speed in my classpath, but I do not want to use a converter with a speed of viewing Below is my code
@EnableAutoConfiguration(exclude={VelocityAutoConfiguration.class}) @ComponentScan public class Application { Properties props = new Properties(); public static void main(String[] args) { SpringApplication.run(Application.class, args); } }
I cannot redirect all 404 to my html directory in the resource directory.
Please, help
PS This works if I use speedresolver and have error.vm in the templates directory.
Thank you and welcome
source share