Issues with taglibs while using jasmine-maven-plugin to test dojo widgets with templates

Posted by user2880454 on Stack Overflow See other posts from Stack Overflow or by user2880454
Published on 2013-10-24T03:49:15Z Indexed on 2013/10/24 3:53 UTC
Read the original article Hit count: 241

Filed under:
|

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.

© Stack Overflow or respective owner

Related posts about jasmine

Related posts about taglib