Spring Boot ã§æ¸ç±ã®è²¸åºç¶æ³ç¢ºèªã»è²¸åºç³è«ãã Web ã¢ããªã±ã¼ã·ã§ã³ãä½ã ( çªå¤ç·¨ )( ããã¸ã§ã¯ãã§ä½¿ç¨ãã Java SE ã 8u45 â 8u51 㸠)
Java SE ã® 8u51 ããªãªã¼ã¹ããã¦ããã®ã§ãã¤ã³ã¹ãã¼ã©ã¼ããã¦ã³ãã¼ããã¦ã¤ã³ã¹ãã¼ã«ããç°å¢å¤æ° JAVA_HOME ã®ãã¹ã C:\Java\jdk1.8.0_51 ã¸å¤æ´ãã¾ããã
ksbysample-webapp-lending ã§ä½¿ç¨ãã Java SE ã 8u51 ã¸å¤æ´ãã¾ãã
-
IntelliJ IDEA ã®ã¡ã¤ã³ã¡ãã¥ã¼ãããFileã->ãProject Structure...ããé¸æãã¾ãã
ãProject Structureããã¤ã¢ãã°ã表示ããã¾ããå·¦å´ã®ãªã¹ããããProject Settingsã->ãProjectããé¸æããå³å´ã®ç»é¢ã®ãProject SDKãã®ä¸ã®ãNew...ã->ãJDKããé¸æãã¾ãã
ãSelect Home Directory for JDKããã¤ã¢ãã°ã表示ããã¾ããç°å¢å¤æ° JAVA_HOME ã«è¨å®ããã¦ãã C:\Java\jdk1.8.0_51 ãé¸æãããç¶æ ã§è¡¨ç¤ºããã¾ãã®ã§ãä½ãããã«ãOKããã¿ã³ãã¯ãªãã¯ãã¾ãã
ãProject Structureããã¤ã¢ãã°ã«æ»ãã¾ãããProject SDKãã®ãããããã¦ã³ãªã¹ãã«é¸æããã¦ãã JDK ã®è¡¨ç¤ºã 1.8 (java version "1.8.0_51") ã¨ãªã£ã¦ããã®ã§ã1.8 â 1.8.0_51 ã«å¤æ´ãã¾ãããProject SDKãã®ä¸ã®ãEditããã¿ã³ãã¯ãªãã¯ãã¾ãã
ãPlatform Settingsã->ãSDKsããé¸æãããç¶æ ã«ãªãã¾ããç»é¢å³ä¸ã®ãNameãã«è¡¨ç¤ºããã¦ããæååã "1.8" â "1.8.0_51" ã«å¤æ´ãã¾ãã
ä¸å¤®ã®ãªã¹ãã«è¡¨ç¤ºããã¦ããã1.8.0_45ããé¸æããå¾ããDeleteããã¿ã³ãã¯ãªãã¯ãã¦åé¤ãã¾ãã
å·¦å´ã®ãªã¹ããããProject Settingsã->ãProjectããé¸æããå³å´ã®ç»é¢ã®ãProject language levelãã®ãããããã¦ã³ãªã¹ãã§ãSDK default (8 - Lambdas, type annotations etc.)ããé¸æãã¾ããé¸æå¾ããOKããã¿ã³ãã¯ãªãã¯ãã¦ãProject Structureããã¤ã¢ãã°ãéãã¾ãã
ã¡ã¤ã³ç»é¢ã«æ»ãã¨ç»é¢ä¸é¨ã«å¦çé²è¡ä¸ã®ã¡ãã»ã¼ã¸ã表示ããã¾ãã®ã§ãçµäºããã¾ã§å¾ æ©ãã¾ãã
Gradle projects View ãã clean ã¿ã¹ã¯ãå®è¡ãã¾ãã
ã¡ã¤ã³ã¡ãã¥ã¼ãããBuildã->ãRebuild Projectããé¸æã㦠build ãç´ããã¨ã©ã¼ã¡ãã»ã¼ã¸ãä½ã表示ãããªããã¨ã確èªãã¾ãã
Gradle projects View ãã build ã¿ã¹ã¯ãå®è¡ã㦠"BUILD SUCCESSFUL" ã®ã¡ãã»ã¼ã¸ã表示ããããã¨ã確èªãã¾ãã
ç¹ã«åé¡ã¯çºçãã¾ããã§ããã8u51 ã§éçºãé²ãããã¨æãã¾ãã