注解本身没有功能的,就和 xml 一样。注解和 xml 都是一种元数据,元数据即解释数据的数据,这就是所谓配置。1、声明bean的注解@Compon置类相关注解@Bean .
报错信息:这个是跨域问题8082访问8080阻止了解决方案:在Controller类上架@Cro
1.在pom.文件中下载lombok的依赖 <!-- https://mvnrepository.com/artifact/org.projec
报错信息:PathVariable参数为空。Caused by: java.lang.IllegalStateException: PathVa
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号