- 하드 윈도우 복사
- asp.net core swagger
- asp ftp
- jquery 바코드생성
- XSS방어
- simpe ftp
- 맥 오라클설치
- 타임피커
- ASP.Net Core 404
- ViewData
- JavaScript
- 바코드 생성하기
- TempData
- 원격ftp
- javascript redirection
- 말줄임표시
- asp.net core Select
- django 엑셀불러오기
- 하드 마이그레이션
- SSD 복사
- asp.net dropdownlist
- XSS PHP
- swagger 500 error
- 강제이동
- php 캐쉬제거
- 404에러페이지
- ViewBag
- asp.net Select
- Mac Oracle
- javascript 바코드 생성
목록Java (34)
웹개발자의 기지개
롬복의 @RequiredArgsConstructor 어노테이션을 가지고 생성자 주입해본다. Spring 4.3 이상에서 @Autowired 생략이 가능한 경우 Spring 에서 Bean 에 대한 생성자가 오직 한개이고, 생성자의 parameter 타입이 Bean 으로 등록되어 있을때 [ 원래의 생성자 주입 ] @Service public class BannerServiceImpl implements BannerService { private BannerRepository bannerRepository; private CommonFileUtils commonFileUtils; @Autowired public BannerServiceImpl(BannerRepository bannerRepository, Co..
1 2 3 4 5 6 7 java.sql.SQLException: The server time zone value '´ëÇѹα¹ Ç¥ÁؽÃ' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:127) ~[..
WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useS..
WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useS..
mysql DB 상에서 보통 root 로 아무생각없이 깔고, 코딩하면서 돌려볼때 java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES) 이런식으로 root 접근허가 불가 에러메세지를 만날수도 있는데 mysql 도 버전업이 되면서 root 비밀번호 규칙도 보다 엄격하게 강화시켜서, 만들어야 정상 동작이 된다. 대소문자, 숫자, 특수문자 다 넣어서 길게 다시 만들도록 하자. cmd 명령프롬프트 창에서 alter user 'root'@'localhost' IDENTIFIED WITH mysql_native_password by '변경할비번'; flush privileges; quit; [MySQL,MariaDB..
버전이 안맞아서 그렇다. gradle-6.8-bin.zip 으로 수정해보자.
Spring 4.3 이상이고, Spring 에서 빈에 대한 생성자가 오직 한개이고, 생성자의 파라미터 타입이 빈으로 등록되어 있다면 @Autowired 생략이 가능하다. 참고 : https://frogand.tistory.com/217 참고 : https://www.youtube.com/watch?v=FOHu9lWxPmU 참고 : https://jaeano.tistory.com/entry/Spring-Boot-Service-Component-Service-RequiredArgsConstructor
1 2 3 4 5 6 7 8 9 10 11 12 13 public class Person { private String name; private int age; public Person(String name, int age) { this.name = name; this.age = age; } public void introduce() { System.out.println("안녕하세요, 저는 " + name + "이고, " + age + "살입니다."); } } Colored by Color Scripter cs Person.class를 사용하여 Person 클래스의 Class 객체를 얻고, 리플렉션을 사용하여 클래스의 인스턴스를 생성하고 메서드를 호출해보자. 1 2 3 4 5 6 7 8 9 10 11 1..