jeecgboot / JeecgBoot

🔥「企业级低代码平台」前后端分离架构SpringBoot 2.x/3.x,SpringCloud,Ant Design&Vue3,Mybatis,Shiro,JWT。强大的代码生成器让前后端代码一键生成,无需写任何代码! 引领新的开发模式OnlineCoding->代码生成->手工MERGE,帮助Java项目解决70%重复工作,让开发更关注业务,既能快速提高效率,帮助公司节省成本,同时又不失灵活性。
http://www.jeecg.com
Apache License 2.0
40.28k stars 14.74k forks source link

spring3版本xxl-job-admin启动正常,登录后空白 #5855

Closed cometzhao closed 8 months ago

cometzhao commented 8 months ago
版本号:

spring3版本xxl-job-admin启动正常,登录界面也显示,输入用户名密码登录后页面空白,控制台有错误日志

前端版本:vue3版?还是 vue2版?

Vue

问题描述:

启动正常,登录后空白,控制台有错误日志

截图&代码:

image

友情提示(为了提高issue处理效率):

zhangdaiscott commented 8 months ago

按要求补充

cometzhao commented 8 months ago

spring3分支,vue3版本。错误日志: . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _ | \ \ \ \ \/ _)| |)| | | | | || (| | ) ) ) ) ' |__| .|| ||| |\, | / / / / =========|_|==============|__/=//// :: Spring Boot :: (v3.1.5)

15:21:06.285 logback [main] INFO c.x.job.admin.XxlJobAdminApplication - Starting XxlJobAdminApplication using Java 17.0.9 with PID 42168 (D:\wwwroot\intco-boot3\intcoboot-springboot3\jeecg-server-cloud\jeecg-visual\jeecg-cloud-xxljob\target\classes started by R00005563 in D:\wwwroot\intco-boot3\intcoboot-springboot3) 15:21:06.287 logback [main] INFO c.x.job.admin.XxlJobAdminApplication - No active profile set, falling back to 1 default profile: "default" 15:21:07.554 logback [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 9080 (http) 15:21:07.560 logback [main] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-9080"] 15:21:07.561 logback [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat] 15:21:07.561 logback [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.15] 15:21:07.623 logback [main] INFO o.a.c.c.C.[.[.[/xxl-job-admin] - Initializing Spring embedded WebApplicationContext 15:21:07.623 logback [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 1113 ms 15:21:07.952 logback [main] INFO c.x.j.a.c.scheduler.XxlJobScheduler - >>>>>>>>> init xxl-job admin success. 15:21:07.963 logback [xxl-job, admin JobFailMonitorHelper] INFO com.zaxxer.hikari.HikariDataSource - HikariCP - Starting... 15:21:08.063 logback [main] INFO o.s.b.a.w.s.WelcomePageHandlerMapping - Adding welcome page template: index 15:21:08.209 logback [xxl-job, admin JobFailMonitorHelper] INFO com.zaxxer.hikari.pool.HikariPool - HikariCP - Added connection com.mysql.cj.jdbc.ConnectionImpl@4b47cc0f 15:21:08.214 logback [xxl-job, admin JobFailMonitorHelper] INFO com.zaxxer.hikari.HikariDataSource - HikariCP - Start completed. 15:21:08.483 logback [main] INFO o.s.b.a.e.web.EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' 15:21:08.529 logback [main] INFO o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-9080"] 15:21:08.544 logback [main] INFO o.a.c.c.C.[.[.[/xxl-job-admin] - Initializing Spring DispatcherServlet 'dispatcherServlet' 15:21:08.545 logback [main] INFO o.s.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet' 15:21:08.546 logback [main] INFO o.s.web.servlet.DispatcherServlet - Completed initialization in 1 ms 15:21:08.547 logback [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 9080 (http) with context path '/xxl-job-admin' 15:21:08.556 logback [main] INFO c.x.job.admin.XxlJobAdminApplication - Started XxlJobAdminApplication in 2.601 seconds (process running for 3.142) 15:21:12.001 logback [xxl-job, admin JobScheduleHelper#scheduleThread] INFO c.x.j.a.c.thread.JobScheduleHelper - >>>>>>>>> init xxl-job admin scheduler success. 15:21:29.214 logback [http-nio-9080-exec-1] ERROR freemarker.runtime - Error executing FreeMarker template freemarker.core.InvalidReferenceException: The following has evaluated to null or missing: ==> Request [in template "common/common.macro.ftl" at line 87, column 54]


Tip: If the failing expression is known to 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):


Tip: If the failing expression is known to 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):


Tip: If the failing expression is known to 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):

sdd-bob commented 7 months ago

我也遇到了这个问题给,把freemarker中获取参数的改下就好了 image