[
https://issues.apache.org/jira/browse/CAMEL-3825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017324#comment-13017324
]
Maximilien Wiktorowski commented on CAMEL-3825:
-----------------------------------------------
i'v just tried the file attached and it works for me
> Camel-Joss jar does not work with JBoss 6.0.0 final due to
> NoClassDefFoundError VirtualFileVisitor
> --------------------------------------------------------------------------------------------------
>
> Key: CAMEL-3825
> URL: https://issues.apache.org/jira/browse/CAMEL-3825
> Project: Camel
> Issue Type: Improvement
> Affects Versions: 2.6.0, 2.7.0
> Environment: Jboss 6.0.0, camel version from 2.1 up to 7 have been
> tried
> Reporter: christian ruffy
> Assignee: Claus Ibsen
> Fix For: 2.8.0
>
> Attachments: JBossPackageScanClassResolver.java,
> camel-jboss6-2.8-SNAPSHOT.jar
>
>
> We are trying to run camel on jboss, after getting through the intial type
> loader problems we have tried the camel-joss loader but it is loading a class
> in jboss called VirtualFileVisitor - Jboss has now moved this class to
> org.jbos.vfs.VirtualFileVisitor
> Error creating bean with name 'jbossresolver' defined in ServletContext
> resource [/WEB-INF/application-context.xml]: Instantiation of bean failed;
> nested exception is java.lang.NoClassDefFoundError:
> org/jboss/virtual/VirtualFileVisitor
> the example shown here doesnt work for this reason
> http://camel.apache.org/pluggable-class-resolvers.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira