Open e7 opened 4 years ago
I ran into the same problem. This is because, it appears that Jesque is treating the argument as an int
and looking for a constructor matching it, (in this case I could match it to a constructor with int as an argument type). I was able to work around the problem by making the constructor use java.lang.Number
as constructor argument type and using longValue
method to assign the class member.
There is a
public TestAction(long id);
constructor there actually, so I track code intonet.greghaines.jesque.utils.ReflectionUtils.findConstructor
, and found this: