Can not find the tag library descriptor of springframework

后端 未结 14 2032
一向
一向 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 08:02

    I had the same issue with weblogic 12c and maven I initially while deploying from eclipse (kepler) (deploying from the console gave no errors).

    The other solutions given on this page didn't help.

    I extracted the spring.tld spring-form.tld files of the spring-webmvc jar (which I found in my repository) in the web\WEB-INF folder of my war module;

    I did a fresh build; deployed (from eclipse) into weblogic 12c, tested the application and the error was gone;

    I removed the spring.tld spring-form.tld files again and after deleting; rebuilding and redeploying the application the error didn't show up again.

    I double checked whether the files were gone in the war and they were indeed not present.

    hope this helps others with a similar issue...

提交回复
热议问题