geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevan Miller <kevan.mil...@gmail.com>
Subject Re: Does Wink comes with Geronimo-Tomcat 3.0 beta 1?
Date Fri, 10 Feb 2012 19:50:35 GMT
On Thu, Feb 9, 2012 at 7:31 PM, Teimatini Marin <tmarin@beuwa.com> wrote:
> Hello:
>
> I can read in the RELEASE_NOTES-3.0-beta-1.txt file the following:
> "GERONIMO-5096 Integrate Wink JAX-RS implementation into Geronimo. "
>
> My issue is that Geronimo is throwing the following exception when I tryed
> to deploy my first restfull ws:
> [ERROR] Caused by: java.lang.ClassNotFoundException:
> org.apache.wink.server.internal.servlet.RestServlet
> [ERROR] at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
> [ERROR] at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
> [ERROR] at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
> [ERROR] at
> org.apache.geronimo.hook.equinox.GeronimoClassLoader.loadClass(GeronimoClassLoader.java:85)
> [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
> [ERROR] at
> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:345)
> [ERROR] at
> org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
> [ERROR] at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1207)
> [ERROR] at
> org.apache.geronimo.web25.deployment.merge.annotation.ServletSecurityAnnotationMergeHandler.postProcessWebXmlElement(ServletSecurityAnnotationMergeHandler.java:52)
>
> If I package the wink jar into my war, the exception gone.
>
> So, the question here is:
> Do I really need to package wink jar into my WAR or I messed something?

Which Geronimo distribution are you using?
geronimo-tomcat7-javaee6-3.0-beta-1, for example, would have JAX-RS
support.

--kevan

Mime
View raw message