[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Multiple parsing implementation in RARDeployer
vickyk
do-not-reply at jboss.com
Thu May 29 04:52:54 EDT 2008
"alesj" wrote : "vickyk" wrote :
| | My outline - play with this class. ;-)
| | If after two days you still don't succeed, let me know.
I have managed to get RARParserDeployer working after making the changes in the MultipleVFSParsingDeployer , I commented the mappings section
public MultipleVFSParsingDeployer(Class<T> output, Map<String, Class<?>> mappings, String suffix, Class<?> suffixClass)
| {
| super(output);
| //if (mappings == null || mappings.isEmpty())
| // throw new IllegalArgumentException("Illegal mappings");
| this.mappings = mappings;
| setNames(mappings.keySet());
| setSuffix(suffix);
| if (suffix != null && suffixClass == null)
| throw new IllegalArgumentException("Null suffix class");
| this.suffixClass = suffixClass;
| }
However when I ran the testcases I started getting these errors
*** DEPLOYMENTS IN ERROR: Name -> Error
|
| vfsfile:/home/vicky/eclipseworkspaces/workspace/jboss5-trunk/testsuite/output/lib/jcatest.jar -> org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/home/vicky/eclipseworkspaces/workspace/jboss5-trunk/testsuite/output/lib/jcatest.jar
|
|
| *** CONTEXTS IN ERROR: Name -> Error
|
| vfsfile:/home/vicky/eclipseworkspaces/workspace/jboss5-trunk/testsuite/output/lib/jcatest.jar -> java.lang.NoSuchMethodError: org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(Lorg/jboss/virtual/VirtualFile;)Ljava/lang/Object;
|
I am not able to see the required parse(.. ) implementation in the SchemaResolverDeployer , looks like the recent changes had remove this method .
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154189#4154189
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154189
More information about the jboss-dev-forums
mailing list