Hallo Thomas, with this contxt parameter it works! Thank You!
Georg Tel: E-Mail: [email protected] Internet: https://www.safir-wid.de safir Wirtschaftsinformationsdienst GmbH Sitz der Gesellschaft: Möllendorffstr.49, 10367 Berlin Geschäftsführer: Thilo Kind Registergericht: Amtsgericht Berlin Charlottenburg, HRB 66681 USt-ID: DE 193584747 -----Ursprüngliche Nachricht----- Von: Thomas Andraschko <[email protected]> Gesendet: Freitag, 16. August 2019 17:55 An: MyFaces Discussion <[email protected]> Betreff: Re: NoClassDefFoundError: org/apache/tomcat/InstanceManager when using myfaces with wildfly I think you can set something like: <context-param> <param-name>org.apache.myfaces.config.annotation.LifecycleProvider</param-name> <param-value>org.apache.myfaces.config.annotation.NoInjectionAnnotationLifecycleProvider</param-value> </context-param> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virenfrei. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> Am Fr., 16. Aug. 2019 um 13:13 Uhr schrieb DevNews <[email protected]>: > Hallo, > > I deploy my application (myfaces2.2.8, richfaces4.5.17, > tomahawk21.1.1.14) to an wildfly 11 > > I see this Exception on starttup of my application: > > Caused by: java.lang.NoClassDefFoundError: > org/apache/tomcat/InstanceManager > at > org.apache.myfaces.config.annotation.Tomcat7AnnotationLifecycleProvide > r.initManager(Tomcat7AnnotationLifecycleProvider.java:132) > at > org.apache.myfaces.config.annotation.Tomcat7AnnotationLifecycleProvide > r.postConstruct(Tomcat7AnnotationLifecycleProvider.java:81) > at > org.apache.myfaces.config.ManagedBeanBuilder.buildManagedBean(ManagedB > eanBuilder.java:213) > at > org.apache.myfaces.el.unified.resolver.ManagedBeanResolver.createManag > edBean(ManagedBeanResolver.java:333) > at > org.apache.myfaces.el.unified.resolver.ManagedBeanResolver.getValue(Ma > nagedBeanResolver.java:296) at > javax.el.CompositeELResolver.getValue(CompositeELResolver.java:188) > at > org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.getVal > ue(FacesCompositeELResolver.java:169) > at > org.apache.myfaces.el.VariableResolverImpl.resolveVariable(VariableRes > olverImpl.java:65) > > > What to do? > > Thanks Georg > > > > Tel: > E-Mail: [email protected] > Internet: https://www.safir-wid.de > > safir Wirtschaftsinformationsdienst GmbH Sitz der Gesellschaft: > Möllendorffstr.49, 10367 Berlin > Geschäftsführer: Thilo Kind > Registergericht: Amtsgericht Berlin Charlottenburg, HRB 66681 > USt-ID: DE 193584747 > > > > > -- > This email was Malware checked by UTM 9. http://www.sophos.com > -- This email was Malware checked by UTM 9. http://www.sophos.com

