-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.AbstractMethodError loading the cantaloupe index page #160
Comments
I can't reproduce this on my end, but the docs for AbstractMethodError say:
That leads me to wonder if you are doing some kind of hot redeploy? The following works for me, on
|
You're right, that's exactly what happened; sorry to bother you. |
Not for nothing, but I am getting this exact error when trying to deploy the 3.3.3 war from the released zip file and when packaging the 3.3 release branch to an existing Tomcat 7 container. Trying the |
Hi @whikloj, I've looked into this further and here are my findings: In version <= 3.3.x, Cantaloupe is using Restlet's Velocity extension to provide support for dynamic templates. Cantaloupe 3.3.2 is using Restlet 2.3.10, which depends on Velocity 1.7. In Cantaloupe 3.3.3, Restlet was upgraded to version 2.3.11 to fix #107. Restlet 2.3.11 (as I'm just now learning) depends on Velocity 2.0. This is a big upgrade and I don't know why they did this in a bugfix release. They didn't even mention it in their changelog, which is why I didn't know about it. Geez Louise! In summary: Cantaloupe <= 3.3.2 + Tomcat 7: works (The Restlet Velocity extension was recently removed in 3.4-SNAPSHOT, so that version isn't affected.) |
Thanks @adolski, I'm running an older RedHat 5 server and I am having some issues compiling (even with So I'll go back to 3.3.2 for now. Here are the tests failing...not a lot of useful information there.
|
I'm not sure about those failures, but they don't look very serious unless you expect to encounter unreadable content with FilesystemResolver or HttpResolver, and it could be the tests themselves that are at fault. You can always pass |
I am getting the same error when deploying the v3.3.3 according to the instructions on Ubuntu 16.04 LTS. v3.3.2 works as expected. Maybe consider reopening this issue since it seems to me that the latest released version simply does not work, at least not on Ubuntu. |
I can confirm that v3.3.4 works for me (4 for 4 servers I've deployed to so far). Thanks @adolski for doing the release. |
Good to hear, @RussellMcOrmond. BTW, would you mind if I added a link to your Docker configuration in the getting started guide? |
Sure, add to the guide. I'll let you know if our delegates script gets too complex to be a good example. |
We just updated to a build off the
develop
branch (to fix #159), and now when we load the root page of cantaloupe, we're seeing this exception:The text was updated successfully, but these errors were encountered: