This week's book giveaway is in the Cloud forum.
We're giving away four copies of The Business Blockchain and have William Mougayar on-line!
See this thread for details.
Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tag doesnt seem to be getting loaded

 
Ben Synes
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since I done a recent git pull on my project, for some reason now Im getting an error when starting Tomcat and rendering the index.jsp, but I dont understand whats changed, as this was working before.

The error:


The index.jsp:


The web.xml:


I really am unsure as to why this has stopped working, I even rolled back to an earlier commit and this was definitely working before, but I havent changed anything, which is why Im very confused?

Initially when you start Tomcat is shows another error in the browser, but on a refresh its a null on this tag library?

Any help appreciated.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make it easy on yourself and ditch the configuration in the web.xml. Just define a valid URI in the tag libraries (be sure to follow the rules for URIs), place the libraries in lib, and then reference them from the page by URI. They should automatically hook up without the need for configuration.

In my opinion, allowing faux URIs using partial file paths was a mistake in the specification.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic