applicationContext.xml問題
<?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>的時候class里邊不能用alt+/提示代碼
我知道是由于那個xsd要加什么3.0才有提示功能,但是為什么要這么寫,是什么原因導致的,視頻中老師不也照樣能用提示嗎?我改成3.0xsd也還是沒有提示功能,myeclipse下方提示
Content Assist not available at the current location
2017-09-06
請問,這個問題你解決了嗎?我也不能自動提示,自己手動敲容易錯又記不住的
2017-03-20
eclipse經常會沒提示,你差掉這個打開的文件 ?然后重新打開試試