Example code with imports for 3.01? #337
JamesTreleaven
started this conversation in
General
Replies: 2 comments 2 replies
-
Well that does sound like a project setup issue, namely you don't have EvalEx 3 on your classpath. The README does container the necessary Maven statement for that, do you have that? |
Beta Was this translation helpful? Give feedback.
2 replies
-
A colleague pointed out to me this morning that EvalEx 3 requires Java 11 but I was using Java 8. So I think that explains everything. Sorry for not checking that my dependencies were all fulfilled. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be nice if there was a complete example with import statements and a pom.xml file somewhere for 3.01. I have been using 2.5 for a long time but I am having a lot of trouble getting 3.01 going because I am guessing what my import statements should be.
When I do the following (in Scala):
import com.ezylang.evalex.Expression
val exp = new Expression(""abc" == "abc"")
I get the exception:
Caused by: java.lang.NoClassDefFoundError: com/ezylang/evalex/Expression
So a small complete example with import statements would really help me.
Beta Was this translation helpful? Give feedback.
All reactions