[jboss-user] [Microcontainer] - Re: ClassNotFound on deployment of a SchemaResolverDeployer
david.lloyd@jboss.com
do-not-reply at jboss.com
Wed Dec 3 13:04:23 EST 2008
Wait, I see where this is coming from. I'm still declaring my deployer like this:
| deployment xmlns="urn:jboss:bean-deployer:2.0">
| <bean name="JBossThreadsMetaDataFactoryDeployer" class="org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryDeployer">
| <constructor>
| <parameter>org.jboss.threads.metadata.ThreadsMetaData</parameter>
| </constructor>
| </bean>
|
| <bean name="JBossThreadsMetaDataSchemaResolverDeployer" class="org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer">
| <constructor>
| <parameter>org.jboss.threads.metadata.ThreadsMetaData</parameter>
| </constructor>
| <property name="name">jboss-threads.xml</property>
| <property name="registerWithJBossXB">true</property>
| </bean>
| </deployment>
|
Which is clearly not safe against refactors. I suppose I should use the "deployers" stuff.
Though I just noticed that the jboss-deployers-2_0.xsd schema has a targetNamespace of "urn:jboss:classloader:1.0". Oops? :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194118#4194118
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194118
More information about the jboss-user
mailing list