java - Resources in JAR not properly resolved within IntelliJ -
i have freemarker ftl template file included taglibs in intellij project. problem jsptaglibs not resolved within intellij. error highlights text jsptaglibs
, error message "cannot resolve variable 'jsptaglibs'". file contents follows:
<#assign page=jsptaglibs["/web-inf/taglibs/sitemesh-page.tld"]> <#assign decorator=jsptaglibs["/web-inf/taglibs/sitemesh-decorator.tld"]> <#assign security=jsptaglibs["/web-inf/taglibs/security.tld"]>
this imported maven project. included ftl found within compiled jar file include content root within web module.
any thoughts on resolving 'jsptaglibs' auto-completion , verification can enabled freemarker tags?
as turns out solution add resource folder sources directory within library , not content root in module. jar had been in library, included dependency, specific directory needed added sources folder.
Comments
Post a Comment