메뉴 건너뛰기

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


번호 제목 글쓴이 날짜 조회 수
420 여러 홈페이지를 운영하거나 혹은 서버에 가입한 사용자들에게 홈페이지 계정을 나누어 줄수 있도록 설정/계정 생성방법 총관리자 2018.01.23 281
419 Eclipse 에서 bitbucket.org 연동 하기 file 총관리자 2017.06.08 278
418 nc -l 7777 : 7777포트에서 입력을 받는다. 총관리자 2017.03.23 278
417 SPARQL의 유형, SPARQL 만들기등에 대한 설명 총관리자 2016.02.18 274
416 [sap] Error: java.io.IOException: SQLException in nextKeyValue 오류 발생 총관리자 2020.06.08 270
415 solr 데몬이 떠있는 동안 hadoop이 다운되는 경우 Index dir 'hdfs://mycluster/user/../core_node2/data/index/' of core 'gc_shard1_replica2' is already locked라논 오류가 발생하는데 이에 대한 조치사항 총관리자 2018.01.04 268
414 hbase가 기동시키는 zookeeper에서 받아드리는 ip가 IPv6로 사용되는 경우가 있는데 이를 IPv4로 강제적용하는 방법 총관리자 2015.05.08 267
413 [MemoryLeak분석]다수의 MongoCleaner 쓰레드가 Sleep상태에 있으면서 Full GC가 계속 발생되는 문제 해결방법 file 총관리자 2017.01.11 263
412 hive metastore db중 TBLS, TABLE_PARAMS테이블 설명 총관리자 2021.10.22 259
411 Windows7 64bit 환경에서 Apache Spark 2.2.0 설치하기 총관리자 2017.07.26 259
410 kafka에서 메세지 중복 consume이 발생할 수 있는 상황 총관리자 2018.10.23 258
409 fuseki에 update하는 방법(java api이용)및 주의 사항 총관리자 2015.12.30 258
408 sparql 1.1 BIND(if() as ?bind변수) 버그로 추정되는 문제점및 해결방안 -> select 문에 (if(,,) as ?bind변수) file 총관리자 2016.01.21 257
407 Not enough replica available for query at consistency QUORUM가 발생하는 경우 총관리자 2017.06.21 256
406 DB별 JDBC 드라이버 총관리자 2015.10.02 256
405 ?a는 모두 표시하면서 ?b와 비교하여 ?a=?b는 표시하고 ?a!=?b 인경우는 ""로 구성된 결과 집합을 구하는 경우 file 총관리자 2016.01.29 255
404 HiveServer2인증을 PAM을 이용하도록 설정하는 방법 총관리자 2018.07.21 254
403 How-to: Build a Complex Event Processing App on Apache Spark and Drools file 총관리자 2016.10.31 253
402 우분투에서 패키지 설치시 E: Sub-process /usr/bin/dpkg returned an error code 발생시 조치 총관리자 2017.05.02 252
401 centos에 sbt 0.13.5 설치 총관리자 2016.05.30 251

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.

위로