메뉴 건너뛰기

Bigdata, Semantic IoT, Hadoop, NoSQL

Bigdata, Hadoop ecosystem, Semantic IoT등의 프로젝트를 진행중에 습득한 내용을 정리하는 곳입니다.
필요한 분을 위해서 공개하고 있습니다. 문의사항은 gooper@gooper.com로 메일을 보내주세요.


*예제 : https://www.lagomframework.com/documentation/1.3.x/java/GettingStartedMaven.html


eclipe를 이용하여 building할때 pom.xml파일의 ${scala.binary.version}부분에 오류가 발생하면서 building이 되지 않는 경우는

pom.xml파일의 Overview를 열어서 중간의 Properties 부분에서 "Create"를 이용하여 Name에 scala.binary.version을 넣고 Value에 적용할 scala버젼을 등록하고(현재기준, 2.11 혹는 2.12를 지정) goal에 lagom:runAll를 입력하고 Run하면 빌드/실행까지 시켜준다.


* console에서 작업하는 경우는 "MAVEN_OPTS="-Xms512M -Xmx1024M -Xss2M -XX:MaxMetaspaceSize=1024M -Dscala.binary.version=2.11" mvn lagom:runAll"을 입력하여 실행시켜준다.



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

$ mvn lagom:runAll
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.artifactId' for com.lightbend.lagom:lagom-javadsl-api_${scala.binary.version}:jar with value 'lagom-javadsl-api_${scala.binary.version}' does not match a valid id pattern. @ com.example.hello:hello-api:[unknown-version], C:devworkspaceHelloLagommy-first-systemhello-apipom.xml, line 19, column 25
[ERROR] 'dependencies.dependency.version' for com.lightbend.lagom:lagom-javadsl-api_${scala.binary.version}:jar is missing. @ com.example.hello:hello-api:[unknown-version], C:devworkspaceHelloLagommy-first-systemhello-apipom.xml, line 17, column 21
[ERROR] 'dependencies.dependency.artifactId' for com.lightbend.lagom:lagom-javadsl-kafka-broker_${scala.binary.version}:jar with value 'lagom-javadsl-kafka-broker_${scala.binary.version}' does not match a valid id pattern. @ com.example.hello:hello-api:[unknown-version], C:devworkspaceHelloLagommy-first-systemhello-apipom.xml, line 23, column 25
[ERROR] 'dependencies.dependency.version' for com.lightbend.lagom:lagom-javadsl-kafka-broker_${scala.binary.version}:jar is missing. @ com.example.hello:hello-api:[unknown-version], C:devworkspaceHelloLagommy-first-systemhello-apipom.xml, line 21, column 21
[ERROR] 'dependencies.dependency.artifactId' for com.lightbend.lagom:lagom-javadsl-server_${scala.binary.version}:jar with value 'lagom-javadsl-server_${scala.binary.version}' does not match a valid id pattern. @ com.example.hello:hello-impl:[unknown-version], C:devworkspaceHelloLagommy-first-systemhello-implpom.xml, line 24, column 25
[ERROR] 'dependencies.dependency.version' for com.lightbend.lagom:lagom-javadsl-server_${scala.binary.version}:jar is missing. @ com.example.hello:hello-impl:[unknown-version], C:devworkspaceHelloLagommy-first-systemhello-implpom.xml, line 22, column 21
[ERROR] 'dependencies.dependency.artifactId' for com.lightbend.lagom:lagom-javadsl-persistence-cassandra_${scala.binary.version}:jar with value 'lagom-javadsl-persistence-cassandra_${scala.binary.version}' does not match a valid id pattern. @ com.example.hello:hello-impl:[unknown-version], C:devworkspaceHelloLagommy-first-systemhello-implpom.xml, line 28, column 25
[ERROR] 'dependencies.dependency.version' for com.lightbend.lagom:lagom-javadsl-persistence-cassandra_${scala.binary.version}:jar is missing. @ com.example.hello:hello-impl:[unknown-version], C:devworkspaceHelloLagommy-first-systemhello-implpom.xml, line 26, column 21
[ERROR] 'dependencies.dependency.artifactId' for com.lightbend.lagom:lagom-logback_${scala.binary.version}:jar with value 'lagom-logback_${scala.binary.version}' does not match a valid id pattern. @ com.example.hello:hello-impl:[unknown-version], C:devworkspaceHelloLagommy-first-systemhello-implpom.xml, line 32, column 25
[ERROR] 'dependencies.dependency.version' for com.lightbend.lagom:lagom-logback_${scala.binary.version}:jar is missing. @ com.example.hello:hello-impl:[unknown-version], C:devworkspaceHelloLagommy-first-systemhello-implpom.xml, line 30, column 21
[ERROR] 'dependencies.dependency.artifactId' for com.typesafe.play:play-netty-server_${scala.binary.version}:jar with value 'play-netty-server_${scala.binary.version}' does not match a valid id pattern . @ com.example.hello:hello-impl:[unknown-version], C:devworkspaceHelloLagommy-first-systemhello-implpom.xml, line 36, column 25
[ERROR] 'dependencies.dependency.version' for com.typesafe.play:play-netty-server_${scala.binary.version}:jar is missing. @ com.example.hello:hello-impl:[unknown-version], C:devworkspaceHelloLagommy-first-systemhello-implpom.xml, line 34, column 21
[ERROR] 'dependencies.dependency.artifactId' for com.lightbend.lagom:lagom-javadsl-testkit_${scala.binary.version}:jar with value 'lagom-javadsl-testkit_${scala.binary.version}' does not match a valid id pattern. @ com.example.hello:hello-impl:[unknown-version], C:devworkspaceHelloLagommy-first-systemhello-implpom.xml, line 40, column 25
[ERROR] 'dependencies.dependency.version' for com.lightbend.lagom:lagom-javadsl-testkit_${scala.binary.version}:jar is missing. @ com.example.hello:hello-impl:[unknown-version], C:devworkspaceHelloLagommy-first-systemhello-implpom.xml, line 38, column 21

번호 제목 글쓴이 날짜 조회 수
579 ubuntu에 maven 3.6.1설치 및 환경변수 설정 총관리자 2019.06.02 856
578 jdk 9이상 사용하려면 repository를 아래와 같이 지정해야한다. 총관리자 2019.06.02 71
577 source, sink를 직접 구현하여 사용하는 예시 총관리자 2019.05.30 395
576 kerberos설정된 상태의 spooldir->memory->hdfs로 저장하는 과정의 flume agent configuration구성 예시 총관리자 2019.05.30 171
575 hive테이블의 물리적인 위치인 HDFS에 여러개의 데이터 파일이 존재할때 한개의 파일로 merge하여 동일한 테이블에 입력하는 방법 총관리자 2019.05.23 640
574 하둡 클러스터 전체 노드를 다시 기동하면 invalidate metadata를 수행해야 데이터가 틀어지지 않는다. 총관리자 2019.05.20 114
573 Could not configure server becase SASL configuration did not allow the Zookeeper server to authenticate itself properly: javax.security.auth.login.LoginException: Checksum failed 총관리자 2019.05.18 434
572 json으로 존재하는 데이터 parsing하기 총관리자 2019.03.25 970
571 TransmitData() to failed: Network error: Recv() got EOF from remote (error 108) 오류 현상 총관리자 2019.02.15 357
570 [Oozie]Disk I/O error: Failed to open HDFS file dhfs://..../tb_aaa/....OPYING 총관리자 2019.02.15 311
569 kafka에서 메세지 중복 consume이 발생할 수 있는 상황 총관리자 2018.10.23 258
568 [sentry]role부여후 테이블명이 변경되어 오류가 발생할때 조치방법 총관리자 2018.10.16 215
567 hive metastore ERD file 총관리자 2018.09.20 725
566 Error: java.lang.RuntimeException: java.lang.OutOfMemoryError 오류가 발생하는 경우 총관리자 2018.09.20 215
565 physical memory used되면서 mapper가 kill되는 경우 오류 발생시 조치 총관리자 2018.09.20 1522
564 impala,hive및 hdfs만 접근가능하고 파일을 이용한 테이블생성가능하도록 hue 권한설정설정 총관리자 2018.09.17 356
563 cloudera(python 2.7.5)에서 anaconda3로 설치한 외부 python(3.6.6)을 이용하여 pyspark를 사용하는 설정 총관리자 2018.09.14 1084
562 ntp시간 맞추기 총관리자 2018.09.12 249
561 ubuntu 커널 업그레이드 방법 총관리자 2018.09.02 1416
560 oracle to hive data type정리표 총관리자 2018.08.22 764

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.

위로