728x90 ๋ฐ์ํ ์ ์ฒด ๊ธ150 JAVA, Eclipse / Commitํ ๋ git ignore๋ก .classpath์ .project ์ ์ธ์ํค๊ธฐ https://www.toptal.com/developers/gitignore gitignore.io Create useful .gitignore files for your project www.toptal.com ์ ์ฌ์ดํธ์ ๊ฐ์ ๊ฒ์์ฐฝ์ ๋ณด๋ฉด ์ด์์ฒด์ , ๊ฐ๋ฐ ํด, ์ธ์ด๋ฅผ ์ ๋ ฅํ๋ผ๊ณ ๋์ค๋๋ฐ ๊ฐ๊ฐ ํค์๋์ฒ๋ผ ์์ฑํด์ฃผ๊ณ Create. ๊ทธ๋ผ ์๋์ ๊ฐ์ ์์ค๋ฅผ ์ค๋ค. ์ด ์์ค๋ฅผ ์ ์ฒด ๋ณต์ฌํ๋ค. ++ ๋ฐ๋ก ์ ์ธํ๊ณ ์ถ์ ํ์ผ์ด๋ ํด๋๊ฐ ์๋ค๋ฉด ์๋ฌด ๋น ์ค์ ์ถ๊ฐํ๋ฉด๋๋ค. ํ์ผ์ ๊ฒฝ์ฐ ๊ทธ๋ฅ 'ํ์ผ๋ช (ํ์ฅ์ ํฌํจ ํ์)' ํด๋๋ฉด 'ํด๋๋ช /' ํน์ ํ์ฅ์ ์ ๋ถ๋ฉด '.ํ์ฅ์๋ช ' ์์๋ฐ์ดํ ๋น์ฐํ ๋นผ๊ณ ์ ๊ธฐ. ๊ทธ๋ฆฌ๊ณ ์ดํด๋ฆฝ์ค์์ Git์ ์ด์ด๋ ์ํ๋ก ๋ณด์์ ๋ Git Stating์ ์ฐ๋ฆฌ๊ฐ ์์ ์ผ ํ .classpa.. 2020. 6. 19. [Java] Servlet AbstractMethodError T4CConnection ์๋ฌ ํด๊ฒฐ eclipse ์๋ฌ ๋ฉ์์ง : java.lang.AbstractMethodError: Receiver class oracle.jdbc.driver.T4CConnection does not define or inherit an implementation of the resolved method 'abstract boolean isValid(int)' of interface java.sql.Connection.์๋ธ๋ฆฟ์ ์คํ์์ผฐ์ ๋ ํ๋ฉด์ด ๋์ค์ง ์๋๋ค. ํด๊ฒฐ : Servers ํ๋ก์ ํธ์ context.xml ํ์ผ์ ํ๊ทธ ์์ factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" ์ฝ์ โ 2020. 6. 16. [objective C] Visual Studio ๋ค๋ฅธ ํ๋ก์ ํธ๊ฐ ์คํ๋ ๋ ๋ฌธ์ ํด๊ฒฐ C์ธ์ด ๋ฌธ์ : ๋น์ฃผ์ผ ์ฝ๋์์ B ํ๋ก์ ํธ ์ ์์ค๋ฅผ ๋น๋ํ์ผ๋ ๋น๋์ ์ธ์ํจ A ํ๋ก์ ํธ ์ ์์ค์ ๊ฒฐ๊ณผ๊ฐ ์คํ๋ ๋ ๋น๋ ์ ์ธํ ํ๋ก์ ํธ ์ฐํด๋ฆญ>์์ ํ๋ก์ ํธ๋ก ์ค์ 2020. 6. 3. Linux ๋ฆฌ๋ ์ค์์ Java ํด๋์ค ํ์ผ ์ปดํ์ผํ๊ธฐ javac ํด๋์ค๋ช .java java ํด๋์ค๋ช 2020. 5. 30. [MariaDB/JSP] ClassNotFoundException ์๋ฌ ํด๊ฒฐ๋ฐฉ๋ฒ Eclipse์์ Dynamic Web Project๋ก JSP์ฝ๋๋ฅผ ์ง๋ค๊ฐ ๋ถ๋ช ๊ตฌ๊ธ๋ง๋๋ก mariadb-java-client.jar ํ์ผ์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ์ถ๊ฐํ์์์๋ ๋ถ๊ตฌํ๊ณ ClassNotFoundException๊ฐ ๊ณ์ ๋ด๋ค. ์์ธ๋ถ๋ช ์ํ.. ํด๊ฒฐ๋ฐฉ๋ฒ: ํ๋ก์ ํธ ์ฐํด๋ฆญ>Properties>Deployment Assembly>Add>Java Build Path Entries ์ ํ>mariadb-java-client.jar ์ ํ>์ถ๊ฐ์๋ฃ>์ดํด๋ฆฝ์ค ์ฌ๋ถํ (๊ถ์ฅ) mariadb ์ ์ฉ JDBC๊ฐ ๊ฒฐ๊ตญ WEB-INF/libํด๋์๋ ์์นํ๋๊ฒ ์ค์ํ ๋ฏ ํ๋ค. 2020. 5. 27. [MariaDB] INSERT๋ฌธ ํ๊ธ ์ค๋ฅ(Incorrect string value) ํด๊ฒฐ my.ini ํ์ผ์ ์๋ ์์ฑ์ ์ง์ [mysqld] init_connect="SET collation_connection = utf8_general_ci" init_connect="SET NAMES utf8" collation-server = utf8_general_ci character-set-server = utf8 [client] default-character-set = utf8 [mysql] default-character-set=utf8โ Mysql> SHOW VARIABLES LIKE "c%" ๋ช ๋ น ์ ๋ ฅ ํ Value๊ฐ์ 'latin1'์ด ์์ผ๋ฉด ์๋จ. ๋ชจ๋ 'utf8'๋ก ๋ฐ๊พผ๋ค. ์ฟผ๋ฆฌ์ฐฝ์์ ์์ฑ ์ค์ ์ ํ ์ ์๋ค. (my.ini ์์ ๋ง์ผ๋ก ๋ณ๊ฒฝ ์ ๋ ๊ฒฝ์ฐ) Mysql> SET [Var.. 2020. 5. 26. ์ด์ 1 ยทยทยท 16 17 18 19 20 21 22 ยทยทยท 25 ๋ค์ 728x90 ๋ฐ์ํ