Skip to content
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

Unable to generate jar file for Fiesta-iot ontology #33

Open
madhumithajanarthanan opened this issue Dec 12, 2021 · 0 comments
Open

Unable to generate jar file for Fiesta-iot ontology #33

madhumithajanarthanan opened this issue Dec 12, 2021 · 0 comments

Comments

@madhumithajanarthanan
Copy link

Facing Compilation error while trying to generate jar file for fiesta ontology using OLGA

Steps to reproduce the behavior:

  1. Download fiesta-iot.owl from https://github.com/fiesta-iot/ontology
  2. Download and Unzip the OLGA Repo Master branch.
  3. Install the CORE and CLI packages,

Open command prompt from OLGA folder and give this command
java -jar OLGA-Cli/target/OLGA-Cli-0.0.6-with-dependencies.jar --code java --library rdf4j --name Fiesta --path OLGA-Cli/target/fiesta-iot.owl

I get the following error
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /G:/OLGA-master/OLGA-master/OLGA/fiesta-RDF4J-java/src/main/java/fiesta/rdf/model/Metadata.java:[17,8] class MetaData is public, should be declared in a file named MetaData.java
[ERROR] /G:/OLGA-master/OLGA-master/OLGA/fiesta-RDF4J-java/src/main/java/fiesta/rdf/model/IMetadata.java:[9,8] interface IMetaData is public, should be declared in a file named IMetaData.java
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE

Could someone please take a look on this and provide solution as soon as possible, it will be very much helpful.
Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant