You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by ramesh <my...@gmail.com> on 2012/07/09 19:04:47 UTC

unable to resolve import for @CrossOriginResourceSharing

Is annotation mechanism available for @CrossOriginResourceSharing ?


I was trying to follow this example but I am unable to resolve import 
for this.

Appreciate any help

regards
Ramesh

Re: unable to resolve import for @CrossOriginResourceSharing

Posted by ramesh <my...@gmail.com>.
On 07/09/2012 12:24 PM, Sergey Beryozkin wrote:
> Hi
> On 09/07/12 18:20, ramesh wrote:
>> On 07/09/2012 12:04 PM, ramesh wrote:
>>> Is annotation mechanism available for @CrossOriginResourceSharing ?
>>>
>>>
>>> I was trying to follow this example but I am unable to resolve import
>>> for this.
>>>
>>> Appreciate any help
>>>
>>> regards
>>> Ramesh
>> import org.apache.cxf.jaxrs.cors.CorsHeaderConstants;
>> import org.apache.cxf.jaxrs.cors.CrossOriginResourceSharing;
>>
>> Somehow even with cxf-rt-rs-security-cors dependency,
>> apache.cxf.jaxrs.cors is unresolved.
>>
>> Is there an alternative ?
>>
> The package is now 'org.apache.cxf.rs.security.cors', I updated the 
> wiki :-). Sorry about it
>
> Cheers, Sergey
>
>> regards,
>> Ramesh
>>
>
>
Thanks again for the awesome CXF support for free :)

regards,
Ramesh

Re: unable to resolve import for @CrossOriginResourceSharing

Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi
On 09/07/12 18:20, ramesh wrote:
> On 07/09/2012 12:04 PM, ramesh wrote:
>> Is annotation mechanism available for @CrossOriginResourceSharing ?
>>
>>
>> I was trying to follow this example but I am unable to resolve import
>> for this.
>>
>> Appreciate any help
>>
>> regards
>> Ramesh
> import org.apache.cxf.jaxrs.cors.CorsHeaderConstants;
> import org.apache.cxf.jaxrs.cors.CrossOriginResourceSharing;
>
> Somehow even with cxf-rt-rs-security-cors dependency,
> apache.cxf.jaxrs.cors is unresolved.
>
> Is there an alternative ?
>
The package is now 'org.apache.cxf.rs.security.cors', I updated the wiki 
:-). Sorry about it

Cheers, Sergey

> regards,
> Ramesh
>


-- 
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Re: unable to resolve import for @CrossOriginResourceSharing

Posted by ramesh <my...@gmail.com>.
On 07/09/2012 12:04 PM, ramesh wrote:
> Is annotation mechanism available for @CrossOriginResourceSharing ?
>
>
> I was trying to follow this example but I am unable to resolve import 
> for this.
>
> Appreciate any help
>
> regards
> Ramesh
import org.apache.cxf.jaxrs.cors.CorsHeaderConstants;
import org.apache.cxf.jaxrs.cors.CrossOriginResourceSharing;

Somehow even with cxf-rt-rs-security-cors dependency, 
apache.cxf.jaxrs.cors is unresolved.

Is there an alternative ?

regards,
Ramesh