µ±Ç°Î»ÖãºÖ÷Ò³ > ֪ʶ°Ù¿Æ > Éú»î°Ù¿Æ > ÕýÎÄ

º¢×ÓÊÜίÇü¸ø¸ö¡°Ðܱ§¡±£¬Óµ±§Ëõ¶ÌÇ××Ó¾àÀë

·¢²¼Ê±¼ä£º2022-01-23 15:25 À´Ô´£º»¥ÁªÍø µã»÷£º0´Î
º¢×ÓÊÜίÇü¸ø¸ö¡°Ðܱ§¡±£¬Óµ±§Ëõ¶ÌÇ××Ó¾àÀë_ƯÁÁÅ®ÈË½Ö publicUtil [in template "zhishi/changshi_nr.ftl" at line 7, column 45]Tip: If the failing expression is known to be legally null/missing, either specif
º¢×ÓÊÜίÇü¸ø¸ö¡°Ðܱ§¡±£¬Óµ±§Ëõ¶ÌÇ××Ó¾àÀë_ƯÁÁÅ®ÈË½Ö when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)?? The failing instruction (FTL stack trace): ---------- ==> ${publicUtil.getOnlyworld(tknow.summa... [in template "zhishi/changshi_nr.ftl" at line 7, column 43] ---------- Java stack trace (for programmers): ---------- freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...] at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:98) at freemarker.core.UnexpectedTypeException.newDesciptionBuilder(UnexpectedTypeException.java:41) at freemarker.core.UnexpectedTypeException.(UnexpectedTypeException.java:24) at freemarker.core.Dot._eval(Dot.java:81) at freemarker.core.Expression.eval(Expression.java:111) at freemarker.core.MethodCall._eval(MethodCall.java:91) at freemarker.core.Expression.eval(Expression.java:111) at freemarker.core.DefaultToExpression._eval(DefaultToExpression.java:116) at freemarker.core.Expression.eval(Expression.java:111) at freemarker.core.Expression.evalAndCoerceToString(Expression.java:115) at freemarker.core.DollarVariable.accept(DollarVariable.java:76) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.MixedContent.accept(MixedContent.java:93) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.Environment.process(Environment.java:243) at freemarker.template.Template.process(Template.java:277) at org.springframework.web.servlet.view.freemarker.FreeMarkerView.processTemplate(FreeMarkerView.java:366) at org.springframework.web.servlet.view.freemarker.FreeMarkerView.doRender(FreeMarkerView.java:283) at org.springframework.web.servlet.view.freemarker.FreeMarkerView.renderMergedTemplateModel(FreeMarkerView.java:233) at org.springframework.web.servlet.view.AbstractTemplateView.renderMergedOutputModel(AbstractTemplateView.java:167) at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250) at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1047) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:817) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.modu.secure.html.filter.CacheFilter.doFilter(CacheFilter.java:88) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.modu.secure.util.AppUrlFilter.sendMsite(AppUrlFilter.java:348) at com.modu.secure.util.AppUrlFilter.doFilter(AppUrlFilter.java:141) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:748)
"С±àÕûÀí²»Ò×£¬Ð¡ÀñÎï×ßÒ»×ߣ¬Íò·Ö¸Ðл£¡"
ÔÞÉÍ
ƯÁÁÅ®È˽Ö

Õæ³ÏÔÞÉÍ£¬ÊÖÁôÓàÏã

Ïà¹Ø×ÊѶ

Ò°ÍâÓÎÓ¾ÓÐÄÄЩעÒâÊÂÏî
ÏÖÈç½ñÌìÆøÖð½¥±äÈÈ£¬¿ÉÒÔ˵ÊÇÒ°ÍâÓÎÓ¾ÀíÏëµÄʱ¼ä¶Î£¬ÓÈÆäÊÇÐÂÊÖÅóÓÑ£¬¿´µ½Ò°ÍâÓÎÓ¾Ëù´øÀ´µÄ´Ì¼¤ÐÔÖ®ºó£¬·×·×¶¼ÏëҪȥ³¢ÊÔÏ¡£²»¹ýÏëÒªÔÚÒ°ÍâÓÎÓ¾£¬ÐèÒªÁ˽âºÜ¶àµÄÊÂÏÏÂÃæ¸úС±àÒ»ÆðÀ´¿´¿´£¬Ò°ÍâÓÎÓ¾ÓÐÄÄЩעÒâÊÂ
¾ÆµêÂÒ±ê¼ÛÈçºÎÀ´´¦·£
ÔÚÊг¡½»Ò×ÖУ¬³ÏÐÅÎÊÌâÔ½À´Ô½ÒýÆðÈËÃǵĸ߶ÈÖØÊÓ¡£ÄÇô£¬¾ÆµêÂÒ±ê¼ÛÈçºÎÀ´´¦·£ÄÇ£¿¾ÍÈÃƯÁÁÅ®È˽ֵÄС±àºÍÄãÒ»ÆðÈ¥Á˽âһϰɣ¡¾ÆµêÂÒ±ê¼ÛÈçºÎÀ´´¦·££º½üÆÚ£¬¸÷Ê¡Ïà¼ÌÍƳö¾Æµê¿Í·¿Ã÷Âë±ê¼Û¹ÜÀíÐÂÕþ£¬¶Ô±ö¹Ý¡¢¾Æµê¡¢
õ׹ؽÚŤÉËÊÇÀä·ó»¹ÊÇÈÈ·ó
õ׹ؽÚŤÉËÊÇÁÙ´²³£¼ûµÄ¼²²¡£¬Ôڹؽڼ°ÈÍ´øËðÉËÖÐÊÇ·¢²¡ÂÊ×î¸ßµÄ¼²² £õ׹ؽÚÊÇÈËÌå¾àÀëµØÃæ×î½üµÄ¸ºÖعؽڣ¬Ò²¾ÍÊÇ˵õ׹ؽÚÊÇÈ«Éí¸ºÖØ×î¶àµÄ¹Ø½Ú¡£ÄÇôõ׹ؽÚŤÉËÊÇÀä·ó»¹ÊÇÈÈ·óºÃÄØ£¿ÏÂÃæ¾ÍÒ»ÆðËæƯÁÁÅ®È˽ÖС±àÀ´Á
¹ýÃôÐÔÏø´­¸ÃÔõÑù¼±¾È
¹ýÃôÐÔÏø´­ÊÇÒ»ÖֱȽÏÍç¹ÌµÄ¼²²¡£¬¶àÔÚÓ¤Ó׶ùÆÚ·¢²¡£¬Èç¹ûºöÊÓÖÎÁÆ£¬¿ÉÒÔ°éËæÖÕÉí¡£´ó²¿·ÖÏø´­»¼Õ߶¼´æÔÚ¹ýÃôÏÖÏó»òÕßÓйýÃôÐÔ±ÇÑ×£¬ÓйýÃôÐÔ±ÇÑ×µÄÏø´­»¼Õß·¢²¡Ç°Õ×»áÓдòÅçÌç¡¢Á÷±ÇÌé¡¢±ÇÑ÷¡¢ÑÛÑ÷¡¢Á÷ÀáµÈÖ¢×´¡£ÓÉ
ÄÐÐÔÔÚ·¿ÊÂÖÐÎÞ·¨²ªÆðÓ¦¸ÃÈçºÎÖÎÁÆÄØ
ÔÚÎÒÃǵÄÉú»îÖУ¬ÐÔ°®·¢»ÓÁËÎÞ¿ÉÌæ´úµÄ×÷Óã¬ËüÊÇ×ÔÈ»½çÖÐ×î»ù±¾µÄ·¨Ôò£¬Êǹ¹³ÉÕâ¸öÉç»áÐÎ̬µÄÖØÒªÔªËØ£¬ÊÇËüÁîÉú»î¸üÃÀºÃ£¬Áî¼ÒÍ¥¸üºÍÄÀ¡£ËùÒÔ£¬»ñµÃ¼«Ö¡¢ÍêÃÀµÄÐÔ°®ÌåÑéÊÇÈËÃÇ×îԭʼµÄ×·Ç󣬵«ÊÇÔÚÉú»îÖУ¬ÓкÜ
ʲôÊÇÉúÀíÐÔ²¡º¦
Ö²Îﲡº¦µÄ·¢ÉúºÍÁ÷ÐУ¬³ý×ÔÈ»ÒòËØÍ⣬³£Óë´óËÁ¿ª¿ÑÖ²±»¡¢Ã¤Ä¿ÁÔÈ¡ÉúÎï×ÊÔ´¡¢¹¤ÒµÎÛȾÒÔ¼°Å©Òµ´ëÊ©²»µ±µÈÈËΪÒòËØÓйأ¬Ò»¶¨ÒªÒýÆðÏà¹Ø²¿ÃŵÄÖØÊÓ£¬ÄÇÈçºÎ·ÀÖÎÖ²Îﲡº¦ÄØ£¿ÏûÃð²¡Ô­Îï»òÒÖÖÆÆä·¢ÉúÓëÂûÑÓ;Ìá¸ß¼ÄÉúÖ²