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

Fix MissingTypeException in petclinic-jdbc tests #496

Closed
sdeleuze opened this issue Feb 21, 2021 · 1 comment
Closed

Fix MissingTypeException in petclinic-jdbc tests #496

sdeleuze opened this issue Feb 21, 2021 · 1 comment
Assignees
Labels
type: bug A general bug
Milestone

Comments

@sdeleuze
Copy link
Contributor

sdeleuze commented Feb 21, 2021

[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)

@sdeleuze sdeleuze added this to the 0.9.0 milestone Feb 21, 2021
@sdeleuze sdeleuze assigned bclozel and aclement and unassigned bclozel Feb 21, 2021
@sdeleuze
Copy link
Contributor Author

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug A general bug
Development

No branches or pull requests

3 participants