메뉴 건너뛰기

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


번호 제목 날짜 조회 수
362 [shell script]test.txt에 space로 분리된 내용을 일어들이는 예제 2017.02.21 770
361 [shell script] 파일을 한줄씩 읽어서 파일내용으로 명령문 만들고 실행하는 shell script예제 2017.02.21 832
360 [vi]블럭 및 문서내 복사등에 관련된 명령어 2017.02.17 938
359 서버중 slave,worker,regionserver만 재기동해야 할때 필요한 기동스크립트및 사용방법 2017.02.03 820
358 fuseki가 제공하는 web ui를 통해서 dataset를 remove->create할 경우 동일한 동일한 이름으로 지정했을때 fuseki-server.jar가 뜨지 않는 현상 2017.02.03 831
357 magento2 2.1.3을 수동으로 설치하는 방법 2017.02.01 319
356 magento2 log파일 위치 2017.01.31 263
355 magento2 샘플데이타 설치 2017.01.31 189
354 magento2 설치후 초기화면이 깨지는 문제 file 2017.01.31 177
353 [Magento]php7에 Composer를 이용하여 Magento 2.1.3 설치 file 2017.01.30 1179
352 우분투 16.04 설치후 APM (Apache2, PHP, MySQL) 설치 2017.01.29 724
351 테이블의 row수를 빠르게 카운트 하는 방법 2017.01.26 253
350 파일명 혹은 확장자 일괄 변경하는 방법 2017.01.26 462
349 HDFS상의 /tmp폴더에 Permission denied오류가 발생시 조치사항 2017.01.25 491
348 [vi] test.nq파일에서 특정문자열(예, <>)을 찾아서 포함되는 라인을 삭제한 동일한 이름의 파일을 만드는 방법 2017.01.25 145
347 https://github.com/Merck/Halyard프로젝트 컴파일및 배포/테스트 2017.01.24 246
» Java 8에서 pom.xml에 JavaDoc 관련 태그가 설정되어 있으나 오류등으로 실패하면 나머지 Maven작업이 종료되는 문제 해결 방법 2017.01.24 552
345 [springframework]Caused by: org.mariadb.jdbc.internal.util.dao.QueryException: Could not read resultset: unexpected end of stream, read 0 bytes from 4 오류 발생시 조치사항 2017.01.23 955
344 federated query 예제 2017.01.19 925
343 /etc/logrotate.d 을 이용한 catalina.out 나누기 file 2017.01.19 388
위로