메뉴 건너뛰기

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

번호 제목 글쓴이 날짜 조회 수
33 Class.forName을 이용한 메서드 호출 샘플소스 총관리자 2016.12.21 100
32 List<Map<String, String>>형태의 데이타에서 중복제거 하는 방법 총관리자 2016.12.23 1690
31 [tomcat] logrotate를 이용하여 catalina.out로그파일 일별로 로테이션 저장하기 file 총관리자 2017.01.18 318
30 [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 680
29 [메모리 덤프파일 분석] 총관리자 2017.03.31 198
28 [jsoup]Jsoup Tutorial 총관리자 2017.04.11 146
27 [Jsoup]특정페이지를 jsoup을 이용하여 파싱하는 샘플소스 총관리자 2017.04.18 205
26 python test.py실행시 "ImportError: No module named pyspark" 혹은 "ImportError: No module named py4j.protocol"등의 오류 발생시 조치사항 총관리자 2017.07.04 765
25 python3.5에서 numpy버젼에 따른 문제점을 조치하는 방법및 pymysql import할때 오류 발생시 조치사항 총관리자 2017.09.28 80
24 lagom의 online-auction-java프로젝트 실행시 "Could not find Cassandra contact points, due to: ServiceLocator is not bound" 경고 발생시 조치사항 총관리자 2017.10.12 219
23 lagom-linux용 build.sbt파일 내용 총관리자 2017.10.12 1300
22 lagom-windows용 build.sbt파일 내용 총관리자 2017.10.12 60
21 [gson]mongodb의 api를 이용하여 데이타를 가져올때 "com.google.gson.stream.MalformedJsonException: Unterminated object at line..." 오류발생시 조치사항 총관리자 2017.12.11 4410
» Lagom프레임웍에서 제공하는 HelloWorld 테스트를 수행시 [unknown-version]오류가 발생하면서 빌드가 되지 않는 경우 조치사항 총관리자 2017.12.22 56
19 windows7에서 lagom의 hello world를 빌드하여 실행하는 경우의 로그(mvn lagom:runAll -Dscala.binary.version=2.11) 총관리자 2017.12.22 152
18 lagom에서 제공하는 초기 생성기능을 이용하여 생성한 프로젝트의 소스 파악 총관리자 2018.01.16 111
17 Lagom에서 제공하는 Maven을 이용한 Hello프로젝트 자동생성 및 실행 총관리자 2018.01.19 81
16 maven을 이용하여 Hello world 서비스 자동 생성시 HelloServiceImpl.java에서 사용하는 getMessage() 와 getName() 이 정의되지 않은 오류가 발생시 조치방법 총관리자 2018.01.19 166
15 jdk 9이상 사용하려면 repository를 아래와 같이 지정해야한다. 총관리자 2019.06.02 71
14 scala-eclipse 다운로드 총관리자 2019.06.09 174

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.

위로