Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Getting this error when running ultrawrap-compile
java.lang.RuntimeException: java.io.FileNotFoundException: 'W3CDirectMappingRules.drl' cannot be opened because it does not exist
at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:559)
at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:25)
at edu.utexas.cs.ultrawrap.compile.rules.DirectMappingEngine.readKnowledgeBase(DirectMappingEngine.java:140)
at edu.utexas.cs.ultrawrap.compile.rules.DirectMappingEngine.run(DirectMappingEngine.java:54)
at edu.utexas.cs.ultrawrap.compile.UltrawrapCompile.runDirectMapping(UltrawrapCompile.java:143)
at edu.utexas.cs.ultrawrap.compile.UltrawrapCompile.createPutativeOntology(UltrawrapCompile.java:113)
at edu.utexas.cs.ultrawrap.compile.CompileMain.main(CompileMain.java:290)
Caused by: java.io.FileNotFoundException: 'W3CDirectMappingRules.drl' cannot be opened because it does not exist
at org.drools.io.impl.ClassPathResource.getInputStream(ClassPathResource.java:104)
at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:287)
at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:488)
... 6 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment