1
I am developing a Restful application, using eclipse and jersey (No use framework).
But I’m having a problem with @Path annotations, @GET. When I use these annotations there is an error in the line of the package within the class. The following error:
The type java.lang.Charsequence cannot be resolved. It is Indirectly referened from required . class file
And I believe that is why every time I start the server/ I run the application unable to access the data. Because every time q access to Uri that should return me the data I receive a
"HTTP Status 404- /Primeirorestfl".
Description The requested Resource is not available
All the jersey lib are added in the path and I’m using Tomcat 7 Codifying
line with error that I don’t understand:
Lib’s
You have placed the Jersey Libs inside the /WEB-INF/lib folder ?
– adelmo00
@adelmo00 yes, I put
– Leandro Macedo
You could post your code, including the Imports?
– Weslley Tavares
@Weslleytavares, one moment, I will send the code and the error q return
– Leandro Macedo
The error in Stacktrace refers to the missing library containing Faces Servlet. You can download it here: https://javaserverfaces.java.net/download.html
– adelmo00