When I add XO to my live website in 9.5 I need to register smarttarget tags according to this link. However, then I get the following exception in logs:
Msg: Error while looking for TLD file for "http://www.sdl.com/smarttarget/2.0"; see cause exception.
FTL stack trace ("~" means nesting-related):
- Failed at: #assign smarttarget = JspTaglibs["htt... [in template "40/tcm:40-xxxxx/tcm:40-xxx-32/not_mobile" at line 1137, column 17] [END]
freemarker.template.TemplateModelException: Error while looking for TLD file for "http://www.sdl.com/smarttarget/2.0"; see cause exception.
FTL stack trace ("~" means nesting-related):
- Failed at: #assign smarttarget = JspTaglibs["htt... [in template "40/tcm:40-xxxxx/tcm:40-xxx-32/not_mobile" at line 1137, column 17]
at freemarker.ext.jsp.TaglibFactory.get(TaglibFactory.java:246)
However, in 8.5 I used smarttarget.tld file to add it locally in my app and reference it from there, but in 9.5 installation it is not there.
Old tld file for 8.5 is not working because some classes are removed in later versions so using that causes missing class exception.
Does anyone has any idea where to find new smarttarget.tld file, or how to reference it in java app?