메뉴 건너뛰기

Cloudera, BigData, Semantic IoT, Hadoop, NoSQL

Cloudera CDH/CDP 및 Hadoop EcoSystem, Semantic IoT등의 개발/운영 기술을 정리합니다. gooper@gooper.com로 문의 주세요.


pom.xml파일에

아래오 같이 <failOnError>false</failOnError>를 추가해준다.

<plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>2.10.4</version>
                <configuration>
                    <encoding>UTF-8</encoding>
                    <aggregate>true</aggregate>
                    <failOnError>false</failOnError>
                </configuration>
                <executions>
                    <execution>
                        <id>attach-javadocs</id>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>


--오류내용--------

[INFO] Fork Value is true
     [java] 1?썡 24, 2017 3:01:47 ?삤?썑 java.util.prefs.WindowsPreferences <init>
     [java] 寃쎄퀬: Could not open/create prefs root node SoftwareJavaSoftPrefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
     [java] The following errors occurred during analysis:
     [java]   Cannot open codebase filesystem:C:devapache-maven-3.3.3repositoryorgapachehttpcomponentshttpclient4.5.2httpclient-4.5.2.jar
     [java]     java.util.zip.ZipException: invalid LOC header (bad signature)
     [java]       At java.util.zip.ZipFile.read(Native Method)
     [java]       At java.util.zip.ZipFile.access$1400(ZipFile.java:60)
     [java]       At java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:716)
     [java]       At java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:419)
     [java]       At java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
     [java]       At java.util.jar.Manifest$FastInputStream.fill(Manifest.java:441)
     [java]       At java.util.jar.Manifest$FastInputStream.readLine(Manifest.java:375)
     [java]       At java.util.jar.Manifest$FastInputStream.readLine(Manifest.java:409)
     [java]       At java.util.jar.Attributes.read(Attributes.java:376)
     [java]       At java.util.jar.Manifest.read(Manifest.java:199)
     [java]       At java.util.jar.Manifest.<init>(Manifest.java:69)
     [java]       At edu.umd.cs.findbugs.classfile.impl.ClassPathBuilder.scanJarManifestForClassPathEntries(ClassPathBuilder.java:752)
     [java]       At edu.umd.cs.findbugs.classfile.impl.ClassPathBuilder.processWorkList(ClassPathBuilder.java:627)
     [java]       At edu.umd.cs.findbugs.classfile.impl.ClassPathBuilder.build(ClassPathBuilder.java:226)
     [java]       At edu.umd.cs.findbugs.FindBugs2.buildClassPath(FindBugs2.java:677)
     [java]       At edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:218)
     [java]       At edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:402)
     [java]       At edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1200)
     [java]   Cannot open codebase filesystem:C:devapache-maven-3.3.3repositoryorgapachehttpcomponentshttpcore4.4.4httpcore-4.4.4.jar
     [java]     java.util.zip.ZipException: invalid LOC header (bad signature)
     [java]       At java.util.zip.ZipFile.read(Native Method)
     [java]       At java.util.zip.ZipFile.access$1400(ZipFile.java:60)
     [java]       At java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:716)
     [java]       At java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:419)
     [java]       At java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
     [java]       At java.util.jar.Manifest$FastInputStream.fill(Manifest.java:441)
     [java]       At java.util.jar.Manifest$FastInputStream.readLine(Manifest.java:375)
     [java]       At java.util.jar.Manifest$FastInputStream.readLine(Manifest.java:409)
     [java]       At java.util.jar.Attributes.read(Attributes.java:376)
     [java]       At java.util.jar.Manifest.read(Manifest.java:199)
     [java]       At java.util.jar.Manifest.<init>(Manifest.java:69)
     [java]       At edu.umd.cs.findbugs.classfile.impl.ClassPathBuilder.scanJarManifestForClassPathEntries(ClassPathBuilder.java:752)
     [java]       At edu.umd.cs.findbugs.classfile.impl.ClassPathBuilder.processWorkList(ClassPathBuilder.java:627)
     [java]       At edu.umd.cs.findbugs.classfile.impl.ClassPathBuilder.build(ClassPathBuilder.java:226)
     [java]       At edu.umd.cs.findbugs.FindBugs2.buildClassPath(FindBugs2.java:677)
     [java]       At edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:218)
     [java]       At edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:402)
     [java]       At edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1200)
[INFO] Done FindBugs Analysis....
[INFO] 
[INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ halyard-strategy >>>
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.6.201602180812:prepare-agent (default) @ halyard-strategy ---
[INFO] argLine set to -javaagent:C:\dev\apache-maven-3.3.3\repository\org\jacoco\org.jacoco.agent\0.7.6.201602180812\org.jacoco.agent-0.7.6.201602180812-runtime.jar=destfile=C:\Users\gooper\git\Halyard\strategy\target\jacoco.exec,includes=com/msd/gin/halyard/**
[INFO] 
[INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ halyard-strategy <<<
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ halyard-strategy ---
[INFO] Building jar: C:UsersgoopergitHalyardstrategytargethalyard-strategy-1.1-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-javadoc-plugin:2.10.4:jar (attach-javadocs) @ halyard-strategy ---
[INFO] 
Loading source files for package com.msd.gin.halyard.strategy.collections...
Loading source files for package com.msd.gin.halyard.strategy...
2 errors
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] halyard ............................................ SUCCESS [  4.627 s]
[INFO] halyard-common ..................................... SUCCESS [ 16.009 s]
[INFO] halyard-strategy ................................... FAILURE [ 13.019 s]
[INFO] halyard-sail ....................................... SKIPPED
[INFO] halyard-tools ...................................... SKIPPED
[INFO] halyard-sdk ........................................ SKIPPED
[INFO] halyard-webapps .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 33.962 s
[INFO] Finished at: 2017-01-24T15:01:57+09:00
[INFO] Final Memory: 37M/326M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar (attach-javadocs) on project halyard-strategy: MavenReportException: Error while generating Javadoc:
[ERROR] Exit code: 1 - error: error reading C:devapache-maven-3.3.3repositoryorgapachehttpcomponentshttpcore4.4.4httpcore-4.4.4.jar; invalid LOC header (bad signature)
[ERROR] error: error reading C:devapache-maven-3.3.3repositoryorgapachehttpcomponentshttpclient4.5.2httpclient-4.5.2.jar; invalid LOC header (bad signature)
[ERROR] 
[ERROR] Command line was: C:devjdk1.8.0_60jre..binjavadoc.exe @options @packages
[ERROR] 
[ERROR] Refer to the generated Javadoc files in 'C:UsersgoopergitHalyardstrategytargetapidocs' dir.
[ERROR] -> [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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :halyard-strategy


번호 제목 날짜 조회 수
361 beeline으로 접근시 "User: gooper is not allowed to impersonate anonymous (state=08S01,code=0)"가 발생하면서 "No current connection"이 발생하는 경우 조치 2018.04.15 491
360 S2RDF를 실행부분만 추출하여 1건의 triple data를 HDFS에 등록, sparql을 sql로 변환, sql실행하는 방법및 S2RDF소스 컴파일 방법 2016.06.15 492
359 like검색한 결과를 기준으로 집계를 수행하는 java 소스 2016.12.19 493
358 source, sink를 직접 구현하여 사용하는 예시 2019.05.30 493
357 System Properties Comparison Elasticsearch vs. Hive vs. Jena file 2016.03.10 494
356 Hadoop의 Datanode를 Decommission하고 나서 HBase의 regionservers파일에 해당 노드명을 지웠는데 여전히 "Dead regionser"로 표시되는 경우 처리 2018.01.25 494
355 fuseki가 제공하는 web ui를 통해서 dataset를 remove->create할 경우 동일한 동일한 이름으로 지정했을때 fuseki-server.jar가 뜨지 않는 현상 2017.02.03 497
354 fuseki에 update하는 방법(java api이용)및 주의 사항 2015.12.30 498
353 [tomcat] logrotate를 이용하여 catalina.out로그파일 일별로 로테이션 저장하기 file 2017.01.18 499
352 [개발] 온라인 IDE - 개발 환경 구축 없어 어디서나 웹브라우저로 개발하기 2022.05.02 499
351 java.lang.IllegalArgumentException: Does not contain a valid host:port authority: master 오류해결방법 2015.05.06 502
350 update(update와 delete->insert)사용시 주의/참고사항 2016.01.06 504
» Java 8에서 pom.xml에 JavaDoc 관련 태그가 설정되어 있으나 오류등으로 실패하면 나머지 Maven작업이 종료되는 문제 해결 방법 2017.01.24 504
348 [application수행 로그]Failed to read the application application_123456789012_123456시 조치 방법 2022.03.21 506
347 Scala버젼 변경 혹은 상황에 맞게 Spark소스 컴파일하기 2016.05.31 507
346 DeviceType이 o:motion-sensor_33 이거나 o:motion-sensor_32 경우의 sparql문장은 다음과 같다. 2017.08.16 508
345 [Cloudera 6.3.4, Kudu]]Service Monitor에서 사용하는 metric중에 일부를 blacklist로 설정하여 모니터링 정보 수집 제외하는 방법 2022.07.08 508
344 Hadoop - 클러스터 세팅및 기동 2015.04.28 509
343 Elastic Search For Hadoop 2.2.0설치하기(5대 클러스터링) 2016.04.04 511
342 elasticsearch 기동시 permission denied on key 'vm.max_map_count' 오류발생시 조치사항 2017.06.23 511
위로