Question: In the following code which annotation can be used to repiace the @Configuration. elepest Contriller CEnabieAutoconfiguration and ( i ) ComponentScan annotations? 1 econfiguration 2
In the following code which annotation can be used to repiace the @Configuration.
elepest Contriller
CEnabieAutoconfiguration and i ComponentScan annotations?
econfiguration
eenableAutoconfiguration
ecamponentscan
public class SpringApplication
public static void mainString args
SpringTestApplication app new
SpringTestApplicationSpringApplicationclass;
@ RequestiMapping
app.runargs;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
