Something worth trying (it keeps catching me out) ...
If I have been adding & removing classes from a jar, I see this frequently. I worked
out that I need to open my Guvnor package and switch to the "edit" tab.
There's a list of "Imported Types". You may well find that 'missing'
facts are still in that list, so you just need to remove them.
Basically, if you remove a class from your model, the imported class doesn't get
dropped from this list automatically, and you see the class not found errors. When I get
these kinds of errors, I generally just remove all classes from that list and re-import
the POJO model jar, which automatically re-populates the list with the facts from my jar.
Steve
On 3 Sep 2012, at 12:17, "devan.vanreenen(a)gmail.com"
<devan.vanreenen(a)gmail.com> wrote:
Hi there,
Please confirm if anyone is able to assist.
I have uploaded several pojo model jars to Guvnor, and resolved all issues
when saving and validating the package configuration in Guvnor and no issue
when building packages.
I get a ClassNotFoundException for classes in a specific jar that I have
uploaded but when I download this jar from Guvnor and inspect jar those
classes are present.
As soon as i remove the rules that use objects from this problematic jar
then the rest of the rules work as expected
Do you have any suggestions on where I can start investigating this?
Please let me know if you require any further information.
Thanks and Regards
Devan
--
View this message in context:
http://drools.46999.n3.nabble.com/ClassNotFoundException-tp4019536.html
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users