no, you just need to bring in the dependencies of the jetty-servlets module
as well

cheers,
jesse

--
jesse mcconnell
[email protected]


On Fri, Jan 25, 2013 at 10:46 AM, Mark Wyszomierski <[email protected]>wrote:

> Hi,
>
> I've got a jetty 7.3 instance. I wanted to add cross origin support for
> it, as in this article:
>
>     http://wiki.eclipse.org/Jetty/Feature/Cross_Origin_Filter
>
> I've added this jar to my WEB-INF /lib folder:
>
>     jetty-servlets-7.3.0.v20110203.jar
>
> and added the required filter entry in web.xml. When I start the server, I
> get the following exception:
>
>     INFO::jetty-7.3.0.v20110203
>     WARN::FAILED cross-origin: java.lang.NoClassDefFoundError:
> org/eclipse/jetty/util/log/Log
>     java.lang.NoClassDefFoundError: org/eclipse/jetty/util/log/Log
>         at
> org.eclipse.jetty.servlets.CrossOriginFilter.init(CrossOriginFilter.java:148)
>         at
> org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:99)
>         ...
>
> so looks like I need to have some sort of logging enabled in order to use
> the servlets jar. I'm not sure how to proceed from here, does anyone know
> of relevant documentation I can go through from here to get this working?
>
> Thanks
>
> _______________________________________________
> jetty-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
>
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to