Question: Question 6 In the following code which annotation can be used to replace the @Configuration, ( i ) EnableAutoconfiguration and GComponentScan annotations? 1 econfiguration 2
Question
In the following code which annotation can be used to replace the @Configuration,
iEnableAutoconfiguration and GComponentScan annotations?
econfiguration
eEnableAutoconfiguration
ecamponentscan
public class SpringApplication
s i
public static void mainString args
i
B SpringTestApplication app new
SpringTestApplicationSpringApplicationclass;
@Controller
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
