메뉴 건너뛰기

Bigdata, Semantic IoT, Hadoop, NoSQL

Bigdata, 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


번호 제목 글쓴이 날짜 조회 수
35 .git폴더를 삭제하고 다시 git에 추가하고 서버에 반영하는 방법 총관리자 2017.06.19 4075
34 [sbt] sbt-assembly를 이용하여 실행에 필요한 모든 j라이브러리를 포함한 fat jar파일 만들기 총관리자 2016.07.11 1738
33 build.gradle을 pom.xml로 변환하는 방법 총관리자 2016.08.18 1143
32 원격 리포지토리에서 최초 clone시 Permission denied (publickey). 오류발생시 조치사항 총관리자 2017.06.20 871
31 ubuntu에 maven 3.6.1설치 및 환경변수 설정 총관리자 2019.06.02 856
30 [SBT] SBT 사용법 정리(링크) 총관리자 2016.08.04 839
29 springframework를 이용한 war를 생성하는 build.gradle파일(참고용) 총관리자 2016.08.19 650
28 spark, kafka, mariadb, jena, springframework등을 이용하여 공통모듈을 jar로 만들기 위한 build.gradle파일(참고용) 총관리자 2016.08.19 611
27 [SBT] assembly시 "[error] deduplicate: different file contents found in the following:"오류 발생시 조치사항 총관리자 2016.08.04 577
26 compile할때와 exclude할때 대상을 표현하는 명칭이 다르므로 주의할것 총관리자 2016.08.10 503
» Java 8에서 pom.xml에 JavaDoc 관련 태그가 설정되어 있으나 오류등으로 실패하면 나머지 Maven작업이 종료되는 문제 해결 방법 총관리자 2017.01.24 432
24 git설명 한글판 총관리자 2015.12.09 358
23 Eclipse 에서 bitbucket.org 연동 하기 file 총관리자 2017.06.08 269
22 centos에 sbt 0.13.5 설치 총관리자 2016.05.30 251
21 pom.xml에서 build.gradle로 변환 총관리자 2015.09.14 201
20 git 초기화(Windows에서 Git Bash사용) 총관리자 2016.11.17 197
19 build할때 unmappable character for encoding MS949 에러 발생시 조치사항 총관리자 2016.08.03 178
18 spark submit용 jar파일을 만드는 sbt 용 build.sbt설정 파일(참고용) 총관리자 2016.08.19 161
17 여러가지 방법으로 특정 jar파일을 exclude하지 못하는 경우 해당 jar파일을 제외시키는 방법 총관리자 2016.08.11 119
16 .gitignore파일에 지정되지 않은 파일이 ignore되는 경우 확인방법 총관리자 2016.11.22 107

A personal place to organize information learned during the development of such Hadoop, Hive, Hbase, Semantic IoT, etc.
We are open to the required minutes. Please send inquiries to gooper@gooper.com.

위로