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

´º¼¾Ì¤Çàʱ½Ú£¬´ø±¦±¦³öÐÐÓÎÍæ¼ÇµÃ·À»¨¶¾£¡

·¢²¼Ê±¼ä£º2022-01-23 15:01 À´Ô´£º»¥ÁªÍø µã»÷£º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)
"С±àÕûÀí²»Ò×£¬Ð¡ÀñÎï×ßÒ»×ߣ¬Íò·Ö¸Ðл£¡"
ÔÞÉÍ
ƯÁÁÅ®È˽Ö

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

Ïà¹Ø×ÊѶ

С¶ùÏø´­ÓÃÄÄЩ°ì·¨¿ÉÒÔÖÎÁÆ
С¶ùÏø´­ÊÇÒ»ÖÖÖ§Æø¹Ü¹ýÃôÐÔ¼²² £µäÐͱíÏÖÊÇÆø¼±£¬ºíÖгöÏÖС¼¦½ÐÑùµÄÏøÃùÒô£¬²¢¶à°éÓпÈËÔ£¬Ìµ¶à¡£ÑÏÖØÕß²»ÄÜƽÎÔ£¬ºôÎüÀ§ÄÑ£¬Á½¼ç̧¸ß£¬Ê®·ÖÍ´¿à¡£»¹¿ÉÒòȱÑõµ¼Ö¿ڴ½·¢×Ï£¬Ö¸¼×·¢ç¤¡£·¢×÷¾­ÊýСʱÉõÖÁÊýÄ¿²ÅÖð½¥»
¿ÓÑÇóÖú··ÑÊÇÈçºÎÐÐÆ­µÄ
¿ÓÑÔÚÂÃÐÐÇ°¶¼»á×öºÃ³ä·ÖµÄ×¼±¸£¬°üÀ¨×ʽðµÄÅäÖõȣ¬²»¹ýÓÐЩ¿ÓÑÈ´ÔÚ·±ß¸ú·ÈËÇóÖú··Ñ£¬×îºó±»µ÷²é·¢ÏÖºóÊôÓÚÒ»ÖÖÆ­¾Ö£¬ÄÇô¿ÓÑÇóÖú··ÑÊÇÈçºÎÐÐÆ­µÄ?¿ÓÑÇóÖú··ÑÐÐÆ­¿ÉÒÔͨ¹ýÏÂÃæÄÚÈݽøÐÐÁ˽⡣½üÈÕ£¬¼ÇÕß΢
У³µ¸ú³µÀÏʦ°²È«ÔðÈÎϸÔò
Ϊ½øÒ»²½Ìá¸ßУ³µµÄ·þÎñÖÊÁ¿£¬Ã¿¸öУ³µ¶¼ÉèÓиú³µÀÏʦ¡£ºÜ¶àº¢×Ó¶¼²»ÖªµÀ¸ÃÈçºÎ³Ë×øУ³µ£¬Õâ¾ÍÓë¸ú³µÀÏʦÓÐ×ÅÖ±½ÓµÄ¹Øϵ¡£ÄÇô¸ú³µÀÏʦÊǸºÔðʲôµÄÄØ£¿Ð¡ÃæƯÁÁÅ®È˽ֽ«´ø´ó¼ÒÀ´Á˽âÒ»ÏÂУ³µ¸ú³µÀÏʦµÄÔðÈÎÃ÷ϸ¡£Îª
ʲôÊÇ·¿ÎÝ×âÁÞ
·¿ÎÝ×âÁÞÊг¡ÊÇ·¿µØ²úÊг¡µÄÖØÒª×é³É²¿·Ö£¬·¢Õ¹·¿ÎÝ×âÁÞÊг¡¶Ô½¡È«·¿µØ²úÊг¡ÌåϵÊÇÊ®·ÖÖØÒªµÄ¡£ÄÇô£¬Ê²Ã´ÊÇ·¿ÎÝ×âÁÞÄÇ£¿¾ÍÈÃƯÁÁÅ®È˽ֵÄС±àºÍÄãÒ»ÆðÈ¥Á˽âһϰɣ¡·¿ÎÝ×âÁÞ:ÓÉ·¿ÎݵÄËùÓÐÕß»ò¾­ÓªÕß½«ÆäËùÓлò¾­
ÂíÍ°³åË®»ØÔණÎ÷Ôõô°ì
ÏÖÔÚµÄÂíÍ°ºÜ¶à¶¼ÊÇ´øË®ÏäµÄ£¬ÕâÑùÒ»´ÎÐÔ³åË®µÄÁ¿ÊÇÓÐÏ޵ģ¬ÕâÑùÒ²¾ÍÈÝÒ׳öÏÖÒ»´Î³å²»¸É¾»µÄÇé¿ö£¬ÒªÊdzåÂíÍ°µÄʱºò»¹Íù»Ø·´ÔණÎ÷µÄ»°£¬¾Í¸ü²»ºÃ´¦ÀíÁË£¬ÒòΪºÜ¿ÉÄÜÂíÍ°ÓжÂÈûµÄÇé¿ö¡£ÄÇôÕâ¸öʱºò¸ÃÔõô°ìÄØ£¿ÂíÍ°
¶«Ý¸ÄÄÀï¿ÉÒÔÅÊÑÒ
µÚÒ»´Î½Ó´¥ÅÊÑÒ»òÕßÄãÊǵÚÒ»´Î½Ó´¥»§ÍâÅÊÑÒ£¬ÄÇô»¹ÊÇÕÒÒ»¸öÓо­Ñé¿¿µÃסµÄ»ï°é£¬»òÕßȥѧϰһÏÂרҵµÄ¼¼ÊõºÍ֪ʶ£¬»§ÍâɽÉϵÄʯͷ¿É²»ÏñÅÊÑÒ±ÚÉϵÄ×¥µãÄÇôÀι̣¬Èç¹ûÄã²»ÌýÈ°¸æÄÇôÄã¾Í²»ÊÇÔÚðÏÕ¶øÊDz»×ðÖØ×Ô¼ºµÄ