Closed emiliogq closed 4 years ago
It was caused by the missing last slash. The error message could be more specific.
if a Redmine server responds with "404 - not found", the library cannot reliably detect if this is due to some items not found by the REST API, or the URL itself is not valid. there could be all kinds of web servers sitting in front of Redmine, and they can return arbitrary text . feel free to submit a PR with some docs / code samples if you think some URLs are not valid in sample code.
Hi,
I need this method but when I tried it in a Test java class it throws me a Not found exception:
`` import com.taskadapter.redmineapi.RedmineException; import com.taskadapter.redmineapi.RedmineManager; import com.taskadapter.redmineapi.RedmineManagerFactory; import com.taskadapter.redmineapi.UserManager;
public class Test {
} `` com.taskadapter.redmineapi.NotFoundException: Server returned '404 not found'. response body:<!DOCTYPE html>
Page not found
The page you were trying to access doesn't exist or has been removed.
Back
The redmine version is 3.4.6
What's wrong?
Thanks in advance