4 Replies Latest reply: Mar 26, 2010 1:17 PM by Andrew Rubinger RSS

Missing AOP dependency?

Bob McWhirter Novice

Thanks to ALR for the 0.1.1 update today, jboss-reloaded-vdf-bootstrap-minimal seems to work against HEAD of AS versions of MC etc.

 

I had to add a dependency block to slurp in jboss-aop explicitly, though:

 

<dependency>
  <groupId>org.jboss.aop</groupId>
  <artifactId>jboss-aop</artifactId>
</dependency>

 

Otherwise, just starting the server would toss me some complaints in a no-op test that just starts and stops the server.

 

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.581 sec <<< FAILURE!
testNothing(org.torquebox.messaging.deployers.QueuesYamlParsingDeployerTest)  Time elapsed: 1.398 sec  <<< ERROR!
java.lang.Exception: Encountered exception in server startup
        at org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.bootstrapMcAndDescriptors(AbstractMCServerBase.java:325)
        at org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.doStart(AbstractMCServerBase.java:257)
        at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:413)
        at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.IllegalStateException: Incompletely deployed:

DEPLOYMENTS IN ERROR:
  Deployment "BeanMetaDataDeployer" is in error due to: java.lang.NoClassDefFoundError: org/jboss/aop/ReflectiveAspectBinder
  Deployment "JBossServer" is in error due to: java.lang.NoClassDefFoundError: org/jboss/aop/ReflectiveAspectBinder
  Deployment "ClassLoadingMetaDataParser" is in error due to: java.lang.NoClassDefFoundError: org/jboss/aop/ReflectiveAspectBinder
  Deployment "MainDeployer" is in error due to: java.lang.NoClassDefFoundError: org/jboss/aop/ReflectiveAspectBinder
  Deployment "JARStructureCandidates" is in error due to: java.lang.NoClassDefFoundError: org/jboss/aop/ReflectiveAspectBinder
  Deployment "JARStructure" is in error due to: java.lang.NoClassDefFoundError: org/jboss/aop/ReflectiveAspectBinder
  Deployment "DeclaredStructure" is in error due to: java.lang.NoClassDefFoundError: org/jboss/aop/ReflectiveAspectBinder
  Deployment "ClassLoaderClassPathDeployer" is in error due to: java.lang.NoClassDefFoundError: org/jboss/aop/ReflectiveAspectBinder
  Deployment "StructureBuilder" is in error due to: java.lang.NoClassDefFoundError: org/jboss/aop/ReflectiveAspectBinder
  Deployment "ClassLoaderSystem" is in error due to: java.lang.NoClassDefFoundError: org/jboss/aop/ReflectiveAspectBinder
  Deployment "BeanDeployer" is in error due to: java.lang.NoClassDefFoundError: org/jboss/aop/ReflectiveAspectBinder
  Deployment "JARFilter" is in error due to: java.lang.NoClassDefFoundError: org/jboss/aop/ReflectiveAspectBinder
  Deployment "ClassLoaderDescribeDeployer" is in error due to: java.lang.NoClassDefFoundError: org/jboss/aop/ReflectiveAspectBinder
  Deployment "ClassLoadingDefaultDeployer" is in error due to: java.lang.NoClassDefFoundError: org/jboss/aop/ReflectiveAspectBinder
  Deployment "ClassLoaderDeployer" is in error due to: java.lang.NoClassDefFoundError: org/jboss/aop/ReflectiveAspectBinder
  Deployment "FileStructure" is in error due to: java.lang.NoClassDefFoundError: org/jboss/aop/ReflectiveAspectBinder
  Deployment "ManagedDeploymentCreator" is in error due to: java.lang.NoClassDefFoundError: org/jboss/aop/ReflectiveAspectBinder
  Deployment "Deployers" is in error due to: java.lang.NoClassDefFoundError: org/jboss/aop/ReflectiveAspectBinder
  Deployment "StructuralDeployers" is in error due to: java.lang.NoClassDefFoundError: org/jboss/aop/ReflectiveAspectBinder
  Deployment "KernelDeploymentDeployer" is in error due to: java.lang.NoClassDefFoundError: org/jboss/aop/ReflectiveAspectBinder
  Deployment "ClassLoading" is in error due to: java.lang.NoClassDefFoundError: org/jboss/aop/ReflectiveAspectBinder
  Deployment "ManagedObjectCreator" is in error due to: java.lang.NoClassDefFoundError: org/jboss/aop/ReflectiveAspectBinder

        at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:278)
        at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174)
        at org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.bootstrapMcAndDescriptors(AbstractMCServerBase.java:314)
        ... 3 more

 

Thanks,

 

Bob