开发者社区> 问答> 正文

java中的注解为什么总是报错? ?报错

如图,我明明已经有了参数了,为什么他报错呢?(报错信息为Multiple markers at this line
- The annotation @SxtField must define the attribute ColumnName
- The attribute columnName is undefined for the annotation type
SxtField)图片说明图片说明图片说明

展开
收起
爱吃鱼的程序员 2020-06-22 23:20:00 420 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    写法看起来没有问题你刷新下工程重新构建下不行私聊我
    谢谢

    是不是注解放的位置不对。。

    Multiplemarkersatthisline

    • Theannotation@SxtFieldmustdefinetheattributeColumnName
    • TheattributecolumnNameisundefinedfortheannotationtype

    好像是你没引入jar包啊?

    是不是类没有实现接口的原因implementsSxtField

    2020-06-22 23:20:17
    赞同 展开评论 打赏
问答分类:
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Spring Cloud Alibaba - 重新定义 Java Cloud-Native 立即下载
The Reactive Cloud Native Arch 立即下载
JAVA开发手册1.5.0 立即下载