Hi Everyone!

We've been using the engine for quite a while in the project (a web app) and now we're switching from Tomcat to Jetty in our local dev environments. This change triggered a strange error when it compiles the rules (both with the eclipse and janino dialects).

I'm using eclipse 3.3.2, Jetty 7.1.7 and the error happened in Drools 4.0.4 to 4.0.6 (may be in other versions too).

The exception I'm getting with the janino dialect (which is more verbose) is attached and the rule (here's a small snippet)
org.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryRule Compilation error : [Rule name=insertion of versions, agendaGroup=MAIN, salience=0, no-loop=false]
    com/elixir/rules/Rule_insertion_of_versions_0.java (16:3) : Imported class "org.slf4j.LoggerFactory" could not be loaded
    com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : A method named "getLogger" is not declared in any enclosing class nor any supertype, nor through a static import
    com/elixir/rules/Rule_insertion_of_versions_0.java (16:52) : A method named "info" is not declared in any enclosing class nor any supertype, nor through a static import
    com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : A method named "getLogger" is not declared in any enclosing class nor any supertype, nor through a static import
    com/elixir/rules/Rule_insertion_of_versions_0.java (16:3) : Imported class "org.slf4j.LoggerFactory" could not be loaded
    com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : Instance method "getLogger" cannot be invoked in static context


 And I'm executing the following rule:
package com.elixir

#list any import classes here.
import com.elixir.model.*;
import java.util.HashSet;
import java.util.Date;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

rule "insertion of versions"
    ruleflow-group "fact-insertion"
    when
        $a: Artifact(versions != null)
        $v: ArtifactVersion() from $a.getVersions()
    then
        insert ($v);
        LoggerFactory.getLogger("factinsertion.drl").info("Entered: insertion of versions");       
end

And the PackageBuilder get's instantiated like this:
        PackageBuilderConfiguration pkgBuilderCfg = new PackageBuilderConfiguration();
        JavaDialectConfiguration javaConf = (JavaDialectConfiguration) pkgBuilderCfg.getDialectConfiguration( "java" );
        javaConf.setCompiler( JavaDialectConfiguration.JANINO );
        PackageBuilder builder = new PackageBuilder(pkgBuilderCfg);


I'm quite sure that this is a mistake in how I'm running this, but I can't find the solution :S.

Oh, and just in case, we're running the application without any problems in jetty but not from inside eclipse.


Thanks in advance,
Augusto





org.drools.rule.InvalidRulePackage: Rule Compilation error : [Rule 
name=insertion of versions, agendaGroup=MAIN, salience=0, no-loop=false]
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:3) : Imported 
class "org.slf4j.LoggerFactory" could not be loaded
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : A method 
named "getLogger" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:52) : A method 
named "info" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : A method 
named "getLogger" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:3) : Imported 
class "org.slf4j.LoggerFactory" could not be loaded
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : Instance 
method "getLogger" cannot be invoked in static context
org.slf4j.Loggerorg.slf4j.LoggerFactoryRule Compilation error : [Rule 
name=insertion of versions, agendaGroup=MAIN, salience=0, no-loop=false]
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:3) : Imported 
class "org.slf4j.LoggerFactory" could not be loaded
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : A method 
named "getLogger" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:52) : A method 
named "info" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : A method 
named "getLogger" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:3) : Imported 
class "org.slf4j.LoggerFactory" could not be loaded
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : Instance 
method "getLogger" cannot be invoked in static context
org.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryRule
 Compilation error : [Rule name=insertion of versions, agendaGroup=MAIN, 
salience=0, no-loop=false]
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:3) : Imported 
class "org.slf4j.LoggerFactory" could not be loaded
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : A method 
named "getLogger" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:52) : A method 
named "info" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : A method 
named "getLogger" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:3) : Imported 
class "org.slf4j.LoggerFactory" could not be loaded
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : Instance 
method "getLogger" cannot be invoked in static context
org.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryRule
 Compilation error : [Rule name=insertion of versions, agendaGroup=MAIN, 
salience=0, no-loop=false]
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:3) : Imported 
class "org.slf4j.LoggerFactory" could not be loaded
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : A method 
named "getLogger" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:52) : A method 
named "info" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : A method 
named "getLogger" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:3) : Imported 
class "org.slf4j.LoggerFactory" could not be loaded
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : Instance 
method "getLogger" cannot be invoked in static context
org.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryRule
 Compilation error : [Rule name=insertion of versions, agendaGroup=MAIN, 
salience=0, no-loop=false]
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:3) : Imported 
class "org.slf4j.LoggerFactory" could not be loaded
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : A method 
named "getLogger" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:52) : A method 
named "info" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : A method 
named "getLogger" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:3) : Imported 
class "org.slf4j.LoggerFactory" could not be loaded
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : Instance 
method "getLogger" cannot be invoked in static context
org.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryRule
 Compilation error : [Rule name=insertion of versions, agendaGroup=MAIN, 
salience=0, no-loop=false]
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:3) : Imported 
class "org.slf4j.LoggerFactory" could not be loaded
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : A method 
named "getLogger" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:52) : A method 
named "info" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : A method 
named "getLogger" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:3) : Imported 
class "org.slf4j.LoggerFactory" could not be loaded
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : Instance 
method "getLogger" cannot be invoked in static context
org.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryRule
 Compilation error : [Rule name=insertion of versions, agendaGroup=MAIN, 
salience=0, no-loop=false]
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:3) : Imported 
class "org.slf4j.LoggerFactory" could not be loaded
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : A method 
named "getLogger" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:52) : A method 
named "info" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : A method 
named "getLogger" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:3) : Imported 
class "org.slf4j.LoggerFactory" could not be loaded
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : Instance 
method "getLogger" cannot be invoked in static context
org.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryRule
 Compilation error : [Rule name=insertion of versions, agendaGroup=MAIN, 
salience=0, no-loop=false]
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:3) : Imported 
class "org.slf4j.LoggerFactory" could not be loaded
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : A method 
named "getLogger" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:52) : A method 
named "info" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : A method 
named "getLogger" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:3) : Imported 
class "org.slf4j.LoggerFactory" could not be loaded
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : Instance 
method "getLogger" cannot be invoked in static context
org.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryRule
 Compilation error : [Rule name=insertion of versions, agendaGroup=MAIN, 
salience=0, no-loop=false]
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:3) : Imported 
class "org.slf4j.LoggerFactory" could not be loaded
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : A method 
named "getLogger" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:52) : A method 
named "info" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : A method 
named "getLogger" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:3) : Imported 
class "org.slf4j.LoggerFactory" could not be loaded
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : Instance 
method "getLogger" cannot be invoked in static context
org.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryRule
 Compilation error : [Rule name=insertion of versions, agendaGroup=MAIN, 
salience=0, no-loop=false]
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:3) : Imported 
class "org.slf4j.LoggerFactory" could not be loaded
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : A method 
named "getLogger" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:52) : A method 
named "info" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : A method 
named "getLogger" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:3) : Imported 
class "org.slf4j.LoggerFactory" could not be loaded
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : Instance 
method "getLogger" cannot be invoked in static context
org.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryRule
 Compilation error : [Rule name=insertion of versions, agendaGroup=MAIN, 
salience=0, no-loop=false]
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:3) : Imported 
class "org.slf4j.LoggerFactory" could not be loaded
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : A method 
named "getLogger" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:52) : A method 
named "info" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : A method 
named "getLogger" is not declared in any enclosing class nor any supertype, nor 
through a static import
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:3) : Imported 
class "org.slf4j.LoggerFactory" could not be loaded
        com/elixir/rules/Rule_insertion_of_versions_0.java (16:26) : Instance 
method "getLogger" cannot be invoked in static context
org.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactoryorg.slf4j.Loggerorg.slf4j.LoggerFactory
        at org.drools.rule.Package.checkValidity(Package.java:424)
        at 
org.drools.common.AbstractRuleBase.addPackage(AbstractRuleBase.java:384)
        at 
com.elexir.rules.AvailabilityRulesEngineImpl.readRules(AvailabilityRulesEngineImpl.java:122)
        at 
com.elexir.rules..availability.AvailabilityRulesEngineImpl.<init>(AvailabilityRulesEngineImpl.java:49)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at 
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:85)
        at 
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:756)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:721)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:384)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
        at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
        at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1099)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
        at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
        at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1099)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
        at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
        at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
        at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:281)
        at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:131)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1099)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getTypeForFactoryBean(AbstractBeanFactory.java:1147)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryBean(AbstractAutowireCapableBeanFactory.java:568)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:441)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:173)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:154)
        at 
org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:130)
        at 
org.springframework.orm.jpa.EntityManagerFactoryUtils.findEntityManagerFactory(EntityManagerFactoryUtils.java:94)
        at 
org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findNamedEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:442)
        at 
org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:425)
        at 
org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$AnnotatedMember.resolveEntityManager(PersistenceAnnotationBeanPostProcessor.java:582)
        at 
org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$AnnotatedMember.resolve(PersistenceAnnotationBeanPostProcessor.java:553)
        at 
org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$AnnotatedMember.inject(PersistenceAnnotationBeanPostProcessor.java:489)
        at 
org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessAfterInstantiation(PersistenceAnnotationBeanPostProcessor.java:272)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:412)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
        at 
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)
        at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)
        at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
        at 
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:540)
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
        at 
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1221)
        at 
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
        at 
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:449)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
        at 
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
        at org.mortbay.jetty.Server.doStart(Server.java:222)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
        at com.elixir.admin.web.RunServer.main(RunServer.java:26)
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to