Translate

2017년 8월 23일 수요일

[Linux][CentOS 5.7] yum 사용할 시 'YumRepo Error: All mirror URLs are not using ftp, http[s] or file.' 에러 해결방법




환경
OS: CentOS 5.7 64bit



증상

git을 설치하기 위해 yum 실행하면 아래와 같이 에러가 발생한다.
1004lucifer

[root@localhost ~]# yum install git
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
[root@localhost ~]# 






해결방법

yum을 통해 받을 미러리스트가 없어서 정상적으로 수행되지 못했다.
미러리스트를 만들어주면 된다.
(5.7 과 같은 버전은 본인의 CentOS 버전에 맞게 수정해 주면 된다.)


[root@localhost ~]# echo "http://vault.centos.org/5.7/os/x86_64/" > /var/cache/yum/base/mirrorlist.txt
[root@localhost ~]# echo "http://vault.centos.org/5.7/extras/x86_64/" > /var/cache/yum/extras/mirrorlist.txt
[root@localhost ~]# echo "http://vault.centos.org/5.7/updates/x86_64/" > /var/cache/yum/updates/mirrorlist.txt




나같은경우 처음에 디렉토리가 없어서 그런지 명령어 수행 시 디렉토리가 없다고 나오다가 'yum install git' 한번씩 수행하면 디렉토리가 만들어 지는지..
그 다음에서야 명령어가 정상적으로 수행이 되었다.
1004lucifer

[root@localhost ~]# echo "http://vault.centos.org/5.7/os/x86_64/" > /var/cache/yum/base/mirrorlist.txt
[root@localhost ~]#
[root@localhost ~]# yum install git
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/extras/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: extras
[root@localhost ~]#
[root@localhost ~]# echo "http://vault.centos.org/5.7/extras/x86_64/" > /var/cache/yum/extras/mirrorlist.txt
[root@localhost ~]# 
[root@localhost ~]# yum install git
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/updates/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: updates
[root@localhost ~]# 
[root@localhost ~]# echo "http://vault.centos.org/5.7/updates/x86_64/" > /var/cache/yum/updates/mirrorlist.txt

[root@localhost ~]# 
[root@localhost ~]# yum install git
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
base                                                                                                                                  | 1.1 kB     00:00     
base/primary                                                                                                                          | 1.2 MB     00:04     
base                                                                                                                                               3566/3566
extras                                                                                                                                | 2.1 kB     00:00     
extras/primary_db                                                                                                                     | 206 kB     00:02     
updates                                                                                                                               | 1.9 kB     00:00     
updates/primary_db                                                                                                                    | 668 kB     00:06     
Setting up Install Process
No package git available.
Nothing to do
[root@localhost ~]# 




참고
https://www.linuxquestions.org/questions/centos-111/yumrepo-error-centos-5-9-a-4175604669/

2017년 8월 22일 화요일

[JAVA] Jackson 라이브러리 'Unexpected character ('<' (code 60))' 오류발생 원인





서버 로그를 보다가 아래와 같은 로그가 발생했길래 원인분석을 해봤다.


com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
 at [Source: https://[_DOMAIN_]?[_RESOURCE_]; line: 1, column: 2]
        at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1702)
        at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:558)
        at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:456)
        at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._handleUnexpectedValue(UTF8StreamJsonParser.java:2689)
        at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._nextTokenNotInObject(UTF8StreamJsonParser.java:878)
        at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.nextToken(UTF8StreamJsonParser.java:772)
        at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3834)
        at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3783)
        at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2797)
        at kr.co._1004lucifer.~~~~.methodName(ClassName.java:33)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:65)
        at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)






사용되는 소스는 아래와 같다.
(클래스명 같은건 좀 변경을 했다.)

ClassName obj = objectMapper.readValue(new URL(URL + "?param"), ResponseObject.class);



원인분석 방법
1004lucifer
내 PC의 브라우저로 해당 URL 로 접속 시 예상했던대로 JSON 응답이 왔다.
하지만 실제 프로그램이 실행되는 서버에서 해당 URL 접속 시 예상했던 JSON 응답이 아닌 HTML 형식으로 응답을 받는 것을 확인할 수 있었다.




'프로그램이 수행되는 곳' 에서 요청을 날릴 시 JSON 이 아니라 HTML 로 응답이 오기 때문에 문제가 발생한 것.


2017년 8월 20일 일요일

[Windows] Windows Server 2012 R2 에서 'KB2919355' 업데이트를 할 수 없는경우 해결방법



문제

Windows Server 2012 R2 에서
SQL Server 2016 설치하려 하니 KB2919355 설치하라고 해서 설치하려 했는데 아래와 같이 보여지면서 설치가 되지 않았다.





 'Windows 업데이트 독립 실행형 설치 관리자'
 '업데이트를 컴퓨터에 적용할 수 없습니다.'









해결방법
1004lucifer
KB2919442 업데이트를 선행으로 시작 후 다시 KB2919355 업데이트를 수행하니 정상적으로 수행이 되었다.









PS.
C:\Windows\WindowsUpdate.txt 파일에 아래와 같은 내용이 생성되었다.
1004lucifer

2017-08-20 10:30:59:164 2516 894 Misc ===========  Logging initialized (build: 7.9.9600.16384, tz: +0900)  ===========
2017-08-20 10:30:59:164 2516 894 Misc  = Process: C:\Windows\system32\wusa.exe
2017-08-20 10:30:59:164 2516 894 Misc  = Module: C:\Windows\System32\wuapi.dll
2017-08-20 10:30:59:164 2516 894 COMAPI -----------  COMAPI: IUpdateServiceManager::AddScanPackageService  -----------
2017-08-20 10:30:59:164 2516 894 COMAPI  - ServiceName = Windows 업데이트 독립 실행형 설치 관리자
2017-08-20 10:30:59:164 2516 894 COMAPI  - ScanFileLocation = C:\0cb6a3dc0ead40921b826c65e5\wsusscan.cab
2017-08-20 10:30:59:211 852 a0c Misc ===========  Logging initialized (build: 7.9.9600.16422, tz: +0900)  ===========
2017-08-20 10:30:59:211 852 a0c Misc  = Process: C:\Windows\system32\svchost.exe
2017-08-20 10:30:59:211 852 a0c Misc  = Module: c:\windows\system32\wuaueng.dll
2017-08-20 10:30:59:211 852 a0c Service *************
2017-08-20 10:30:59:211 852 a0c Service ** START **  Service: Service startup
2017-08-20 10:30:59:211 852 a0c Service *********
2017-08-20 10:30:59:226 852 a0c Agent  * WU client version 7.9.9600.16422
2017-08-20 10:30:59:226 852 a0c Agent  * Base directory: C:\Windows\SoftwareDistribution
2017-08-20 10:30:59:226 852 a0c Agent  * Access type: No proxy
2017-08-20 10:30:59:226 852 a0c Service UpdateNetworkState Ipv6, cNetworkInterfaces = 1.
2017-08-20 10:30:59:226 852 a0c Service UpdateNetworkState Ipv4, cNetworkInterfaces = 1.
2017-08-20 10:30:59:226 852 a0c Agent  * Network state: Connected
2017-08-20 10:30:59:242 852 a0c Service UpdateNetworkState Ipv6, cNetworkInterfaces = 1.
2017-08-20 10:30:59:242 852 a0c Service UpdateNetworkState Ipv4, cNetworkInterfaces = 1.
2017-08-20 10:30:59:368 852 a0c Agent ***********  Agent: Initializing global settings cache  ***********
2017-08-20 10:30:59:368 852 a0c Agent  * Endpoint Provider: 00000000-0000-0000-0000-000000000000
2017-08-20 10:30:59:368 852 a0c Agent  * WSUS server: <NULL>
2017-08-20 10:30:59:368 852 a0c Agent  * WSUS status server: <NULL>
2017-08-20 10:30:59:368 852 a0c Agent  * Target group: (Unassigned Computers)
2017-08-20 10:30:59:368 852 a0c Agent  * Windows Update access disabled: No
2017-08-20 10:30:59:368 852 a0c Misc WARNING: Network Cost is assumed to be not supported as something failed with trying to get handles to wcmapi.dll
2017-08-20 10:30:59:383 852 a0c WuTask WuTaskManager delay initialize completed successfully..
2017-08-20 10:30:59:414 852 a0c Report CWERReporter::Init succeeded
2017-08-20 10:30:59:414 852 a0c Agent ***********  Agent: Initializing Windows Update Agent  ***********
2017-08-20 10:30:59:414 852 a0c DnldMgr Download manager restoring 0 downloads
2017-08-20 10:30:59:429 852 a0c AU ###########  AU: Initializing Automatic Updates  ###########
2017-08-20 10:30:59:429 852 a0c AU AIR Mode is disabled
2017-08-20 10:30:59:429 852 a0c AU  # AU is not configured yet
2017-08-20 10:30:59:429 852 a0c AU  # Will interact with non-admins (Non-admins are elevated (User preference))
2017-08-20 10:30:59:429 852 a0c AU WARNING: Failed to get Wu Exemption info from NLM, assuming not exempt, error = 0x80240037
2017-08-20 10:30:59:461 852 a0c AU AU finished delayed initialization
2017-08-20 10:30:59:476 852 6c0 DnldMgr Asking handlers to reconcile their sandboxes
2017-08-20 10:30:59:492 852 218 Misc Validating signature for C:\Windows\SoftwareDistribution\ScanFile\6fe78e7e-0162-4918-abb1-2bad7bf6d99c\Source.cab:
2017-08-20 10:30:59:507 852 218 Misc Microsoft signed: Yes
2017-08-20 10:30:59:679 852 218 DtaStor Default service for AU is {9482F4B4-E343-43B6-B170-9A65BC822C77}
2017-08-20 10:30:59:679 852 218 IdleTmr Incremented idle timer priority operation counter to 1
2017-08-20 10:30:59:695 2516 894 COMAPI  - Added scan package service, ServiceID = {6FE78E7E-0162-4918-ABB1-2BAD7BF6D99C} Third party service
2017-08-20 10:30:59:695 2516 894 COMAPI -------------
2017-08-20 10:30:59:695 2516 894 COMAPI -- START --  COMAPI: Init Search [ClientId = wusa]
2017-08-20 10:30:59:695 2516 894 COMAPI ---------
2017-08-20 10:30:59:695 2516 894 COMAPI -------------
2017-08-20 10:30:59:695 2516 894 COMAPI -- START --  COMAPI: Search [ClientId = wusa]
2017-08-20 10:30:59:695 2516 894 COMAPI ---------
2017-08-20 10:30:59:711 852 218 IdleTmr WU operation (CSearchCall::Init ID 1) started; operation # 8; does use network; is not at background priority
2017-08-20 10:30:59:711 852 218 IdleTmr Incremented PDC RefCount for Network to 1
2017-08-20 10:30:59:711 852 218 IdleTmr Incremented idle timer priority operation counter to 2
2017-08-20 10:31:00:508 852 218 Report ***********  Report: Initializing static reporting data  ***********
2017-08-20 10:31:00:508 852 218 Report  * OS Version = 6.3.9600.0.0.196880
2017-08-20 10:31:00:508 852 218 Report  * OS Product Type = 0x00000007
2017-08-20 10:31:00:538 852 218 Report  * Computer Brand = innotek GmbH
2017-08-20 10:31:00:538 852 218 Report  * Computer Model = VirtualBox
2017-08-20 10:31:00:538 852 218 Report  * Platform Role = 1
2017-08-20 10:31:00:538 852 218 Report  * AlwaysOn/AlwaysConnected (AOAC) = 0
2017-08-20 10:31:00:554 852 218 Report  * Bios Revision = VirtualBox
2017-08-20 10:31:00:554 852 218 Report  * Bios Name = VirtualBox
2017-08-20 10:31:00:554 852 218 Report  * Bios Release Date = 2006-12-01T00:00:00
2017-08-20 10:31:00:554 852 218 Report  * Bios Sku Number unavailable.
2017-08-20 10:31:00:554 852 218 Report  * Bios Vendor = innotek GmbH
2017-08-20 10:31:00:554 852 218 Report  * Bios Family = Virtual Machine
2017-08-20 10:31:00:554 852 218 Report  * Bios Major Release unavailable.
2017-08-20 10:31:00:554 852 218 Report  * Bios Minor Release unavailable.
2017-08-20 10:31:00:554 852 218 Report  * Locale ID = 1042
2017-08-20 10:31:00:570 852 218 Agent *** START ***  Queueing Finding updates [CallerId = wusa  Id = 1]
2017-08-20 10:31:00:570 852 8dc Agent ***  END  ***  Queueing Finding updates [CallerId = wusa  Id = 1]
2017-08-20 10:31:00:570 852 8dc Agent *************
2017-08-20 10:31:00:570 852 8dc Agent ** START **  Agent: Finding updates [CallerId = wusa  Id = 1]
2017-08-20 10:31:00:570 852 8dc Agent *********
2017-08-20 10:31:00:570 852 8dc Agent  * Online = Yes; Ignore download priority = No
2017-08-20 10:31:00:570 852 8dc Agent  * Criteria = "DeploymentAction='Installation'"
2017-08-20 10:31:00:570 852 8dc Agent  * ServiceID = {6FE78E7E-0162-4918-ABB1-2BAD7BF6D99C} Third party service
2017-08-20 10:31:00:570 852 8dc Agent  * Search Scope = {Machine}
2017-08-20 10:31:00:570 852 8dc Agent  * Caller SID for Applicability: S-1-5-21-801714212-1071852180-1443775328-500
2017-08-20 10:31:00:648 2516 894 COMAPI <<-- SUBMITTED -- COMAPI: Search [ClientId = wusa]
2017-08-20 10:31:01:101 852 8dc PT +++++++++++  PT: Synchronizing server updates  +++++++++++
2017-08-20 10:31:01:101 852 8dc PT  + Offline serviceId = {6FE78E7E-0162-4918-ABB1-2BAD7BF6D99C}
2017-08-20 10:31:01:101 852 8dc PT WARNING: Cached cookie has expired or new PID is available
2017-08-20 10:31:12:523 852 8dc PT  + SyncUpdates round trips: 4
2017-08-20 10:31:24:257 852 8dc Handler FATAL: UH: 0x800f0823: EvaluateApplicability failed in CCbs::EvaluateApplicability
2017-08-20 10:31:24:288 852 8dc Agent WARNING: Failed to evaluate Installed rule, updateId = {{C7DE6463-8565-4BC1-A722-6967E7569D32}.501}, hr = 800F0823
2017-08-20 10:31:37:008 852 8dc Handler FATAL: UH: 0x800f0823: EvaluateApplicability failed in CCbs::EvaluateApplicability
2017-08-20 10:31:37:039 852 8dc Agent WARNING: Failed to evaluate Installable rule, updateId = {{C7DE6463-8565-4BC1-A722-6967E7569D32}.501}, hr = 800F0823
2017-08-20 10:31:48:539 852 8dc Handler FATAL: UH: 0x800f0823: EvaluateApplicability failed in CCbs::EvaluateApplicability
2017-08-20 10:31:48:570 852 8dc PT +++++++++++  PT: Synchronizing extended update info  +++++++++++
2017-08-20 10:31:48:570 852 8dc PT  + Offline serviceId = {6FE78E7E-0162-4918-ABB1-2BAD7BF6D99C}
2017-08-20 10:31:50:195 852 8dc Agent  * Found 0 updates and 53 categories in search; evaluated appl. rules of 115 out of 273 deployed entities
2017-08-20 10:31:50:195 852 8dc Agent *********
2017-08-20 10:31:50:195 852 8dc Agent **  END  **  Agent: Finding updates [CallerId = wusa  Id = 1]
2017-08-20 10:31:50:195 852 8dc Agent *************
2017-08-20 10:31:50:210 852 8dc IdleTmr WU operation (CSearchCall::Init ID 1, operation # 8) stopped; does use network; is not at background priority
2017-08-20 10:31:50:210 852 8dc IdleTmr Decremented PDC RefCount for Network to 0
2017-08-20 10:31:50:210 852 8dc IdleTmr Decremented idle timer priority operation counter to 1
2017-08-20 10:31:50:242 2516 9c COMAPI >>--  RESUMED  -- COMAPI: Search [ClientId = wusa]
2017-08-20 10:31:50:242 2516 9c COMAPI  - Updates found = 0
2017-08-20 10:31:50:242 2516 9c COMAPI ---------
2017-08-20 10:31:50:242 2516 9c COMAPI --  END  --  COMAPI: Search [ClientId = wusa]
2017-08-20 10:31:50:242 2516 9c COMAPI -------------





참고:
https://support.microsoft.com/ko-kr/help/15356/windows-8-install-update-kb-2919355
http://mpain.tistory.com/138
https://www.wincert.net/forum/index.php?/topic/12229-windows-81-kb2919355-cant-intergrated/


[JHipster] mvnw 실행 시 'Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed' 오류




증상

JHipster 가 어떤건지 한번 볼까 싶어 받아서 예제에 있는대로 하나하나 따라하는데 아래와 같이 나오며 구동을 못시키는 상황이 되었다.




C:\Users\1004lucifer\IdeaProjects\jhipster-example>mvnw
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Jhipster 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> spring-boot-maven-plugin:1.5.4.RELEASE:run (default-cli) > test-compile @ jhipster >>>
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:copy-resources (default-resources) @ jhipster ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] Copying 14 resources
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ jhipster ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] Copying 14 resources
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ jhipster ---
[WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireJavaVersion failed with message:
You are running an older version of Java. JHipster requires at least JDK 1.8
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.575 s
[INFO] Finished at: 2017-08-20T16:12:37+09:00
[INFO] Final Memory: 25M/161M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce (enforce-versions) on project jhipster: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

C:\Users\1004lucifer\IdeaProjects\jhipster-example>















원인

>mvnw --debug  디버그옵션을 켜고 다시 수행을 해보니 JDK 1.8 이상의 버전에서 수행해야 한다고 알려준다.




C:\Users\1004lucifer\IdeaProjects\jhipster-example>mvnw --debug
Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-04T04:39:06+09:00)
Maven home: C:\Users\1004lucifer\.m2\wrapper\dists\apache-maven-3.5.0-bin\6ps54u5pnnbbpr6ds9rppcc7iv\apache-maven-3.5.0
Java version: 1.7.0_80, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_80\jre
Default locale: ko_KR, platform encoding: MS949
OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "windows"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG]   Imported: javax.enterprise.inject.* < plexus.core

...

[DEBUG] Adding failure due to exception
org.apache.maven.enforcer.rule.api.EnforcerRuleException: You are running an older version of Java. JHipster requires at least JDK 1.8
        at org.apache.maven.plugins.enforcer.AbstractVersionEnforcer.enforceVersion(AbstractVersionEnforcer.java:106)
        at org.apache.maven.plugins.enforcer.RequireJavaVersion.execute(RequireJavaVersion.java:65)
        at org.apache.maven.plugins.enforcer.EnforceMojo.execute(EnforceMojo.java:193)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
        at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:353)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:198)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.maven.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:39)
        at org.apache.maven.wrapper.WrapperExecutor.execute(WrapperExecutor.java:122)
        at org.apache.maven.wrapper.MavenWrapperMain.main(MavenWrapperMain.java:50)
[WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireJavaVersion failed with message:
You are running an older version of Java. JHipster requires at least JDK 1.8
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------








JDK1.8 설치 및 JAVA_HOME 환경변수까지 잡아준 후 다시 구동(>mvnw) 을 하니 정상적으로 수행이 되었다.