大四公司实习。。。。各位兄弟们一起学习java哈,有错的请指出来。。。现在是求学中-.-,每天写出学到的东西,一起分享,如果说错了。。。要指出来啊,学习中。。。

1:ERR Unsupported CONFIG parameter: notify-keyspace-events
redis版本问题,需要更高版本的redis,解决
2.给interllij IDEA中各个项目设置jdk:file->project structure->modules
3.定义变量private SysDeptService sysDeptService;sysDeptService下面一直有红色波浪线,could not autowire:not beans of
解决:file->project structure->facets->spring右键delete掉

 

在SpringMVC后台控制层获取参数的方式主要有两种,一种是request.getParameter("name"),另外一种是用注解@RequestParam直接获取

 

4.在interllij IDEA中有时创建一个对象命名时,会出现波浪线,这个出现的原因是idea字典中没有这个词,你需要把他添加到字典中。
解决:选中单词->右键spelling->Typo:save 'xxx' to dictionary

posted on 2016-11-23 09:45  求问者  阅读(157)  评论(0)    收藏  举报

导航