-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
1.1.RC2
-
None
-
None
-
~/Projects/resteasy.scan> java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)mvn -version
Apache Maven 2.1.0 (r755702; 2009-03-18 15:10:27-0400)
Java version: 1.5.0_16
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x" version: "10.5.6" arch: "i386" Family: "unix"~/Projects/resteasy.scan> java -version java version "1.6.0_07" Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153) Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode) mvn -version Apache Maven 2.1.0 (r755702; 2009-03-18 15:10:27-0400) Java version: 1.5.0_16 Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home Default locale: en_US, platform encoding: MacRoman OS name: "mac os x" version: "10.5.6" arch: "i386" Family: "unix"
Setting the context-param resteasy.scan does not seem to pick up my annotated classes. If I specifically name them via resteasy.resource, everything works fine.
1. Download attached tarball (or get it from http://www.naildrivin5.com/resteasy.scan.tgz )
2. Extract
3. mvn clean jetty:run
4. In another terminal do curl http://localhost:8080/service_point/Blah/daily_reads
You will get a 404. If the class in question is specified in web.xml, the above curl request succeeds in calling the class' annotated methods.