Edson, It is a web application running under Tomcat. java 1.5. The big twist is the application uses Java Plugin Framework to add plug-ins to the application. The whole thing is similar to the way Eclipse works but a little different. Basically drools is sitting inside a plug-in. My first thought was classloader because if you don't setup the plugin.xml correctly or if you are missing a jar in the plugin lib directory you will have a problem. Usually if you make a mistake the whole jar doesn't load. The fact that I'm seeing some of the classes in drools-core.jar kind of tells me the jar is there and loaded. Also, there is a PluginManager class which logs errors when loading the plugins and everything is looking clean from that end.
I am using Janino if that makes any difference. I was thinking of changing back to eclipse just to see if it makes a difference. Nat Edson Tirelli-3 wrote: > > Nat, > > What kind of environment are you working on? Stand-alone JSE, app > server JEE, etc? > I'm asking because yesterday I had to fix the same issue for a > JBRules Ant task and in the end it was an ant classloader that was > messing with some stuff jbrules needs. > > So, basically, if you are sure you have all dependencies on > classpath, it is probably a classloader issue. > > []s > Edson > > > Nat wrote: > >>At runtime I am getting a NoClassDefFound exception for the class >>org.drools.base.BaseClassFieldExtractor when I try to call the method >>addPackageFromDrl( src) from PackageBuilder. I know the class is in >>drools-core.jar. I know that I can load and instansiate >>org.drools.RuleBaseFactory which is in the same jar file so I know the jar >>is in my classpath. I'm guessing BaseClassFieldExtractor needs something >>that is missing??? >> >>Does anyone have any ideas as to where I'm going wrong or how I can find >>what is missing? >> >>I know this is somewhat vague but I'm at a loss of where to look next. >>Thanks in advance for your time, >>Nat >> >> > > > -- > --- > Edson Tirelli > Software Engineer - JBoss Rules Core Developer > Office: +55 11 3124-6000 > Mobile: +55 11 9218-4151 > JBoss, a division of Red Hat @ www.jboss.com > > IT executives: Red Hat still #1 for value > http://www.redhat.com/promo/vendor/ > > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > > -- View this message in context: http://www.nabble.com/NoClassDefFoundError%3A-org-drools-base-BaseClassFieldExtractor-tf2613781.html#a7295640 Sent from the drools - user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
