• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Tag doesnt seem to be getting loaded

 
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.
 
Sheriff
Posts: 67269
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!