[ 
https://issues.apache.org/jira/browse/SM-1972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated SM-1972:
-------------------------------------

    Affects Version/s:     (was: 3.3.3)
                       3.3.2
        Fix Version/s:     (was: 3.3.3)
                       3.4

> Missing javax.annotation causes exceptions on AIX
> -------------------------------------------------
>
>                 Key: SM-1972
>                 URL: https://issues.apache.org/jira/browse/SM-1972
>             Project: ServiceMix
>          Issue Type: Bug
>    Affects Versions: 3.3.2
>            Reporter: Gert Vanthienen
>            Assignee: Gert Vanthienen
>             Fix For: 3.4
>
>
> When running the build on AIX, you run into the below exception for the 
> bridge integration tests:
> {noformat}
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'org.apache.activemq.xbean.XBeanBrokerService#0' 
> defined in class path resource [integrationTest.xml]: Initialization of bean 
> failed;
> nested exception is java.lang.TypeNotPresentException: Type 
> javax.annotation.PostConstruct not present
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
> ... 
> Caused by: java.lang.ClassNotFoundException: javax.annotation.PostConstruct
> at java.lang.Class.forNameImpl(Native Method)
> at java.lang.Class.forName(Class.java:163)
> at 
> com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:33)
> ... 45 more
> {noformat}
> For the IBM JDK, these annotations should be present even if they're not 
> actually used.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to