Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Fix MissingTypeException in petclinic-jdbc tests #496

Closed

Description

@sdeleuze
[ERROR] Could not generate source files: org.springframework.nativex.type.MissingTypeException: Unable to find class file for org/springframework/samples/petclinic/service/ClinicServiceTests$TestClinicConfiguration

org.springframework.nativex.type.MissingTypeException: Unable to find class file for org/springframework/samples/petclinic/service/ClinicServiceTests$TestClinicConfiguration
    at org.springframework.nativex.type.TypeSystem.resolveSlashed (TypeSystem.java:214)
    at org.springframework.nativex.type.TypeSystem.resolveSlashed (TypeSystem.java:175)
    at org.springframework.nativex.type.TypeSystem.resolveDotted (TypeSystem.java:145)
    at org.springframework.nativex.support.ResourcesHandler.processSpringComponent (ResourcesHandler.java:326)
    at org.springframework.nativex.support.ResourcesHandler.processSpringComponents (ResourcesHandler.java:305)
    at org.springframework.nativex.support.ResourcesHandler.handleSpringComponents (ResourcesHandler.java:211)
    at org.springframework.nativex.support.ResourcesHandler.register (ResourcesHandler.java:105)
    at org.springframework.nativex.support.SpringAnalyzer.analyze (SpringAnalyzer.java:73)
    at org.springframework.aot.nativex.ConfigurationContributor.contribute (ConfigurationContributor.java:49)
    at org.springframework.aot.BootstrapCodeGenerator.generate (BootstrapCodeGenerator.java:69)
    at org.springframework.aot.maven.GenerateMojo.execute (GenerateMojo.java:44)

Activity

  1. added this to the 0.9.0 milestone on Feb 21, 2021
  2. sdeleuze commented on Feb 22, 2021

    @sdeleuze
    ContributorAuthor

    After a deeper looks sounds like an issue in TypeSystem with static nested class. If I remove static, the error is gone (but the test fails). Could you please give it a look @aclement?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type: bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions