We are getting closer :)
[ERROR] org.apache.wayang.api.JavaApiTest.testWordCountOnSparkAndJava Time
elapsed: 0.002 s <<< ERROR!
org.apache.wayang.core.api.exception.WayangException: Could not connect to
database
(jdbc:sqlite:/var/folders/n6/fcn2c03j2552rwhk0y1qjq640000gn/T/wayang-sqlite35905463478537189622db)
as null with driver org.sqlite.JDBC.
at org.apache.wayang.api.JavaApiTest.setUp(JavaApiTest.java:74)
Caused by: java.sql.SQLException: Error opening connection
at org.apache.wayang.api.JavaApiTest.setUp(JavaApiTest.java:74)
Caused by: java.lang.Exception: No native library is found for os.name=Mac and
os.arch=aarch64
at org.apache.wayang.api.JavaApiTest.setUp(JavaApiTest.java:74)
[INFO] wayang-api-scala-java_2.12 ......................... FAILURE [ 16.039 s]
No native library is found for os.name=Mac and os.arch=aarch64 - but API and
API Scala worked (they us sqlite, too)
Cheers,
—Alex
> On 14. Oct 2021, at 02:08, Bertty Contreras <[email protected]> wrote:
>
> I did some change and I uploaded to repository of apache and now I didn't
> get any error, but please try :D
>
> Best regards,
> Bertty
>
> On Wed, Oct 13, 2021 at 10:36 PM Gábor Gévay <[email protected]> wrote:
>
>> Hi Bertty,
>>
>> I tried building it with a clean local maven repo, but unfortunately
>> somehow it still shows some errors (I'm on Java 8):
>>
>> https://gist.githubusercontent.com/ggevay/21a49ceb72a6c7583cd040fc8692b88e/raw/dc8b0dfae8ba686c4bdc93a33fea3705d85c02ed/mvn_build.txt
>> It says "BUILD SUCCESS" at the end, but there are some errors in the
>> middle, e.g.:
>>
>> Downloaded from apache.snapshots:
>>
>> http://repository.apache.org/snapshots/org/apache/wayang/wayang-api-scala-java_2.12/0.6.0-SNAPSHOT/wayang-api-scala-java_2.12-0.6.0-20211013.174450-1.pom
>> (2.1 kB at 20 kB/s)
>> [WARNING] Unable to obtain POM for artifact:
>> org.apache.wayang:wayang-api-scala-java_2.12:jar:0.6.0-SNAPSHOT:test
>> org.apache.maven.project.ProjectBuildingException: Some problems were
>> encountered while processing the POMs:
>> [ERROR] 'dependencies.dependency.version' for
>> org.scala-lang:scala-library:jar is missing. @ line 51, column 17
>>
>> The second build doesn't have these errors.
>>
>> Best,
>> Gábor
>>
>>
>> Bertty Contreras <[email protected]> ezt írta (időpont: 2021. okt.
>> 13., Sze, 19:46):
>>>
>>> Hello Folks,
>>>
>>> I did some modifications to java profiles to avoid the issue like the one
>>> happened to Alex, and other minor things, I think if you try using a
>> clean
>>> "maven repository" you will not have any "ERROR", because I did some
>>> modifications to avoid that.
>>>
>>> Best regards,
>>> Bertty
>>>
>>> On Wed, Oct 13, 2021 at 12:21 PM Alexander Alten <[email protected]>
>> wrote:
>>>
>>>> Hey Bertty,
>>>>
>>>>
>>>>> On 13. Oct 2021, at 09:46, Alexander Alten <[email protected]> wrote:
>>>>>
>>>>> jdk8 [2]
>>>>
>>>> As noted in the mail ;) It’s just sqlite and the database, the other
>> jdk11
>>>> related one is just that spark < 3.x does not support jdk11 (first
>> link).
>>>>
>>>> openjdk version "1.8.0_302"
>>>> OpenJDK Runtime Environment (Zulu 8.56.0.23-CA-macos-aarch64) (build
>>>> 1.8.0_302-b08)
>>