On the use of glassfish in IDEA

recently encountered a problem when learning JSF. When using IDEA for development, because tomcat does not support the jsf framework, I intend to use glassfish,. However, I encountered a problem when configuring glassfish for IDEA, resulting in the project being unable to start all the time. The error code is as follows: Artifact Hibernate:war exploded: java.io.IOException: com.sun.enterprise.admin.remote.RemoteFailureException: Error occurred during deployment: 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. Please see server.log for more details.

looked for it on the Internet, but there was no relevant answer. I used jdk8 + glassfish5. Is there a big god who knows where the problem is? ask for an answer.

Mar.25,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37ab3-2c098.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37ab3-2c098.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?