Java Enterprise GlassFish Server Error

Viewed 6685

I have an enterprise java project. Everything was fine until I have this error

Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class: class org.jboss.weld.servlet.WeldListener. Please see server.log for more details.

I don't know what this means. I restart the server, the computer and this error still appear.

2 Answers

Be sure you have your persistence xml loaded in your classpath. in Intellij just add it manually through project structure.

Related