Open subash89 opened 4 months ago
I use @Import(org.myapp.class) in my Micronaut-spring app class. And expect it to pickup the XGreetingController defined in the 3rd party jar.
Expect the api defined in 3rd party jar to be picked up and api should return 200ok response.
Two Projects springboot and micronautspring Zip springtomicronaut.zip
Invoke APIs
Reference code. Refer zip file for complete examples.
Controller defined in Micronaut spring app and doing an @Import as follows.
@SpringBootApplication // <1> @Import(org.myapp.XGreetingController.class) public class Application { public static void main(String... args) { Micronaut.run(Application.class); } }
Question is how to get micronautspring app to pickup/find the controller defined in the springboot app jar ?
JDK 21
No response
4.4.3
Expected Behavior
I use @Import(org.myapp.class) in my Micronaut-spring app class. And expect it to pickup the XGreetingController defined in the 3rd party jar.
Actual Behaviour
Expect the api defined in 3rd party jar to be picked up and api should return 200ok response.
Steps To Reproduce
Two Projects springboot and micronautspring Zip springtomicronaut.zip
Invoke APIs
Reference code. Refer zip file for complete examples.
Controller defined in Micronaut spring app and doing an @Import as follows.
Question is how to get micronautspring app to pickup/find the controller defined in the springboot app jar ?
Environment Information
JDK 21
Example Application
No response
Version
4.4.3