• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error when using <html xmlns:th="http://thymeleaf.org">  RSS feed

 
Arend van der Kolk
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am following a java video tutorial. One part is to set up the html registration page.

My problem is that i keep getting this error on line 2 in my Spring Tool Suite IDE when creating the "register.html" page. Also line 31 "</form> gives a warning. See attachment for Errors.

Any idea what i am missing?





error.PNG
[Thumbnail for error.PNG]"/>
Error
 
Ron McLeod
Bartender
Posts: 1602
232
Android Angular Framework Eclipse IDE Java Linux MySQL Database Redhat TypeScript
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In your image, you point to a red circle and a yellow triangle in the IDE, but don't mention what the associated with error and warning messages are.
 
Ron McLeod
Bartender
Posts: 1602
232
Android Angular Framework Eclipse IDE Java Linux MySQL Database Redhat TypeScript
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the namespace URI correct?  Should it be http://www.thymeleaf.org rather than http://thymeleaf.org?
 
Arend van der Kolk
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ron,

you are right, it doesn't actually generate an error message but the red symbol normally indicates a compile time error in the IDE.

I just cut and paste back the entire code block and the red mark at the top and the warning symbol on the bottom are now gone.

just an IDE bug i guess.

thank you for your response.

Arend
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!