[rules-users] Uploading models to Guvnor

Esteban Aliverti esteban.aliverti at gmail.com
Sun Jul 25 18:23:15 EDT 2010


It looks like your classes are not defined inside a package, or your jar
file is malformed.
Please try to define your classes inside a package and try again.

Best,

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


2010/7/25 james corrigan <jamescorrig at gmail.com>

> Hi Mark, Esteban,
>
> I recreated the jar and it does contain class files with no manifest file.
> It has four classes: Temperature, Room, ServerGUI and Fan - i have included
> it. The four appear in Imported types of the package main menu but i still
> get the same error when i try to save and validate configuration.
>
> Kind regards,
> James.
>
> 2010/7/24 Mark Proctor <mproctor at codehaus.org>
>
>  normally this means someone uploaded a .jar of .java files, not .class.
>> You need to compile the .java files in the .jar.
>>
>> Mark
>>
>> On 24/07/2010 22:56, Esteban Aliverti wrote:
>>
>> Could you please post your jar here?
>>
>> El jul 24, 2010 4:24 p.m., "james corrigan" <jamescorrig at gmail.com>
>> escribió:
>>
>> Hi All,
>> I am having severe amount of trouble trying to get started in Guvnor, i
>> cannot load any jar files at all - i can upload them but not use them when i
>> try write a guided rule it tells me that no models are loaded even though
>> Guvnor is telling me its there.
>> I create a new package, then upload my jar file, then i add a category and
>> try to save but get the following
>> error:
>>
>>   "Unable to validate package configuration (eg, DSLs, models) for
>> [Drols]. Suggestion completions may not operate correctly for graphical
>> editors for this package."
>>
>> I am running out of time plus patience trying to get this to work, i have
>> been following the book: JBoss Drools Business Rules, and the online
>> documentation but to no avail.
>>
>> Any help is much appreciated.
>>
>> Kind regards,
>> James.
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>> _______________________________________________
>> rules-users mailing listrules-users at lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>
> _______________________________________________
> 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/20100725/9a255977/attachment.html 


More information about the rules-users mailing list