Issues with taglibs while using jasmine-maven-plugin to test dojo widgets with templates
- by user2880454
I am using jasmine-maven-plugin to run javascript unit tests for my dojo widgets. One of my dojo widgets refers to a html template jsp file with taglibs. When I initialize my dojo widgets, I get the following error:
Error: Invalid template: <%@ taglib uri="http://www.springframework.org/security/tags"
prefix="sec"%
The plugin uses jetty to deploy the scripts to test. I tried including jstl jar into the WEB-INF folder but it doesn't work. I am assuming it's just not DOJO and this taglib issue can occur even with simple js file. I am looking for some clue on why taglibs are not recognized here. If I remove the taglib entries, my tests just work fine.