Skip to content

Cast exception when start spring container  #225

Closed
@isczh

Description

@isczh
  • Framework version: 1.3
  • Implementations: Spring

Scenario

https://github.com/awslabs/aws-serverless-java-container/blob/97f4d3034ef9a84db0950ef36f248817a3618121/aws-serverless-java-container-spring/src/main/java/com/amazonaws/serverless/proxy/spring/LambdaSpringApplicationInitializer.java#L146

This listener will also listen refresh event and cause a cast exception. Even though it can be catch by spring 5(leave a debug log), but in lower version will cause error. And I think servletRequestHandledEvent is not invoked, we don't have to cast it here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions