Hi Dennis, can you check this diff https://gist.github.com/rmannibucau/c63afe1326ca9e7409735b3f5911ea45 ?
I'm not sure why the bean is not found, is it a bad JSF setup? About the duplicate, it seems myfaces adds twice the same bean if you scan it: once by scanning, once in the extension org.apache.myfaces.flow.cdi.FlowBuilderCDIExtension#beforeBeanDiscovery. So long story short org.apache.webbeans.config.BeansDeployer#addAdditionalAnnotatedTypes ends up adding again the same beans. We can surely filter it in OWB but also guess you should be able to make it working without scanning myfaces at all, no? Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://rmannibucau.metawerx.net/> | Old Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book <https://www.packtpub.com/application-development/java-ee-8-high-performance> 2018-02-06 8:04 GMT+01:00 Dennis Kieselhorst <[email protected]>: > Hi Romain, > > thanks for your feedback. Let's leave out Tobago, the demo needs to run in > several setups and is somehow complex. > > We are about to release MyFaces 2.3.0 and I'd like to create an archetype > for plain MyFaces and Meecrowave. Tried with a simple hello world sample > but still getting DuplicateDefinitionException. > > Can you please take a look? https://github.com/deki/ > myfaces-meecrowave-sample > > Cheers > Dennis > >
