last day (15 days later) » 

8:42 PM
2
A: javax.ws.rs.NotFoundException: RESTEASY003210: Could not find resource for full path: using RestEASY, Intellij IDEA 16.1, Tomcat 8.0.33

tairAs your web.xml suggests you are using a Servlets 3.1 compatible Tomcat, the configuration for Resteasy should be different. Please, refer to section 3.5. Standalone Resteasy in Servlet 3.0 Containers of official Resteasy documentation [1]. If you insist on the old style configuration, you shou...

 
thanks a lot for the answer. I have checked my Servlet version, and yeah, it's older than 3.0. so i have edited my web.xml and V1_Status class. but it still doen't work. would you be so kind to take a look one more time? thank you
 
@TyLeR please try the updated web.xml fragment. I added context-param per documentation
 
sad to say, but no. nothing has changed
 
@TyLeR why don't you want to use Servlet 3.0 features? Tomcat 8.0 supports it.
 
i have installed Tomcat version 8.0.33, this version of Tomcat uses Servlets ver. older than 3.0. okey, I will try tomorrow to install Tomcat younger version with younger version of Servlets. and will try to use resteasy-servlet-initializer the way that is written in the offcial documentation that you linked me. maybe it will work
 
8:42 PM
 
@TyLeR your link also says Tomcat 8.0 supports Servlets 3.1.
 
3.1>3.0 Quatation taken from document "The resteasy-servlet-initializer artifact will not work in Servlet versions older than 3.0."
 
@TyLeR OMG!!! 3.1 is younger than 3.0. Version is not Age =)
Man, do you want to chat about this? I have a spare minute here
 
i'd like to, but let me try this whole shit to do on the earlier version of Tomcat
i am fu****ing with this sh*t for the whole day, non-stop)))
i will keep you updated. i let you know tomorrow. okey?
 
8:46 PM
OK, just keep in mind -- no need to go to old stuff there
take the latest stable tomcat (8.0.33 in this case) and it will work, just follow carefully the part of docs I linked in the answer -- do it the new way
 
i have done that 5 times)))
 
did you separate Application and Rest resource classes?
 
yeap. I created a new MyApplication class, this class extends Application class. and my V1_Status class extends MyApplication. have I done this correct?
 
yep
 
))
 
8:49 PM
then put @ApplicationPath("/api") on MyApplication
 
yes
i've done so
and @Path("/v1/status") above V1_Status class
 
yes!
what is your Resteasy version?
3.0.16.Final?
 
+
 
then add this as maven dep:
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-servlet-initializer</artifactId>
<version>3.0.16.Final</version>
</dependency>
 
resteasy-jaxrs: 3.0.16
no((
 
8:54 PM
??
 
didn't work
 
:)
with Java you should be extra patient
 
xD i have noticed that)))
okey. red eyes and bed is waiting for me. i will try once more hundred times tomorrow
 
OK, lets do this: I'll put a working example to Github, tomorrow you can try that with a fresh mind. I'll put an app tested with Tomcat 8.0.33
Will put a link in comments
 
thank you for help. good night
 
8:56 PM
bye!
 
see ya
 

  last day (15 days later) »