Closed askmyhat closed 5 years ago
I have exactly the same problem. Steps I have done: 1) Got project from https://github.com/knowitall/openie.git 2) Downloaded all dependencies with 'sbt compile' 3) Tried to create a standalone jar with 'sbt clean compile assembly' --> Runs until: [info] - should instantiate and extract correctly [info] Run completed in 2 minutes, 53 seconds. [info] Total number of tests run: 1 [info] Suites: completed 1, aborted 0 [info] Tests: succeeded 1, failed 0, canceled 0, ignored 0, pending 0 [info] All tests passed. ... And then gets stuck here forever.
No jar gets created.
Could you please confirm the configuration - especially the operating system. Is it windows? If yes, Could you please once try running it on Linux
I am using Ubuntu. There is possible solution: http://stackoverflow.com/questions/35138628/openie-4-2-cant-generate-standalone-jar-using-sbt
I fixed the issue by simply using intellij idea instead and importing the project as sbt project - here compiling & building the jar works without a problem!
Use adequate java options -J-Xmx2700M or -J-Xmx10000M (depends on openie version) -Xmx4g -XX:+UseConcMarkSweepGC or -Xmx6g / -Xmx8g / -Xmx10g (depends on openie version)
It is advisable to use latest versions , as you may not be able to find some of the dependencies.
Nothing happens after tests.
The compilation was runned with
sbt clean compile assembly