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

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

運(yùn)行正確,但是數(shù)據(jù)庫(kù)不能建表

//girl
package?com.example.demo;
import?javax.persistence.Entity;
import?javax.persistence.GeneratedValue;
import?javax.persistence.Id;

@Entity
public?class?girl?{
@Id
@GeneratedValue
????private?Integer?id;
????private?String?cupSize;
????private?Integer?age;

????public?girl()?{
????}

????public?Integer?getId()?{
????????return?id;
????}

????public?void?setId(Integer?id)?{
????????this.id?=?id;
????}

????public?String?getCupSize()?{
????????return?cupSize;
????}

????public?void?setCupSize(String?cupSize)?{
????????this.cupSize?=?cupSize;
????}

????public?Integer?getAge()?{
????????return?age;
????}

????public?void?setAge(Integer?age)?{
????????this.age?=?age;
????}
}

//Girlproperties

package?com.example.demo;

import?org.springframework.boot.context.properties.ConfigurationProperties;
import?org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix?=?"girl")
public?class?Girlproperties?{
????private?String?cupSize;
????private?Integer?age;

????public?String?getCupSize()?{
????????return?cupSize;
????}

????public?void?setCupSize(String?cupSize)?{
????????this.cupSize?=?cupSize;
????}

????public?Integer?getAge()?{
????????return?age;
????}

????public?void?setAge(Integer?age)?{
????????this.age?=?age;
????}
}


正在回答

1 回答

啟動(dòng)類(lèi)不要寫(xiě)

@SpringBootApplication(exclude?=?DataSourceAutoConfiguration.class)

直接改成

@SpringBootApplication


0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消
2小時(shí)學(xué)會(huì)Spring Boot
  • 參與學(xué)習(xí)       151527    人
  • 解答問(wèn)題       1132    個(gè)

Spring Boot入門(mén)視頻教程,你將學(xué)會(huì)使用Spring Boot快速構(gòu)建應(yīng)用程序

進(jìn)入課程

運(yùn)行正確,但是數(shù)據(jù)庫(kù)不能建表

我要回答 關(guān)注問(wèn)題
微信客服

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

幫助反饋 APP下載

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

公眾號(hào)

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