• Register
0 votes
1.2k 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 1.4K views
1.4K 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
1 answer 2 views
2 views
Problem: How to fix this error> The drive or unc share you selected does not exist or is not accessible
asked 6 days ago ummeshani 10.8k points
0 votes
2 answers 703 views
703 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 2 views
2 views
Problem: Does anyone grasp the problem? >Caused by: java.net.bindexception: address already in use
asked 1 day ago Chi Omega 13.6k points
0 votes
1 answer 6 views
6 views
Problem: When trying to send message I get sun.security.krb5.KrbException: no supported default etypes for default_tkt_enctypes. In my krb5.conf default_tkt_enctypes is defined to aes256-cts-hmac-sha1-96. I have tried to comment out that line in krb5.conf but then I get sun.security.krb5.Asn1Exception: Identifier doesn't match expected value (906). Any ideas how to fix this?
asked May 2 sumaiya simi 43.9k points
0 votes
1 answer 35 views
35 views
Problem: session: configured save path '' is not a directory, doesn't exist or cannot be created.
asked Feb 23 Muneeb Saadii 130k points
1 vote
1 answer 49 views
49 views
Problem: I need help understanding this error: the activity must be exported or contain an intent-filter. your server might not be configured to send mail using this method.
asked Mar 3 Muneeb Saadii 130k points
0 votes
1 answer 2 views
2 views
Problem: I'm trying to work out an answer but need help > Bad request this combination of host and port requires tls.
asked 3 days ago Isac Christiaan 7.6k points
0 votes
1 answer 731 views
731 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 9 views
9 views
Problem: I am migrating from Spring Boot 1.4.9 to Spring Boot 2.0 and also to Spring Security 5 and I am trying to do authenticate via OAuth 2. But I am getting this error: java.lang.IllegalArgumentException: There is no PasswordEncoder mapped for the id "null ... secret") .accessTokenValiditySeconds(1800); } } Please guide me with this issue. I have spend hours to fix this but not able to fix.
asked Apr 25 Moumita Bhowmick 12.9k points