[rules-users] Guvnor example how to access rules in database instead sample.drl file?

Michael Anstis michael.anstis at gmail.com
Sat Sep 15 02:20:46 EDT 2012


Hi,

The answer is no.

We used to have Eclipse project examples, but many of our developers use
alternative IDEs.

Given this and the general  adoption of maven as a build system we moved to
what we have today.

sent on the move

On 15 Sep 2012 00:06, "Richard Yium" <rx74me at yahoo.com> wrote:

> Neither, I just created and java project and imported files into it.
> Is there a link with the example with the eclipse project files in it I
> can download so I can just import it as a existing project?
>
>   ------------------------------
> *From:* Michael Anstis <michael.anstis at gmail.com>
> *To:* Rules Users List <rules-users at lists.jboss.org>
> *Sent:* Friday, September 14, 2012 4:05 PM
> *Subject:* Re: [rules-users] Guvnor example how to access rules in
> database instead sample.drl file?
>
> Did you File->Import...->Maven->Existing Maven Projects? I believe this is
> offered with the M2Eclipse plugin.
>
> Or, did you perform mvn eclipse:eclipse to build a Eclipse .project file?
>
> Either of these will ensure your classpath dependencies are correctly
> setup.
>
> On 14 September 2012 21:54, richard <rx74me at yahoo.com> wrote:
>
> I fixed the above with including right jar.
> But now I get this.
> Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError:
> org/drools/util/FastClassLoader
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(Unknown Source)
>         at java.security.SecureClassLoader.defineClass(Unknown Source)
>         at java.net <http://java.net.urlclassloader.de/>.URLClassLoader.defineClass(Unknown
> Source)
>         at java.net.URLClassLoader.access$100(Unknown Source)
>         at java.net.URLClassLoader$1.run(Unknown Source)
>         at java.net.URLClassLoader$1.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net <http://java.net.urlclassloader.fi/>.URLClassLoader.findClass(Unknown
> Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(Unknown Source)
>         at java.security.SecureClassLoader.defineClass(Unknown Source)
>         at java.net.URLClassLoader.defineClass(Unknown Source)
>         at java.net.URLClassLoader.access$100(Unknown Source)
>         at java.net.URLClassLoader$1.run(Unknown Source)
>         at java.net.URLClassLoader$1.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Guvnor-example-how-to-access-rules-in-database-instead-sample-drl-file-tp4019713p4019802.html
> Sent from the Drools: User forum mailing list archive at Nabble.com<http://nabble.com/>
> .
> _______________________________________________
> 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
>
>
>
> _______________________________________________
> 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/20120915/a1a3cd30/attachment.html 


More information about the rules-users mailing list