See <https://builds.apache.org/job/CXF-3.0-deploy/org.apache.cxf.samples$jax_rs_minimal_osgi/476/>
------------------------------------------ [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building JAX-RS Minimal OSGI Demo 3.0.2-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jax_rs_minimal_osgi --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jax_rs_minimal_osgi --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ jax_rs_minimal_osgi --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 4 source files to <https://builds.apache.org/job/CXF-3.0-deploy/org.apache.cxf.samples$jax_rs_minimal_osgi/ws/target/classes> [INFO] ------------------------------------------------------------- [WARNING] COMPILATION WARNING : [INFO] ------------------------------------------------------------- [WARNING] Note: <https://builds.apache.org/job/CXF-3.0-deploy/org.apache.cxf.samples$jax_rs_minimal_osgi/ws/src/main/java/minimalosgi/Activator.java> uses unchecked or unsafe operations. [WARNING] Note: Recompile with -Xlint:unchecked for details. [INFO] 2 warnings [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] <https://builds.apache.org/job/CXF-3.0-deploy/org.apache.cxf.samples$jax_rs_minimal_osgi/ws/src/main/java/minimalosgi/SampleServlet.java>:[32,27] createApplicationInstance(java.lang.String,javax.servlet.ServletConfig) in minimalosgi.SampleServlet cannot override createApplicationInstance(java.lang.String,javax.servlet.ServletConfig) in org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet; attempting to use incompatible return type found : javax.ws.rs.core.Application required: org.apache.cxf.jaxrs.model.ApplicationInfo [ERROR] <https://builds.apache.org/job/CXF-3.0-deploy/org.apache.cxf.samples$jax_rs_minimal_osgi/ws/src/main/java/minimalosgi/SampleServlet.java>:[31,5] method does not override or implement a method from a supertype [INFO] 2 errors [INFO] -------------------------------------------------------------
