applicationContext.xml問(wèn)題
<?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:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans?
? ? http://www.springframework.org/schema/beans/spring-beans.xsd
? ? http://www.springframework.org/schema/context?
? ? http://www.springframework.org/schema/context/spring-context.xsd
? ? http://www.springframework.org/schema/aop
? ? http://www.springframework.org/schema/aop/spring-aop.xsd
? ? http://www.springframework.org/schema/tx?
? ?
以上是我的配置,在配置<bean id="" class="com.mchange.v2.c3p0.ComboPooledDataSource"></bean>的時(shí)候class里邊不能用alt+/提示代碼
我知道是由于那個(gè)xsd要加什么3.0才有提示功能,但是為什么要這么寫(xiě),是什么原因?qū)е碌?,視頻中老師不也照樣能用提示嗎?我改成3.0xsd也還是沒(méi)有提示功能,myeclipse下方提示
Content Assist not available at the current location
2017-09-06
請(qǐng)問(wèn),這個(gè)問(wèn)題你解決了嗎?我也不能自動(dòng)提示,自己手動(dòng)敲容易錯(cuò)又記不住的
2017-03-20
eclipse經(jīng)常會(huì)沒(méi)提示,你差掉這個(gè)打開(kāi)的文件 ?然后重新打開(kāi)試試