简体   繁体   中英

Deploying Spring project without JSF dependencies to Payara causes javax.faces.FacesException: Unable to find CDI BeanManager

Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: javax.faces.FacesException: Unable to find CDI BeanManager

But i do NOT use Java Server Faces, just a plain dynamic project with the whole spring dependencies on it. I have tried different glassfish and java versions and absolutely none seem to work.

I absolutely do not understand anything anymore, what is this exception even??I tried to google and everyone who had this error was using JSF but i DONT.On my Eclipse at Facets i do not have JSF enabled

我通过检查JSF并将其配置为通过Payara进行解决来解决问题,即使我不对其进行检查,它也可以正常工作。 Payara错误。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM