亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

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


正在回答

2 回答

請問,這個問題你解決了嗎?我也不能自動提示,自己手動敲容易錯又記不住的

0 回復 有任何疑惑可以回復我~
#1

King_少奶奶

我是在任意一個java類里輸入ComboPooledDa,然后Alt+/出來的,最后復制自動提示出來的包到xml粘貼的,這樣不會出錯。
2017-09-06 回復 有任何疑惑可以回復我~
#2

稻子凡 回復 King_少奶奶

我在博客上看到一種解決辦法你可以試試 http://blog.csdn.net/hh775313602/article/details/70176531
2017-09-06 回復 有任何疑惑可以回復我~

eclipse經常會沒提示,你差掉這個打開的文件 ?然后重新打開試試

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

applicationContext.xml問題

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號