일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- IntelliJ
- Windows 10
- 네트워크
- context
- 단축키
- VirtualBox
- maVen
- GIT
- web.xml
- Eclipse
- Windows
- grep
- plugin
- Source
- bash
- JavaScript
- Quartz
- 줄바꿈 문자
- profile
- netsh
- lsof
- tomcat
- import
- xargs
- ssh
- find
- port
- Mac
- vscode
- resource
- Today
- Total
목록Dev (274)
develog
gradle dependencies https://docs.gradle.org/current/userguide/java_library_plugin.html The Java Library Plugin The Java Library plugin expands the capabilities of the Java plugin by providing specific knowledge about Java libraries. In particular, a Java library exposes an API to consumers (i.e., other projects using the Java or the Java Library plugin). All the so docs.gradle.org
pom.xml org.springframework spring-test 4.3.30.RELEASE test junit junit 4.13.2 test org.assertj assertj-core 3.19.0 test org.mockito mockito-core 3.8.0 test
@ContextConfiguration(classes = {}) 를 사용 TestBase.java import org.apache.ibatis.mapping.BoundSql; import org.apache.ibatis.mapping.MappedStatement; import org.apache.ibatis.session.Configuration; import org.apache.ibatis.session.SqlSession; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; import..
@ContextConfiguration(locations = {}) 를 사용 TestBase.java import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import org.springframework.test.c..
// import org.springframework.util.LinkedMultiValueMap; // import org.springframework.util.MultiValueMap; Map map1 = new HashMap(); MultiValueMap map2 = new LinkedMultiValueMap(); map1.put("aa", "11"); map1.put("aa", "22"); map2.add("aa", "11"); map2.add("aa", "22"); System.out.println(map1.get("aa")); // 22 System.out.println(map2.get("aa")); // [11, 22]
spring cron expression test import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import org.springframework.scheduling.support.CronSequenceGenerator; public class TestCronExpression { public static void main(String[] args) { Calendar today = Calendar.getInstance(); today.set(2019, 2-1, 21); testCronExpression(today, "0 30 12 27-31,1-2 * ?"); } public static void t..