freemarker - untime - Template processing error: "No mapping defined for spring framework tags -
my current development environment java 6, spring framework 3.2, weblogic 10.3.6 , using freemarker templates. working fine in current environment, don't see runtime issues while browsing pages.
ide: eclipse kepler 4.3 , running weblogic server eclipse ide. deployment assembly m2e plugin comes kepler.
now upgrading latest weblogic 12.1.2 , java 7. able build, deploy , publish module while accessing pages, see runtime issues freemarker templates.
there related issue discussed in forum tomcat deployment wherein solution add spring-security-taglibs pom file , place spring-security-taglibs.jar in web-inf/lib folder. not work me.
greatly appreciate in resolving issue. see many freemarker template exception related postings not solution.
below runtime error, seeing.
2013-09-23 14:16:30,696 [[active] executethread: '0' queue: 'weblogic.kernel.default (self-tuning)'] error freemarker.runtime - template processing error: "no mapping defined http://www.springframework.org/tags"
the problematic instruction:
java backtrace programmers:
freemarker.template.templatemodelexception: no mapping defined http://www.springframework.org/tags
sounds freemarker's jsp extension haven't discovered tld file contains <uri>http://www.springframework.org/tags</uri>
. looks under /web-inf/*.tld
, /web-inf/lib/*.{jar,zip}/meta-inf/*.tld
. if it's not there , don't want put there, can map url tld file location in web.xml
taglib
element.
Comments
Post a Comment