[ 
https://issues.apache.org/jira/browse/LENS-1485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16270203#comment-16270203
 ] 

Raju Bairishetti commented on LENS-1485:
----------------------------------------

Looks like, it is an Issue is with enunciate plugin. Last few builds were 
failing with the same reason
{noformat}
Caused by: java.lang.NoClassDefFoundError: 
javax/annotation/security/RolesAllowed
        at 
com.webcohesion.enunciate.modules.jaxrs.model.ResourceMethod.getSecurityRoles(ResourceMethod.java:834)
        at 
com.webcohesion.enunciate.modules.jaxrs.api.impl.MethodImpl.getSecurityRoles(MethodImpl.java:144)
        ... 182 more
Caused by: java.lang.ClassNotFoundException: 
javax.annotation.security.RolesAllowed
        at 
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
{noformat}

We may need to add this dependency to enunciate plugin as a work around.  
Reference: https://github.com/stoicflame/enunciate/issues/763  

> Fix javadocs errors and warnings 
> ---------------------------------
>
>                 Key: LENS-1485
>                 URL: https://issues.apache.org/jira/browse/LENS-1485
>             Project: Apache Lens
>          Issue Type: Bug
>          Components: build
>            Reporter: Raju Bairishetti
>            Assignee: Raju Bairishetti
>             Fix For: 2.7
>
>         Attachments: LENS-1485.patch
>
>
> Right now, we are building and running Lens on only on java8 and higher 
> versions. We are not able to generate javadocs with java8 due to some new 
> rules/constraints on javadocs.
> Creating this jira for fixing the javadoc errors and warnings. We should fail 
> the build( <failOnError> ) in case of any errors while generating javadocs.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to