Look at the pom in that directory.

http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-servlets/7.3.0.v20110203/jetty-servlets-7.3.0.v20110203.pom

It lists the dependencies too.

If you use apache maven, it will automatically bring in the dependencies
for you.
If you use apache ivy, it will automatically bring in the dependencies for
you.
If you use apache buildr, it will automatically bring in the dependencies
for you.
If you use groovy gradle, it will automatically bring in the dependencies
for you.
if you use grails, it will automatically bring in the dependencies for you.
if you use scala sbt, it will automatically bring in the dependencies for
you.

if you are not using any of the above, you have to manage the dependencies
yourself.

--
Joakim Erdfelt <[email protected]>
webtide.com <http://www.webtide.com/>
Developer advice, services and support
from the Jetty & CometD experts
eclipse.org/jetty - cometd.org


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

> Makes sense - forgive my ignorance, where do I find them? This is where I
> found the servlet jar:
>
>
> http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-servlets/7.3.0.v20110203/
>
> Thanks
>
>
>
> On Fri, Jan 25, 2013 at 11:48 AM, Jesse McConnell <
> [email protected]> wrote:
>
>> 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
>>
>>
>
> _______________________________________________
> 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