[
https://issues.jboss.org/browse/RTGOV-271?page=com.atlassian.jira.plugin....
]
RH Bugzilla Integration commented on RTGOV-271:
-----------------------------------------------
Mario Fusco <mfusco(a)redhat.com> made a comment on [bug
1006709|https://bugzilla.redhat.com/show_bug.cgi?id=1006709]
Quick premise: I'd need to reproduce this issue to have a full understanding of what
is going wrong, but at the moment I don't know how, so this comment will be based on
the following assumptions (that could be very likely wrong):
1. You have the kie-ci module in your classpath: org.kie.scanner.MavenClassLoaderResolver
and org.kie.scanner.ArtifactResolver classes that I can see in the Exception stack belongs
to that module, so this is hardly rebuttable.
2. Conversely you don't have aether-api in your classpath, or you have a different
(older?) version from the 1.13.1 used by kie-ci and this is why you are getting that
NoClassDefFoundError
3. Since aether-api is a dependency of kie-ci you explicitly excluded it from your pom
file
If this is true, and you don't want to depend on aether, the quickest solution (that
doesn't require any change to your code) is to just also exclude kie-ci on your
classpath. In fact our ServiceRegistry is automatically choosing the
MavenClassLoaderResolver class as implementation class for the ClassLoaderResolver service
only because it can find it in the classpath. If it couldn't it would select the
NoDepsClassLoaderResolver instead that doesn't require any aether dependency.
To cut it short, either have both kie-ci and aether-api in your classpath or none of
them.
I hope this helps, but again if my assumptions are wrong please provide a test case that
could allow me to investigate this issue in more details.
Drools 6.0.0.CR2 shows up a dependency on aether that is not packaged
in the swyd drools module
-----------------------------------------------------------------------------------------------
Key: RTGOV-271
URL:
https://issues.jboss.org/browse/RTGOV-271
Project: RTGov (Run Time Governance)
Issue Type: Bug
Reporter: Gary Brown
Assignee: Gary Brown
Fix For: 2.0.0.M1
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira