Can not find the tag library descriptor of springframework

后端 未结 14 1995
一向
一向 2020-11-30 07:10

I\'m trying to follow the example of spring JPetStore but I get an error in the JSP pages in the line that references the lib tag spring:

Can not find the ta

14条回答
  •  [愿得一人]
    2020-11-30 07:58

    Here is another case.

    We have several portlets in different portlet application war and all of them use spring. So in order to reduce size of each war, we have created shared libraries for spring jars in the WebSphere Portal server.

    However, I came across the same issue as above of not having the spring form tags being referred from the jsp files.

    In order to resolve, I have copied the spring-form.tld file into the WEB-INF/ directory and redeployed the war and it worked.

    Hope it helps for anyone having a similar issue as mine.

提交回复
热议问题