I had the same problem a while back. I was informed that since Karaf also
supports Java 1.5 (which doesnt have these packages), they should not by
default be imported by Karaf.

See the following:

http://old.nabble.com/Karaf-1.4.0-and-ActiveMQ-5.3.1-td28191404.html

/Bengt

2010/6/14 Jean-Baptiste Onofré (JIRA) <[email protected]>

>
>    [
> https://issues.apache.org/jira/browse/FELIX-2409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12878569#action_12878569]
>
> Jean-Baptiste Onofré commented on FELIX-2409:
> ---------------------------------------------
>
> It sounds good for me.
>
> > javax.annotation not exported
> > -----------------------------
> >
> >                 Key: FELIX-2409
> >                 URL: https://issues.apache.org/jira/browse/FELIX-2409
> >             Project: Felix
> >          Issue Type: Bug
> >          Components: Karaf
> >    Affects Versions: karaf 1.6.0
> >         Environment: Windows / jre-1.6
> >            Reporter: Jean-Philippe CLEMENT
> >
> > Karaf config.properties does not export "jre-1.6" javax.annotation and
> javax.annotation.processing standard packages.
> > As they are part of the java 1.6 API it sounds normal to have them
> imported by default:
> >  javax.annotation, \
> >  javax.annotation.processing, \
> > Would it be possible to fix this?
> > Thanks.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>

Reply via email to