application.properties
페이지 정보
작성자 관리자 작성일 24-06-25 15:10 조회 124 댓글 0본문
spring.application.name=web1
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
spring.datasource.url=jdbc:mariadb://localhost:3307/springboot
spring.datasource.username=root
spring.datasource.password=1111
#Spring Data JPA 설정 추가
spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.show-sql=true
spring.thymeleaf.prefix=classpath:/templates/
spring.thymeleaf.suffix=.html
spring.thymeleaf.mode=HTML
spring.thymeleaf.cache=false
#첨부파일 (경로 매칭)
spring.servlet.multipart.enabled=true
spring.servlet.multipart.location=C:\\springboot_422\\web1\\src\\main\\resources\\static\\upload
spring.servlet.multipart.max-request-size=30MB
spring.servlet.multipart.max-file-size=10MB
web.upload.path=C:\\springboot_422\\web1\\src\\main\\resources\\static\\upload
댓글목록 0
등록된 댓글이 없습니다.