• Register
0 votes
859 views

Problem :

I get the below error in my browser
template might not exist or might not be accessible by any of the configured template resolvers
6 5 3
6,930 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

The error is telling you that there is a conflict with login credentials. I think you should declare thymeleaf in the index.html . As follows:

e.g.    
<html xmlns="http://www.w3.org/1999/xhtml" 
xmlns:th="http://www.thymeleaf.org" 
xmlns:sec="http://www.thymeleaf.org/thymeleaf- extras-springsecurity3" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">

<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>k</title> 
</head>
If you follow above instructions then your issue will be resolved
9 7 4
38,600 points

Related questions

0 votes
1 answer 771 views
771 views
Problem : Currently I am trying to develop the REST API using the Spring Framework I am unable to run my application because of below error. Description: The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may ... this application to listen on another port. My 8080 port on my PC is seems to be busy. How can I fix this issue?
asked Feb 28, 2020 mphil 2.3k points
0 votes
2 answers 357 views
357 views
Problem : I want to run the spring-boot application which uses thre hibernate via spring-jpa, but i am facing below error: Caused by: org.hibernate.HibernateException: Access to DialectResolutionInfo ... .AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:345) at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:308)
asked Jan 3, 2020 alecxe 7.5k points
0 votes
1 answer 25 views
25 views
Problem: I just started learning programming from an UDEMY course but there are still some point which i an unclear about I want to ask method that how i can check that array is empty or doesnot exist what i need to do please tell me. The problem with me is I am not able to find the correct method to do it please guide step by step for this. Thanks in Advance.
asked Nov 10, 2020 Han Li 710 points
0 votes
1 answer 132 views
132 views
Problem: A(n) _____ might be written by a programmer or it might be created through a DBMS utility program?
asked Jul 23, 2020 conner 1.5k points
0 votes
1 answer 481 views
481 views
Problem : I am very new to Spring Boot. I am learning to write code in Spring Boot. I have written my first Spring Boot code as below @RequestMapping(value = "/bar/foo", method = RequestMethod.GET) public MyResponseEntity<foo> foo() { Foo model; ... return ... .core</groupId> <artifactId>jackson-databind</artifactId> <version>2.4.3</version> </dependency> How can I fix above Spring Boot exception?
asked Feb 29, 2020 mphil 2.3k points
0 votes
1 answer 123 views
123 views
Problem : My laptop is not connecting to any websites any more. It says: 'Cannot securely connect to this page. This might be because the site uses outdated or unsafe TLS security settings. If this keeps happening, try contacting the website's owner.' But it does happen for ... in my laptop. I haven't done any changes to them and don&rsquo;t know how to. Can anyone help in resolving this strange?
asked Jan 23, 2020 jwilliam 3.9k points
1 vote
1 answer 64 views
64 views
Problem : I have recently started to learn the GIT. I was working on my GIT and suddenly I started facing below error. &ldquo;Fatal: not a git repository (or any of the parent directories): .git&rdquo; As I am very new to GIT so I am unable to understand above error ... the error from past couple of days but unable to fix it. Is there anyone who can spare some time and guide me to fix above error?
asked Mar 30, 2020 morrisBson 3.2k points
0 votes
1 answer 2.9K views
2.9K views
Problem : I need to build the Spring-Boot *.war with maven, but I keep facing below error: [WARNING] The requested profile "pom.xml" could not be activated because it does not exist. After completely running the mvn: clean. After the success my ... : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project webconsultas: Fatal error compiling
asked Dec 24, 2019 alecxe 7.5k points
0 votes
1 answer 11 views
11 views
Problems: Is it possible to declare a certain function foo() as toString like this? int property 1; int property 2; int property 3; boolean bar() {...} int foo(){ return bar() ? 0 : property2; } @Override public String toString() { return String.valueOf( ... want to replace the toString() with a Lombok annotation. Which has the same output as the current one. is this somehow possible with Lombok?
asked Sep 14, 2020 Marivoke 530 points
0 votes
1 answer 27 views
27 views
Problem: I have already seen many questions asked around the error which I am facing. But available solutions are not working for me. It may be the case that I am yet to thoroughly understand a auto wiring concept. I am able to navigate to the required page, ... least 1 bean which qualifies as autowire candidate. Now I am completely confused. Hope someone can try to help me out with this error.
asked Aug 8, 2020 Raphael Pacheco 4.9k points