[
https://issues.jboss.org/browse/DROOLS-373?page=com.atlassian.jira.plugin...
]
Jinghai Rao commented on DROOLS-373:
------------------------------------
I have a problem with Drools Eclipse plugin which may relate to this bug. I imported the
attached project to eclipse as a Maven Project, and then converted it to a Drools project.
Then I got an error at the third line of package.drl: "global
org.apache.commons.lang3.tuple.ImmutablePair ip;". The error message is "Unable
to find class 'org.apache.commons.lang3.tuple.ImmutablePair'".
I have un-commented the dependency part in pom.xml, but it didn't change anything.
Actually I have this problem for all external classes, so I have to disable drools nature.
Despite the error message, I can run the project inside eclipse without any problem.
I think you guys are using eclipse too. Do you have the same problem?
Below is my environment:
* OS: Mac OS X 10.9.2
* Eclipse Kepler
* Drool Eclipse Plugin - JBoss Drools Core 6.0.1Final. (I don't have problem with
Drools Core 5.6.0Final)
* Java SE 1.7
* Drools Runtime 6.0.1
Thanks.
Kie Maven plugin don't use the project classpath
------------------------------------------------
Key: DROOLS-373
URL:
https://issues.jboss.org/browse/DROOLS-373
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Mario Fusco
Assignee: Mario Fusco
Fix For: 6.0.1.Final
Attachments: drools6scratch-kiemavenclasspath.zip
When compiling drls the kie maven plugin uses the plugin classpath instead of the project
one. This imply that it is necessary to duplicate the dependencies used by the kie project
also inside the plugin declaration, as reported by this email:
http://drools.46999.n3.nabble.com/rules-users-Drool-6-0-0-Final-2-questio...
--
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