My experience is that those examples will still run properly despite the errors. I did have to add in a few odd libraries etc, but they did work. The examples (in maven) from the drools dev 5X 2013 book are another issue entirely ... but with some work, even those work.
On Fri, Nov 22, 2013 at 3:20 PM, baloodevil <[email protected]> wrote: > Newbie question. I've imported drools-examples project into Eclipse > (Kepler) > (which has GEF installed). I resolved build path errors by creating > folders > src/test/java and src/test/resources. I resolved another issue by adding > an > External JAR of org.eclipse.jdt.core_3.10.0.v20131029-1755.jar to the > project. (Those two changes allow me to create a new Drools Hello World > project and execute, however no such luck with complete examples) There > are > hundreds of Drools Errors and hundreds of Java Problems, which I assume can > only be because of setup issues. The first Drools error is > "ArrayList is a raw type. References to generic type ArrayList<E> should be > parameterized AdventureFrame.java > /drools-examples/src/main/java/org/drools/games/adventures". That file > shows an import problem with > "import net.miginfocom.layout.ConstraintParser;" and "import > net.miginfocom.swing.MigLayout;". Those are referenced in the pom.xml file > in... > <dependency> > <groupId>com.miglayout</groupId> > <artifactId>miglayout</artifactId> > <version>3.7.4</version> > </dependency> > > I don't know where to go next. Complete Drools newbie, and also fumbling > around with Eclipse. > > > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Compiling-drools-examples-tp4026895.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > -- ######################################################### Matthew R. Versaggi, President & CEO Versaggi Information Systems, Inc. Adjunct Professor of eBusiness DePaul University Email: mailto:[email protected], [email protected] M: 630-292-8422 LinkedIn: http://www.linkedin.com/in/versaggi #########################################################
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
