第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

Spring Boot 最新版本中 jdbctemplate 的 @autowired 問題

Spring Boot 最新版本中 jdbctemplate 的 @autowired 問題

不負(fù)相思意 2021-06-09 17:38:09
下面是我的 application.properties 文件spring.datasource.driver-class-name=oracle.jdbc.driver.OracleDriverspring.datasource.url=jdbc:oracle:thin:@abc:1512:dbqspring.datasource.username=rootspring.datasource.password=rootspring.jpa.hibernate.ddl-auto=update下面是我的 POM.xml      <parent>        <groupId>org.springframework.boot</groupId>        <artifactId>spring-boot-starter-parent</artifactId>        <version>2.0.3.RELEASE</version>        <relativePath/>      </parent>    <dependencies>            <dependency>                <groupId>org.springframework.boot</groupId>                <artifactId>spring-boot-starter-web</artifactId>            </dependency>             <dependency>                <groupId>org.springframework.boot</groupId>                <artifactId>spring-boot-starter-tomcat</artifactId>                <scope>provided</scope>            </dependency>             <dependency>                <groupId>org.springframework.boot</groupId>                 <artifactId>spring-boot-starter-jdbc</artifactId>            </dependency>             <dependency>                <groupId>org.codehaus.jettison</groupId>                <artifactId>jettison</artifactId>                <version>1.4.0</version>            </dependency>      </dependencies>我使用 eclipse 創(chuàng)建了新的 maven + Spring boot 和最新版本的項(xiàng)目。但是嘗試自動(dòng)裝配 JdbcTemplate 時(shí)出現(xiàn)以下錯(cuò)誤。我在上面分享了我的屬性文件和 pom.xml。
查看完整描述

2 回答

  • 2 回答
  • 0 關(guān)注
  • 660 瀏覽

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)