Skip to content

Spring Boot注入内存马失败 #28

@Und3r1ine

Description

@Und3r1ine

spring boot的版本

<parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.7.14</version>
        <relativePath/> <!-- lookup parent from repository -->
    </parent>

spring boot中tomcat的版本是:tomcat-embed-core-9.0.78.jar

控制台报错信息是:

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.ClassCastException: org.apache.logging.h.JSONUtil cannot be cast to org.springframework.web.servlet.HandlerInterceptor

org.apache.logging.h.JSONUtil是生成的注入器类名

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions