前言 APT:Annotation Processor Tool(注解处理器) 什么时注解处理器 注解处理器是(Annotation Processor) 是Javac的一个工具,其作用在编译期间,用来处理加了注解的代码,其会扫描编译其的源码获得加了特定注解的目标代码;注解处理器的输入数据为: 1、 ...
分类:
其他好文 时间:
2020-01-10 12:29:08
阅读次数:
93
前言 APT:Annotation Processor Tool(注解处理器) 什么时注解处理器 注解处理器是(Annotation Processor) 是Javac的一个工具,其作用在编译期间,用来处理加了注解的代码,其会扫描编译其的源码获得加了特定注解的目标代码;注解处理器的输入数据为: 1、 ...
分类:
其他好文 时间:
2020-01-09 23:00:20
阅读次数:
86
问题描述 org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'xxxxx.UserService' available: expected at least 1 be ...
分类:
编程语言 时间:
2020-01-09 15:55:45
阅读次数:
187
本地java类 import org.springframework.format.annotation.DateTimeFormat; import java.time.LocalDateTime; / 问题处理记录 / public class UserIssueProcessDto { / 处 ...
分类:
编程语言 时间:
2020-01-06 14:56:42
阅读次数:
81
我们在ABAP Development Tool里编写SAP CDS view,为视图维护这些以@开头的注解,同Java Spring里广泛应用的annotation一样,都是一种为development object维护元数据的方式。 如上图所示,我维护了五个不同的注解,一旦保存,这个cds vi ...
分类:
其他好文 时间:
2020-01-05 22:14:53
阅读次数:
89
redisDao封装类-其他dao集成他 package com.ffcs.wlan.dao.common; import javax.annotation.Resource; import org.springframework.data.redis.core.StringRedisTemplat ...
分类:
其他好文 时间:
2020-01-04 10:50:44
阅读次数:
178
一、新建springboot项目 点击 文件--New--项目 选择Spring Initializr 下一步 按照上面的或者直接下一步 下一步 点击完成 二、启动项目 建立一个类 import org.springframework.web.bind.annotation.RequestMappi ...
分类:
编程语言 时间:
2019-12-31 15:55:06
阅读次数:
72
文件地址:https://github.com/xiaozhengyu/StudyNotes.git ...
分类:
编程语言 时间:
2019-12-31 14:42:50
阅读次数:
99
注解与反射: //获取当前对象上所有的注解Annotation[] annotations = obj.getClass().getAnnotations();//获取当前对象上指定注解RestController speciAnno = obj.getClass().getAnnotation(R ...
分类:
编程语言 时间:
2019-12-31 12:53:36
阅读次数:
98
@Autowired @Autowired为Spring提供的注解,需要导入包org.springframework.beans.factory.annotation.Autowired。@Autowired采取的策略为按照类型注入。 @Autowired默认按类型装配(这个注解是属业spring的 ...
分类:
编程语言 时间:
2019-12-31 10:36:28
阅读次数:
90