Andrewlong_lhl 2022-09-02 16:59 采纳率: 0%
浏览 39

springboot项目搭建问题

问题遇到的现象和发生背景

springboot项目

img

问题相关代码,请勿粘贴截图
2022-09-02 16:51:34,932 INFO  org.springframework.boot.StartupInfoLogger 50 logStarting - Starting TmallSpringBootApplication on DESKTOP-SQ62F1J with PID 12460 (E:\Java\ideaworkspace\Tmall_demo-master\target\classes started by 16927 in E:\Java\ideaworkspace\Tmall_demo-master)
2022-09-02 16:51:34,937 INFO  org.springframework.boot.SpringApplication 646 logStartupProfileInfo - No active profile set, falling back to default profiles: default
2022-09-02 16:51:36,053 INFO  org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 330 postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$82108f64] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-09-02 16:51:36,320 INFO  org.springframework.boot.web.embedded.tomcat.TomcatWebServer 90 initialize - Tomcat initialized with port(s): 8088 (http)
2022-09-02 16:51:36,345 INFO  org.apache.juli.logging.DirectJDKLog 173 log - Initializing ProtocolHandler ["http-nio-8088"]
2022-09-02 16:51:36,356 INFO  org.apache.juli.logging.DirectJDKLog 173 log - Starting service [Tomcat]
2022-09-02 16:51:36,357 INFO  org.apache.juli.logging.DirectJDKLog 173 log - Starting Servlet engine: [Apache Tomcat/9.0.21]
2022-09-02 16:51:36,614 INFO  org.apache.juli.logging.DirectJDKLog 173 log - At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2022-09-02 16:51:36,620 INFO  org.apache.juli.logging.DirectJDKLog 173 log - Initializing Spring embedded WebApplicationContext
2022-09-02 16:51:36,620 INFO  org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 283 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 1638 ms
2022-09-02 16:51:37,605 INFO  org.springframework.scheduling.concurrent.ExecutorConfigurationSupport 171 initialize - Initializing ExecutorService 'applicationTaskExecutor'
2022-09-02 16:51:38,149 INFO  org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver 58 <init> - Exposing 2 endpoint(s) beneath base path '/actuator'
2022-09-02 16:51:38,193 INFO  org.apache.juli.logging.DirectJDKLog 173 log - Starting ProtocolHandler ["http-nio-8088"]
2022-09-02 16:51:38,223 INFO  org.springframework.boot.web.embedded.tomcat.TomcatWebServer 202 start - Tomcat started on port(s): 8088 (http) with context path '/tmall'
2022-09-02 16:51:38,226 INFO  org.springframework.boot.StartupInfoLogger 59 logStarted - Started TmallSpringBootApplication in 3.551 seconds (JVM running for 5.298)
2022-09-02 16:51:39,370 INFO  com.zaxxer.hikari.HikariDataSource 110 getConnection - HikariPool-1 - Starting...
2022-09-02 16:51:39,370 INFO  org.apache.juli.logging.DirectJDKLog 173 log - Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-09-02 16:51:39,371 INFO  org.springframework.web.servlet.FrameworkServlet 524 initServletBean - Initializing Servlet 'dispatcherServlet'
2022-09-02 16:51:39,379 INFO  org.springframework.web.servlet.FrameworkServlet 546 initServletBean - Completed initialization in 8 ms
2022-09-02 16:51:39,538 INFO  com.zaxxer.hikari.HikariDataSource 123 getConnection - HikariPool-1 - Start completed.
运行结果及报错内容

运行正常,数据库连接正常。
后台访问;页面正常,登录报错

img

img

前台直接报错

img

我的解答思路和尝试过的方法

clean 之后重装无法解决问题

我想要达到的结果

能够正常访问

  • 写回答

2条回答 默认 最新

  • CSDN-Ada助手 CSDN-AI 官方账号 2022-09-02 17:05
    关注
    评论

报告相同问题?

问题事件

  • 创建了问题 9月2日

悬赏问题

  • ¥15 请提供一个符合要求的网页链接。
  • ¥20 用HslCommunication 连接欧姆龙 plc有时会连接失败。报异常为“未知错误”
  • ¥15 网络设备配置与管理这个该怎么弄
  • ¥20 机器学习能否像多层线性模型一样处理嵌套数据
  • ¥20 西门子S7-Graph,S7-300,梯形图
  • ¥50 用易语言http 访问不了网页
  • ¥50 safari浏览器fetch提交数据后数据丢失问题
  • ¥15 matlab不知道怎么改,求解答!!
  • ¥15 永磁直线电机的电流环pi调不出来
  • ¥15 用stata实现聚类的代码