Comments (3)
@Hannabrahman l it looks like it found 20 errors. You should provide the full stack trace.
from ollie.
Hi @schmmd Thanks for your quick response. I am copying the full stack trace here but again I am not 100% sure if I did the process correctly to run the example in here:
[ERROR] error: error while loading CharSequence, class file '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/jre/lib/rt.jar(java/lang/CharSequence.class)' is broken
[INFO] (bad constant pool tag 18 at byte 10)
[ERROR] error: error while loading Comparator, class file '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/jre/lib/rt.jar(java/util/Comparator.class)' is broken
[INFO] (bad constant pool tag 18 at byte 20)
[ERROR] error: error while loading AnnotatedElement, class file '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/jre/lib/rt.jar(java/lang/reflect/AnnotatedElement.class)' is broken
[INFO] (bad constant pool tag 18 at byte 76)
[ERROR] error: error while loading Pattern, class file '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/jre/lib/rt.jar(java/util/regex/Pattern.class)' is broken
[INFO] (bad constant pool tag 18 at byte 1750)
[ERROR] /home/hannahbrahman/ROCstories/Ollie/ollie/core/src/main/scala/edu/knowitall/ollie/OllieExtractionInstance.scala:37: error: value matcher is not a member of java.util.regex.Pattern
[ERROR] passivePatternRegex.pattern.matcher(pat.pattern.serialize).matches() && (extr.rel.text.endsWith(" by"))
[ERROR] ^
[ERROR] /home/hannahbrahman/ROCstories/Ollie/ollie/core/src/main/scala/edu/knowitall/ollie/OllieExtractionInstance.scala:49: error: value matcher is not a member of java.util.regex.Pattern
[ERROR] activePatternRegex.pattern.matcher(pat.pattern.serialize).matches()
[ERROR] ^
[ERROR] /home/hannahbrahman/ROCstories/Ollie/ollie/core/src/main/scala/edu/knowitall/ollie/confidence/OllieFeatureSet.scala:36: error: overloaded method value replaceAllIn with alternatives:
[ERROR] (target: java.lang.CharSequence,replacer: scala.util.matching.Regex.Match => String)String <and>
[ERROR] (target: java.lang.CharSequence,replacement: String)String
[ERROR] cannot be applied to (String, java.lang.String)
[ERROR] val trimmed = leadingBe.replaceAllIn(trailingPrep.replaceAllIn(inst.extr.rel.text, ""), "")
[ERROR] ^
[ERROR] /home/hannahbrahman/ROCstories/Ollie/ollie/core/src/main/scala/edu/knowitall/openparse/BuildPatterns.scala:57: error: type mismatch;
[ERROR] found : String
[ERROR] required: java.lang.CharSequence
[ERROR] graph.nodes.exists(node => "(?i)^VB".r.findFirstIn(node.postag).isDefined)
[INFO] ^
[ERROR] /home/hannahbrahman/ROCstories/Ollie/ollie/core/src/main/scala/edu/knowitall/openparse/bootstrap/FindCommon.scala:19: error: value matcher is not a member of java.util.regex.Pattern
[ERROR] part.filter { case (pos, tok, lem) => !target.pattern.matcher(pos).matches}
[ERROR] ^
[ERROR] /home/hannahbrahman/ROCstories/Ollie/ollie/core/src/main/scala/edu/knowitall/openparse/bootstrap/FindTargetExtractions.scala:100: error: value mkString is not a member of Any
[ERROR] val relcleanLemmaString = relcleanLemmas.mkString(" ")
[ERROR] ^
[ERROR] /home/hannahbrahman/ROCstories/Ollie/ollie/core/src/main/scala/edu/knowitall/openparse/eval/RankPatterns.scala:41: error: could not find implicit value for parameter num: Numeric[Int]
[ERROR] val yld = scoreds.map(scored => if (scored.score.getOrElse(throw new IllegalArgumentException("unscored extraction: " + scored))) 1 else 0).sum
[ERROR] ^
[ERROR] /home/hannahbrahman/ROCstories/Ollie/ollie/core/src/main/scala/edu/knowitall/openparse/eval/RankPatterns.scala:52: error: diverging implicit expansion for type scala.math.Ordering[B]
[ERROR] starting with method Tuple2 in object Ordering
[ERROR] for ((pattern, (p, y)) <- grouped.toSeq.sortBy(_._2).reverse) {
[ERROR] ^
[ERROR] /home/hannahbrahman/ROCstories/Ollie/ollie/core/src/main/scala/edu/knowitall/openparse/eval/StatisticalSignificance.scala:59: error: could not find implicit value for parameter num: Numeric[Double]
[ERROR] val average = differences.sum / differences.size.toDouble
[ERROR] ^
[ERROR] /home/hannahbrahman/ROCstories/Ollie/ollie/core/src/main/scala/edu/knowitall/openparse/eval/StatisticalSignificance.scala:61: error: value >= is not a member of Nothing
[ERROR] val pscore = normed.count(_ >= difference).toDouble / normed.size.toDouble
[ERROR] ^
[ERROR] /home/hannahbrahman/ROCstories/Ollie/ollie/core/src/main/scala/edu/knowitall/openparse/extract/TemplateExtractor.scala:123: error: type mismatch;
[ERROR] found : String
[ERROR] required: java.lang.CharSequence
[ERROR] var rel = group.replaceAllIn(template, (gm: Regex.Match) => matchGroup(gm.group(1))
[ERROR] ^
[ERROR] /home/hannahbrahman/ROCstories/Ollie/ollie/core/src/main/scala/edu/knowitall/openparse/extract/TemplateExtractor.scala:44: error: type mismatch;
[ERROR] found : java.lang.String
[ERROR] required: java.lang.CharSequence
[ERROR] val trailingPrep = TemplateExtractor.trailingPreposition.findFirstIn(template.serialize)
[ERROR] ^
[ERROR] /home/hannahbrahman/ROCstories/Ollie/ollie/core/src/main/scala/edu/knowitall/openparse/template/BuildTemplates.scala:323: error: could not find implicit value for parameter num: Numeric[Int]
[ERROR] assume(result.values.iterator.map(_.count).sum == histogram.iterator.map(_._2.count).sum)
[ERROR] ^
[ERROR] /home/hannahbrahman/ROCstories/Ollie/ollie/core/src/main/scala/edu/knowitall/openparse/template/BuildTemplates.scala:361: error: could not find implicit value for parameter num: Numeric[Int]
[ERROR] assume(result.values.iterator.map(_.count).sum == histogram.iterator.map(_._2.count).sum)
[ERROR] ^
[ERROR] /home/hannahbrahman/ROCstories/Ollie/ollie/core/src/main/scala/edu/knowitall/openparse/template/BuildTemplates.scala:411: error: could not find implicit value for parameter num: Numeric[Int]
[ERROR] logger.info((histogram.values.iterator.map(_.count).sum - filtered.values.iterator.map(_.count).sum).toString + " items removed.")
[ERROR] ^
[ERROR] /home/hannahbrahman/ROCstories/Ollie/ollie/core/src/main/scala/edu/knowitall/openparse/template/GeneralizeTemplate.scala:88: error: could not find implicit value for parameter num: Numeric[Double]
[ERROR] if (overlaps.iterator.map(_._2).sum > 0.75) {
[ERROR] ^
[ERROR] 20 errors found
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ollie-core 1.0.4-SNAPSHOT .......................... FAILURE [ 11.231 s]
[INFO] ollie-app 1.0.1-SNAPSHOT ........................... SKIPPED
[INFO] ollie 1.0.0-SNAPSHOT ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.417 s
[INFO] Finished at: 2018-12-18T17:09:11-08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.1.1:compile (default) on project ollie-core_2.9.2: wrap: org.apache.commons.exec.ExecuteException: Process exited with an error: 1(Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Thanks for your help.
from ollie.
Ollie doesn't work with Java 8. I would try running it inside a Java 7 Docker container.
There are various issues that report the same: #32
There are instructions for how to run Ollie using Docker in the README.
from ollie.
Related Issues (20)
- Ollie mishandles parentheses
- Ollie screws up "not"
- Ollie mishandles 'and' in relation HOT 2
- Ollie doesn't attach of in prepc_of
- Switch to ClearParser HOT 3
- Expand rel/arg in uncollapsed graph
- Ollie sometimes inserts "be" over conjunction edge HOT 2
- Ollie croaks on null HOT 3
- My ollie can't work. HOT 2
- Ollie doesn't build correctly
- Error when creating dependency graph
- How to make Ollie or OpenIE work with medium size of data in Java project HOT 6
- Is there has any code about Open Pattern Learning? HOT 1
- What can I do to train a model?
- Java Version for Successful Build HOT 1
- Build fails with Java 1.8.0_92-b14, Mac Sierra HOT 3
- Compile Error in JavaOllieWrapper.java HOT 6
- Whether is the tool suitable for chinese? HOT 1
- can i use the model in chinese. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ollie.