user3408937
user3408937

Reputation: 49

NoClassDefFoundError at edu/knowitall/openie/openIECli

hi i am getting an error while running the OpenIE scala code in eclipse

https://github.com/knowitall/openie

Exception in thread "main" java.lang.NoSuchMethodError: edu.knowitall.tool.postag.Postagger: method ()V not found at edu.knowitall.tool.postag.ClearPostagger.(ClearPostagger.scala:15)

Upvotes: 0

Views: 145

Answers (1)

Himanshu Bhardwaj
Himanshu Bhardwaj

Reputation: 4123

Not familiar with scala project structure but looks similar to maven one.

Two points,

edu/knowitall/openie/openIECli, I see the class name is wrong should be edu/knowitall/openie/OpenIECli (case-sensitivity) . Although it should be a typo error, but better to check this one too.

which class are you trying to execute.

Also, you can refer to this link: How to solve java.lang.NoClassDefFoundError?

I suspect some problem with the build path, but need more details to look into.

Upvotes: 1

Related Questions