想请问一下老师补全代码的问题

想请问一下老师补全代码的问题

比如bean 的id为dataSource和sqlSessionFactory是怎么快速补全的,我的药自己敲,而且没有提示,看到视频中都是一下就有了

正在回答 回答被采纳积分+1

登陆购买课程后可参与讨论,去登陆

2回答
好帮手慕阿莹 2019-03-14 14:25:57

同学头部的约束是否写全了呢?例如:

<?xml version="1.0" encoding="utf-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:p="http://www.springframework.org/schema/p"
       xmlns:c="http://www.springframework.org/schema/c"
       xmlns:tx="http://www.springframework.org/schema/tx"
       xmlns:aop="http://www.springframework.org/schema/aop"
       xmlns:context="http://www.springframework.org/schema/context"
       xmlns:util="http://www.springframework.org/schema/util"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
                  http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
                  http://www.springframework.org/schema/tx
                  http://www.springframework.org/schema/tx/spring-tx-4.0.xsd
                  http://www.springframework.org/schema/context
                  http://www.springframework.org/schema/context/spring-context-4.0.xsd

祝学习愉快。

好帮手慕阿莹 2019-03-14 11:09:24

http://img1.sycdn.imooc.com//climg/5c89c5b70001935f04340308.jpg

同学看看是否是开启了省电模式,如果是,请去掉勾选,省电模式下是没有自动提示的

如果我的回答解决了你的疑惑,请采纳!祝学习愉快!

  • 提问者 陌路旅人 #1
    老师,我得设置和你是一样的,但是就是没有这个代码补全
    2019-03-14 13:27:39
问题已解决,确定采纳
还有疑问,暂不采纳

恭喜解决一个难题,获得1积分~

来为老师/同学的回答评分吧

0 星
SSM主流框架入门与综合项目实战2018版
  • 参与学习           人
  • 提交作业       205    份
  • 解答问题       4317    个

Java中非常实用的SSM整合开发内容,从Spring开始,到MyBaits的进阶内容,再到SpringMVC的应用,最后是SSM整合开发案例,逐步深入,助你成长为一名Java工程师!

了解课程
请稍等 ...
意见反馈 帮助中心 APP下载
官方微信

在线咨询

领取优惠

免费试听

领取大纲

扫描二维码,添加
你的专属老师