[rules-users] Too agressive scanning of classes in KieModuleMetaDataImpl

Michael Anstis michael.anstis at gmail.com
Fri Mar 14 12:58:14 EDT 2014


I agree, reporting could be improved.

The problem is how to programmatically determine why a
NoClassDefinitionFound exception was thrown.



On 14 March 2014 12:35, vektory79 <vektory79 at gmail.com> wrote:

>
>
>
> 2014-03-14 13:23 GMT+04:00 manstis [via Drools] <[hidden email]<http://user/SendEmail.jtp?type=node&node=4028730&i=0>
> >:
>
>  The messages are produced as a consequence of your project's
>> dependencies.
>>
>> For example:
>>
>> Verification of class org.hibernate.metamodel.source.annotations.JandexHelper failed and will not be available for authoring.
>> Please check the necessary external dependencies for this project are configured correctly.
>>
>> This is caused by failure to effectively instantiate JandexHelper (see here <https://github.com/droolsjbpm/guvnor/blob/master/guvnor-project/guvnor-project-builder/src/main/java/org/guvnor/common/services/builder/Builder.java#L212>).
>>
>> You are right. But when I see, that
> org.hibernate.metamodel.source.annotations.JandexHelper can't be validated,
> how I can distinguish what exactly going wrong?
>
> Now I can determine, that ClassLoader doesn't find class
> org.jboss.jandex.AnnotationInstance in debug only.
>
>> If a class cannot be instantiated then it is not available for rule authoring. We show the warning to alert the user.
>>
>> The Project Editor only exposes course grained features for the average user. You can edit the underlying pom.xml, adding whatever fine-grained exclusions you may require, for your project using the Administration Perspective.
>>
>> Yes. I tried exclusions. It's really work now. Thank you to point me it
> feature.
>  I just missed the last changes.
>
>> There are some occasions when you receive an error popup. We are currently working to address this (they'll become errors in the Problems Panel).
>>
>> With kind regards,
>>
>> Mike
>>
>>
>>
>>
>
> ------------------------------
> View this message in context: Re: [rules-users] Too agressive scanning of
> classes in KieModuleMetaDataImpl<http://drools.46999.n3.nabble.com/Too-agressive-scanning-of-classes-in-KieModuleMetaDataImpl-tp4028687p4028730.html>
>
> Sent from the Drools: User forum mailing list archive<http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html>at Nabble.com.
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140314/54d7abee/attachment.html 


More information about the rules-users mailing list