On 17/07/2012 16:43, David M. Lloyd wrote:
On 07/17/2012 10:37 AM, David Bosschaert wrote:
> Hi,
>
> I'm getting a little confused about the JBoss Modules dependencies
> available in the jboss-as-osgi-web project.
> I want to use the ModuleIdentifier class in this module in a
> DeploymentUnitProcessor, like the following
> [...]
> The jboss-as-osgi-web module itself has the dependency on the
> org.jboss.modules module:
> [...]
> However, I'm getting a NoClassDefFoundError:
> [...]
> I'm probably missing something obvious, anyone an idea?
Yeah, the module.xml file you included:
> <module xmlns="urn:jboss:module:1.1"
name="org.jboss.as.web">
is for org.jboss.as.web, not org.jboss.as.osgi.web.
Doh!
Many thanks for spotting that David!
:-D