Java glassfish 4.1类org.springframework.beans.factory.BeanCreationException
请帮助,这是非常混乱的,我不能在glassfish中部署我的war文件(以前可以),并显示这样的错误消息Java glassfish 4.1类org.springframework.beans.factory.BeanCreationException,java,spring,eclipse,glassfish-4,Java,Spring,Eclipse,Glassfish 4,请帮助,这是非常混乱的,我不能在glassfish中部署我的war文件(以前可以),并显示这样的错误消息 "https://localhost:4848/management/domain/applications/application/myApp" created successfully. Warning: Command _deploy did not complete successfully on server instance instance1: remote failure
"https://localhost:4848/management/domain/applications/application/myApp"
created successfully. Warning: Command _deploy did not complete
successfully on server instance instance1: remote failure: Failed to
load the application on instance instance1. The application will not
run properly. Please fix your application and redeploy. Exception
while loading the app : java.lang.IllegalStateException:
ContainerBase.addChild: start: org.apache.catalina.LifecycleException:
java.lang.NoClassDefFoundError: Could not initialize class
org.springframework.beans.factory.BeanCreationException. Please see
server.log for more details. Warning: Command _deploy did not complete
successfully on server instance instance1: remote failure: Failed to
load the application on instance instance1. The application will not
run properly. Please fix your application and redeploy. Exception
while loading the app : java.lang.IllegalStateException:
ContainerBase.addChild: start: org.apache.catalina.Lifecycle ....
msg.seeServerLog
玻璃鱼:4.1
java版本:1.7.0_121
操作系统:ubuntu服务器12
我在server.log中也找不到有意义的信息
但是我的war文件可以在我本地的tomcat上很好地工作
我确信没有重复的库,因为它以前运行得很好,实际上我的库中没有任何更改这是可执行的war文件吗?我在末尾看到了tomcat日志。看起来像是《玻璃鱼大战》里面的人在尝试运行tomcat。感谢您抽出时间回答这个问题。是的,这是,你看到最后的tomcat日志了吗?什么意思?事实上,在我的本地pc上,我使用eclipse+tomcat,并在将其部署到glassfish后导出为war文件,但通常进展顺利,还有一个让我感到非常困惑的问题,我部署的war文件(相同)并不总是失败,有时有效有时失败,错误消息如下所示,这样的bug是来自glassfish服务器还是当我导出为war文件时在我的eclipse端?