-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
log4j.properties file error #29
Comments
hi Sebastian, thanks for your interest on morph-rdb and forgive my late response. The lack of the log.properties file does not affect the functionalities of morph-rdb. You can find the example of log4j.properties here: https://github.com/oeg-upm/morph-rdb/blob/master/morph-examples/log4j.properties and put that file in your active directory. Please let me know if you need further assistance. |
Hi Fpriyatna, |
Hi goknurbati, You can add this log4j.properties file in the root folder of morph-rdb. Regards |
Hi fpriyatna, Regards... |
issue solved. |
There is a problem related with some missing file, I assume this file is this one https://github.com/oeg-upm/morph-rdb/blob/master/morph-base/src/main/scala/es/upm/fi/dia/oeg/morph/base/MorphProperties.scala around line 87. It needs the configurator file. I don't know if that is the solution, but please have a look at it. Here is the error:
INFO main - reading configuration file : project/run.r2rml.properties
log4j:ERROR Could not read configuration file [log4j.properties].
java.io.FileNotFoundException: log4j.properties (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at java.io.FileInputStream.(FileInputStream.java:93)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:306)
at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:324)
at es.upm.fi.dia.oeg.morph.base.engine.MorphBaseRunnerFactory.(MorphBaseRunnerFactory.scala:27)
at es.upm.fi.dia.oeg.morph.r2rml.rdb.engine.MorphRDBRunnerFactory.(MorphRDBRunnerFactory.scala:22)
at es.upm.fi.dia.oeg.morph.r2rml.rdb.engine.MorphCSVRunnerFactory.(MorphCSVRunnerFactory.scala:19)
at es.upm.fi.dia.oeg.morph.r2rml.rdb.engine.MorphCSVRunner$.apply(MorphCSVRunner.scala:34)
at es.upm.fi.dia.oeg.morph.r2rml.rdb.engine.MorphCSVRunner$.apply(MorphCSVRunner.scala:42)
at es.upm.fi.dia.oeg.morph.r2rml.rdb.engine.MorphCSVRunner$.main(MorphCSVRunner.scala:60)
at es.upm.fi.dia.oeg.morph.r2rml.rdb.engine.MorphCSVRunner.main(MorphCSVRunner.scala)
log4j:ERROR Ignoring configuration file [log4j.properties].
I'm using El Capitan OSX and java version "1.8.0_102"
Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)
I can't generate the output while this error exists.
Thanks.
The text was updated successfully, but these errors were encountered: