users@jersey.java.net

[Jersey] Re: How can download a compiled version of jersey 1.10 (snapshot)

From: Pavel Bucek <pavel.bucek_at_oracle.com>
Date: Wed, 26 Oct 2011 11:34:37 +0200

Yep, that is kind of recent change, you need to have jersey-servlet on
your classpath as well.

Hope it works for you now.

Regards,
Pavel

On 10/26/11 11:23 AM, Jose Antonio Illescas Del Olmo wrote:
> Sorry, I not include;
>
> · jersey-servlet
>
> that includes this class
>
> On 26/10/2011 11:19, Jose Antonio Illescas Del Olmo wrote:
>> Yes, I downloaded jersey-archive-1.10-20111025.114924-39.zip and use:
>>
>> * jersey-core-1.10-SNAPSHOT.jar
>> * jersey-guice-1.10-SNAPSHOT.jar
>> * jersey-server-1.10-SNAPSHOT.jar
>>
>>
>> I decompiled jersey-server-1.10-SNAPSHOT.jar and not include class
>> com.sun.jersey.server.impl.container.servlet.Include
>>
>> Not exits directory /servlet on /com/sun/jersey/server/impl/container
>>
>> This class (Include) must be on jersey-server jar?
>>
>>
>> On 26/10/2011 11:05, Pavel Bucek wrote:
>>> Are you sure you have downloaded latest version? There was an issue
>>> filled and fixed recently (JERSEY-791).
>>>
>>> this archive should be complete:
>>> https://maven.java.net/content/repositories/snapshots/com/sun/jersey/jersey-archive/1.10-SNAPSHOT/jersey-archive-1.10-20111025.114924-39.zip
>>>
>>> Pavel
>>>
>>> On 10/26/11 10:56 AM, Jose Antonio Illescas Del Olmo wrote:
>>>> Thank you Pavel,
>>>>
>>>> I downloaded jersey-archive and use their jars, but jboss-7 throws
>>>> next exception:
>>>>
>>>> Any idea or fix? (please)
>>>>
>>>> 10:52:42,172 ERROR [org.jboss.msc.service.fail] (MSC service thread
>>>> 1-1) MSC00001: Failed to start service
>>>> jboss.deployment.unit."ulysses.war".INSTALL:
>>>> org.jboss.msc.service.StartException in service
>>>> jboss.deployment.unit."ulysses.war".INSTALL: Failed to process
>>>> phase INSTALL of deployment "ulysses.war"
>>>> at
>>>> org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
>>>> at
>>>> org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
>>>> at
>>>> org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
>>>> at
>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>>>> [:1.6.0_23]
>>>> at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>>>> [:1.6.0_23]
>>>> at java.lang.Thread.run(Thread.java:679) [:1.6.0_23]
>>>> Caused by: java.lang.RuntimeException: Failed to load class
>>>> com.sun.jersey.server.impl.container.servlet.Include
>>>> at
>>>> org.jboss.as.ee.component.deployers.EEClassConfigurationProcessor$1.compute(EEClassConfigurationProcessor.java:141)
>>>> at
>>>> org.jboss.as.ee.component.deployers.EEClassConfigurationProcessor$1.compute(EEClassConfigurationProcessor.java:122)
>>>> at org.jboss.as.ee.component.LazyValue.get(LazyValue.java:40)
>>>> at
>>>> org.jboss.as.ee.component.EEApplicationDescription.getClassConfiguration(EEApplicationDescription.java:183)
>>>> at
>>>> org.jboss.as.ee.component.ComponentDescription.createConfiguration(ComponentDescription.java:153)
>>>> at
>>>> org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:70)
>>>> at
>>>> org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
>>>> ... 5 more
>>>> Caused by: java.lang.ClassNotFoundException:
>>>> com.sun.jersey.server.impl.container.servlet.Include from [Module
>>>> "deployment.ulysses.war:main" from Service Module Loader]
>>>> at
>>>> org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)
>>>> at
>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361)
>>>> at
>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333)
>>>> at
>>>> org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310)
>>>> at
>>>> org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103)
>>>> at java.lang.Class.forName0(Native Method) [:1.6.0_23]
>>>> at java.lang.Class.forName(Class.java:264) [:1.6.0_23]
>>>> at
>>>> org.jboss.as.ee.component.deployers.EEClassConfigurationProcessor$1.compute(EEClassConfigurationProcessor.java:139)
>>>> ... 11 more
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On 26/10/2011 10:13, Pavel Bucek wrote:
>>>>> Hi Jose,
>>>>>
>>>>> snapshots are being deployed to
>>>>> https://maven.java.net/content/repositories/snapshots/
>>>>>
>>>>> and you might use jersey-archive artifact, which should contain
>>>>> everything you need:
>>>>> https://maven.java.net/content/repositories/snapshots/com/sun/jersey/jersey-archive/1.10-SNAPSHOT/
>>>>>
>>>>> Regards,
>>>>> Pavel
>>>>>
>>>>> On 10/26/11 9:46 AM, Jose Antonio Illescas Del Olmo wrote:
>>>>>> I try jersey with jboss-7 and throws exception documented on Jira
>>>>>> (bug JERSEY-763), I like to check if version 1-10 (snapshot)
>>>>>> fixed this issue...
>>>>>>
>>>>>> thank you
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>