网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
@RestController注解相当于____+____组合在一起使用。
参考答案
更多 “ @RestController注解相当于____+____组合在一起使用。 ” 相关考题
考题
以下关于@SpringBootApplication注解及其内部注解说明错误的是()
A、@SpringBootApplication注解与@SpringBootConfiguration、@EnableAutoConfiguration和@ComponentScan组合注解等效B、@SpringBootConfiguration是Spring提供的配置类注解,表示其标注的类是IoC容器的配置类C、@EnableAutoConfiguration用于将所有符合自动配置的Bean加载到当前Spring Boot创建并使用的IoC容器中D、@ComponentScan:用于自动扫描和加载符合条件的组件或Bean
考题
@SpringBootApplication注解是一个组合注解,包括有()。
A、@SpringBootConfigurationB、@EnableAutoConfigurationC、@ComponentScanD、@Configuration
考题
4、在注解为中心的配置中,要让XML配置定义的Bean生效,应使用哪个注解导入XML配置?A.@ImportB.@ImportResourceC.@importD.@importResource
考题
【填空题】Spring MVC框架传入参数,使用注解__________。
热门标签
最新试卷