How to solve Tag libs not found error on Webshpere.

Webshpere throws tag lib not found error like the one given below, when you use shared lib. JSPG0047E: Unable to locate tag library for uri

However solution to the problem is very simple. two ways you could apply here for the solution.

  1. Include the .jar file containing the .tld taglib in the lib directory (you may leave it placed on shared lib as well). In my case I included spring-webmvc-4.1.1.RELEASE to lib folder.
  2. Extract the jar file containing the taglib and put the .tld files in a folder and put entries in web.xml. here is an example. <taglib>

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: