Library projects 不支持Annotation 怎么修改

qq_27503287 2018-12-01 06:39:11
我在网上下载了一个Demo,然后作为module加载到我自己的项目中,但是出了如下问题。网上说是因为Library projects 不支持 Annotation,然后我改成 findbyviewid这种写法,下载的Demo都不能正常运行了,请问一下有什么解决方法?
...全文
123 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
jklwan 2018-12-03
  • 打赏
  • 举报
回复
@Bind是butterknife 8.0之前的版本的用法,不支持library中使用,可以升级到最新版,不过都要变成@BindView,或者全部删除,使用findbyviewid来实现。
This is a tutorial on Spring MVC, a module in the Spring Framework for rapidly developing web applications. The MVC in Spring MVC stands for Model-View-Controller, a design pattern widely used in Graphical User Interface (GUI) development. This pattern is not only common in web development, but is also used in desktop technology like Java Swing. Sometimes called Spring Web MVC, Spring MVC is one of the most popular web frameworks today and a most sought-after skill. This book is for anyone wishing to learn to develop Java-based web applications with Spring MVC. Sample applications come as Spring Tool Suite and Eclipse projects. Table of Contents Introduction Chapter 1: The Spring Framework Chapter 2: Model 2 and the MVC Pattern Chapter 3: Introduction to Spring MVC Chapter 4: Annotation-Based Controllers Chapter 5: Data Binding and the Form Tag Library Chapter 6: Converters and Formatters Chapter 7: Validators Chapter 8: The Expression Language Chapter 9: JSTL Chapter 10: Internationalization Chapter 11: File Upload Chapter 12: File Download Chapter 13: Testing Your Application Appendix A: Tomcat Appendix B: Using Spring Tool Suite with Maven Appendix C: The Servlet API Appendix D: JavaServer Pages Appendix E: Deployment Index Table of Contents Chapter 1: The Spring Framework Chapter 2: Model 2 and the MVC Pattern Chapter 3: Introduction to Spring MVC Chapter 4: Annotation-Based Controllers Chapter 5: Data Binding and the Form Tag Library Chapter 6: Converters and Formatters Chapter 7: Validators Chapter 8: The Expression Language Chapter 9: JSTL Chapter 10: Internationalization Chapter 11: File Upload Chapter 12: File Download Chapter 13: Testing Your Application Appendix A: Tomcat Appendix B: Using Spring Tool Suite with Maven Appendix C: The Servlet API Appendix D: JavaServer Pages Appendix E: Deployment

80,351

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧