RSS
处理模板时发生错误。
The following has evaluated to null or missing:
==> serviceLocator.findService('com.liferay.blogs.service.BlogsEntryService')  [in template "34298#34324#37081" at line 2, column 30]

----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign blogsEntryService = serviceLo...  [in template "34298#34324#37081" at line 2, column 1]
----
1<#assign dlFileEntryService = serviceLocator.findService('com.liferay.document.library.kernel.service.DLFileEntryService')/>  
2<#assign blogsEntryService = serviceLocator.findService('com.liferay.blogs.service.BlogsEntryService')> 
3 
4<#setting url_escaping_charset='UTF-8'/> 
5 
6<#if request.getParameter("noticia")??> 
7    <#if entries?has_content>  
8        <#list entries as curPrincipalBlogEntry> 
9            <#if request.getParameter("noticia") == curPrincipalBlogEntry.entryId?c> 
10                <#assign blogsEntry = blogsEntryService.getEntry(request.getParameter("noticia")?number?long)> 
11                <#assign DLFileEntryPrincipal = dlFileEntryService.getFileEntry(blogsEntry.getCoverImageFileEntryId())> 
12                <#assign folderImgPrincipal = DLFileEntryPrincipal.getFolder()> 
13                <div class="main-news-container col-md-12"> 
14                    <div class="big-news col-md-12"> 
15                        <div class="news-col"> 
16                        <h2> ${blogsEntry.getTitle()} </h2> 
17                        <img width="528px" height="392px" src="/documents/${folderImgPrincipal.getRepositoryId()}/${folderImgPrincipal.getFolderId()}/${htmlUtil.escapeURL(DLFileEntryPrincipal.getFileName())}" style="height:250px !important;object-fit: cover;"/> 
18                        </div> 
19                        <div class="detail_content"><p> ${blogsEntry.getContent()}</p></div> 
20                    </div> 
21                    <div class="ssba ssba-wrap"><div style="text-align:right"><a data-site="" class="ssba_facebook_share" href="http://www.facebook.com/sharer.php?u=${currentURL}" target="_blank"><img src="/documents/34320/0/facebook-icon.png/3c345c73-c499-75f3-c4f9-76d58c6896f9?t=1586284425942" title="Facebook" class="ssba ssba-img" alt="Share on Facebook"></a><a data-site="" class="ssba_twitter_share" href="http://twitter.com/share?url=${currentURL}" target="_blank"><img src="/documents/34320/0/twitter-icon.png/d6e48dd5-b18a-5391-475f-3efe379e813f?t=1586284408819" title="Twitter" class="ssba ssba-img" alt="Tweet about this on Twitter"></a></div></div> 
22                </div> 
23            </#if> 
24        </#list> 
25</div> 
26    </#if> 
27</#if> 
28 
29<script> 
30 
31</script> 
32<style> 
33.big-news h2 { 
34    padding: 30px 0 10px 0; 
35    font-size: 35px; 
36    font-weight: 200; 
37    color: white; 
38    background: #084168; 
39    text-align: center; 
40    font-family: 'Gotham Light'; 
41    text-transform: uppercase; 
42
43 
44.big-news img { 
45    width: 100%; 
46    height: 200px; 
47    object-fit: contain; 
48    text-align: center; 
49
50.detail_content { 
51    font-size: 14px; 
52    font-weight: 300; 
53    line-height: 25px; 
54    font-family: 'Gotham Book'; 
55
56 
57.ssba, .ssba a { 
58    text-decoration: none; 
59    border: 0; 
60    background: none; 
61    font-family: Indie Flower; 
62    font-size: 20px; 
63    font-weight: bold; 
64    margin: 2px; 
65
66.single-post .ssba { 
67    float: right; 
68
69.big-news img { 
70    width: 100%; 
71    height: auto; 
72
73 
74section#portlet_com_liferay_blogs_web_portlet_BlogsPortlet .btn.btn-outline-borderless.btn-outline-secondary.btn-sm{ 
75    display:none; 
76
77.big-news { 
78    background: #f7fcff; 
79    padding: 20px; 
80    margin-top: -40px; 
81
82.pagination-bar{ 
83    display:none !important; 
84
85img.ssba.ssba-img[title="Facebook"], img.ssba.ssba-img[title="Twitter"] { 
86    width: 30px; 
87
88</style>