Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV

后端 未结 4 1837
走了就别回头了
走了就别回头了 2021-01-05 02:12

So I was working with JSTL in OSGi, under Gemini runtime. And I\'m getting following exception, when I try to access the url to my servlet: -

SE         


        
4条回答
  •  旧巷少年郎
    2021-01-05 02:41

    I upgraded from Tomcat 8 to Tomcat 9, which has 125: jstl.jar,taglibs-standard-spec-*.jar, in its catalina.properties. Does this mean that jstl is preinstalled, unlike tomcat 8 where jstl 1.2 was needed in the build.gradle ?

    Since I had to remove the following lines to get it working

    //compile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.0'
    //compile group: 'javax.servlet.jsp.jstl', name: 'jstl', version: '1.2'
    

    If my answer is incorrect, please let me know I am happy to delete it. Since @BalusC answer gave me the clue.

提交回复
热议问题