问题描述
部署的目录是D:beauser_projectsapplicationsmydomainDefaultWebApp,整套程序考进去的,启动server没报错,一点deploy就报错,红叉叉一个。报错信息如下weblogic.management.DeploymentException:Exception:weblogic.management.ApplicationException:start()failed.Module:DefaultWebAppError:weblogic.management.DeploymentException:Errorcreatingbeanwithname'transactionManager'definedinfile[D:beauser_projectsapplicationsmydomainDefaultWebAppWEB-INFclassesspringapplicationContext-base.xml]:Cannotresolvereferencetobean'sessionFactory'whilesettingbeanproperty'sessionFactory';nestedexceptionisorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'sessionFactory'definedinfile[D:beauser_projectsapplicationsmydomainDefaultWebAppWEB-INFclassesspringapplicationContext-base.xml]:Invocationofinitmethodfailed;nestedexceptionisorg.hibernate.MappingException:entityclassnotfound:com.fpscc.info.model.InfoLink-withnestedexception:[java.lang.UnsupportedClassVersionError:com/fpscc/info/model/InfoLink(Unsupportedmajor.minorversion49.0)]atweblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2423)atweblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2138)atweblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2237)atweblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2132)atweblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2384)atweblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866)atweblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594)atweblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508)atweblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)atweblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)atweblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)NoExceptionMessages
解决方案
解决方案二:
我博客里有WEBLOGIC全套配置LZ可以去看看不过没有直接在config里修改的资料以后填上
解决方案三:
虽然没太大用处,但还是感谢
解决方案四:
我的也报错.但分不够发出来.贴在这里...我的错是发布war包出错.<2010-3-5下午02时10分49秒CST><Error><Deployer><BEA-149605><FailedtocreateApp/CompmbeansforAppDeploymentMBean_appsdir_bossChargeCard_war.Error-weblogic.management.DeploymentException:.weblogic.management.DeploymentException:atweblogic.servlet.internal.WarDeploymentFactory.findOrCreateComponentMBeans(WarDeploymentFactory.java:69)atweblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)atweblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)atweblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)atweblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:88)Truncated.seelogfileforcompletestacktracejava.util.zip.ZipException:Erroropeningfile-D:toolsWebLogic10user_projectsdomainsbase_domainserversAdminServerstage_appsdir_bossChargeCard_warbossChargeCard.warMessage-errorinopeningzipfileatweblogic.servlet.utils.WarUtils.existsInWar(WarUtils.java:84)atweblogic.servlet.utils.WarUtils.isWebServices(WarUtils.java:73)atweblogic.servlet.internal.WarDeploymentFactory.findOrCreateComponentMBeans(WarDeploymentFactory.java:61)atweblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)atweblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)Truncated.seelogfileforcompletestacktrace><2010-3-5下午02时10分49秒CST><Error><Deployer><BEA-149265><FailureoccurredintheexecutionofdeploymentrequestwithID'1267769449718'fortask'8'.Erroris:'weblogic.management.DeploymentException:'weblogic.management.DeploymentException:atweblogic.servlet.internal.WarDeploymentFactory.findOrCreateComponentMBeans(WarDeploymentFactory.java:69)atweblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)atweblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)atweblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)atweblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:88)Truncated.seelogfileforcompletestacktracejava.util.zip.ZipException:Erroropeningfile-D:toolsWebLogic10user_projectsdomainsbase_domainserversAdminServerstage_appsdir_bossChargeCard_warbossChargeCard.warMessage-errorinopeningzipfileatweblogic.servlet.utils.WarUtils.existsInWar(WarUtils.java:84)atweblogic.servlet.utils.WarUtils.isWebServices(WarUtils.java:73)atweblogic.servlet.internal.WarDeploymentFactory.findOrCreateComponentMBeans(WarDeploymentFactory.java:61)atweblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)atweblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)Truncated.seelogfileforcompletestacktrace><2010-3-5下午02时10分49秒CST><Warning><Deployer><BEA-149004><Failuresweredetectedwhileinitiatingdeploytaskforapplication'_appsdir_bossChargeCard_war'.><2010-3-5下午02时10分49秒CST><Warning><Deployer><BEA-149078><Stacktraceformessage149004weblogic.management.DeploymentException:atweblogic.servlet.internal.WarDeploymentFactory.findOrCreateComponentMBeans(WarDeploymentFactory.java:69)atweblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)atweblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)atweblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)atweblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:88)Truncated.seelogfileforcompletestacktracejava.util.zip.ZipException:Erroropeningfile-D:toolsWebLogic10user_projectsdomainsbase_domainserversAdminServerstage_appsdir_bossChargeCard_warbossChargeCard.warMessage-errorinopeningzipfileatweblogic.servlet.utils.WarUtils.existsInWar(WarUtils.java:84)atweblogic.servlet.utils.WarUtils.isWebServices(WarUtils.java:73)atweblogic.servlet.internal.WarDeploymentFactory.findOrCreateComponentMBeans(WarDeploymentFactory.java:61)atweblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)atweblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)Truncated.seelogfileforcompletestacktrace><2010-3-5下午02时11分08秒CST><Warning><HTTP><BEA-101339><Thecontextparameter:weblogic.httpd.inputCharset./*hasbeendeprecated.Insteadusetheelement:charset-paramsinweblogic.xml.><2010-3-5下午02时11分08秒CST><Warning><HTTP><BEA-101369><weblogic.servlet.internal.WebAppServletContext@5fd37-appName:'_appsdir_bossChargeCard_war',name:'bossChargeCard.war',context-path:'/bossChargeCard',spec-version:'null':Theencodingjsp-descriptorparamhasbeendeprecated.Considerdeclaringtheencodinginthejsp-configelement(web.xml)orasapagedirective(pageEncoding)instead.>2010-03-0514:11:09INFOInitializing,config='org.apache.struts.util.LocalStrings',returnNull=true2010-03-0514:11:09INFOInitializing,config='org.apache.struts.action.ActionResources',returnNull=true2010-03-0514:11:10INFOInitializing,config='gmt.boss.cbs.destroyaccount.ApplicationResources',returnNull=true
解决方案五:
引用楼主jeffreyzhi的回复:
java.lang.UnsupportedClassVersionError:com/fpscc/info/model/InfoLink(Unsupportedmajor.minorversion49.0)
你运行的服务低于应用jar包需要的版本吧。。比如:这个jar包要求jdk1.5编译运行。。。你在jdk1.4.2上面运行就会报这种错误。。。。
解决方案六:
楼主看一下你的jar包,可能是配置文件中的类和实际包中的类方法不一致,一般EJB类中的方法增删参数都要重新run重新生成配置文件
解决方案七:
我的错是发布war包出错.<2011-11-8上午10时21分13秒GMT+08:00><Error><Deployer><BEA-149605><FailedtocreateApp/CompmbeansforAppDeploymentMBeanmetadata.Error-weblogic.management.DeploymentException:.weblogic.management.DeploymentException:atweblogic.servlet.internal.WarDeploymentFactory.findOrCreateComponentMBeans(WarDeploymentFactory.java:69)atweblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)atweblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)atweblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)atweblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:88)Truncated.seelogfileforcompletestacktraceCausedBy:java.util.zip.ZipException:Erroropeningfile-/weblogic/user_projects/domains/weblogic/servers/sjzx2/stage/metadata/metadata.warMessage-errorinopeningzipfileatweblogic.servlet.utils.WarUtils.existsInWar(WarUtils.java:78)atweblogic.servlet.utils.WarUtils.isWebServices(WarUtils.java:67)atweblogic.servlet.internal.WarDeploymentFactory.findOrCreateComponentMBeans(WarDeploymentFactory.java:61)atweblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)atweblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)Truncated.seelogfileforcompletestacktrace><2011-11-8上午10时21分13秒GMT+08:00><Error><Deployer><BEA-149265><FailureoccurredintheexecutionofdeploymentrequestwithID'1320718873349'fortask'33'.Erroris:'weblogic.management.DeploymentException:'weblogic.management.DeploymentException:atweblogic.servlet.internal.WarDeploymentFactory.findOrCreateComponentMBeans(WarDeploymentFactory.java:69)atweblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)atweblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)atweblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)atweblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:88)Truncated.seelogfileforcompletestacktraceCausedBy:java.util.zip.ZipException:Erroropeningfile-/weblogic/user_projects/domains/weblogic/servers/sjzx2/stage/metadata/metadata.warMessage-errorinopeningzipfileatweblogic.servlet.utils.WarUtils.existsInWar(WarUtils.java:78)atweblogic.servlet.utils.WarUtils.isWebServices(WarUtils.java:67)atweblogic.servlet.internal.WarDeploymentFactory.findOrCreateComponentMBeans(WarDeploymentFactory.java:61)atweblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)atweblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)Truncated.seelogfileforcompletestacktrace><2011-11-8上午10时21分27秒GMT+08:00><Warning><RMI><BEA-080003><RuntimeExceptionthrownbyrmiserver:javax.management.remote.rmi.RMIConnectionImpl.getAttribute(Ljavax.management.ObjectName;Ljava.lang.String;Ljavax.security.auth.Subject;)javax.management.RuntimeMBeanException:javax.management.RuntimeMBeanException:MBeangetAttributefailed:java.lang.NullPointerException.javax.management.RuntimeMBeanException:javax.management.RuntimeMBeanException:MBeangetAttributefailed:java.lang.NullPointerExceptionatcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:868)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:881)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:682)atcom.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:650)atweblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326)Truncated.seelogfileforcompletestacktraceCausedBy:javax.management.RuntimeMBeanException:MBeangetAttributefailed:java.lang.NullPointerExceptionatweblogic.management.jmx.modelmbean.WLSModelMBean.getAttribute(WLSModelMBean.java:553)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:678)atcom.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:650)atweblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326)atjava.security.AccessController.doPrivileged(AccessController.java:251)Truncated.seelogfileforcompletestacktraceCausedBy:java.lang.NullPointerExceptionatsun.reflect.GeneratedMethodAccessor263.invoke(UnknownSource)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)atjava.lang.reflect.Method.invoke(Method.java:611)atweblogic.management.jmx.modelmbean.WLSModelMBean.getAttribute(WLSModelMBean.java:525)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:678)Truncated.seelogfileforcompletestacktrace><2011-11-8上午10时21分35秒GMT+08:00><Warning><RMI><BEA-080003><RuntimeExceptionthrownbyrmiserver:javax.management.remote.rmi.RMIConnectionImpl.getAttribute(Ljavax.management.ObjectName;Ljava.lang.String;Ljavax.security.auth.Subject;)javax.management.RuntimeMBeanException:javax.management.RuntimeMBeanException:MBeangetAttributefailed:java.lang.NullPointerException.javax.management.RuntimeMBeanException:javax.management.RuntimeMBeanException:MBeangetAttributefailed:java.lang.NullPointerExceptionatcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:868)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:881)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:682)atcom.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:650)atweblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326)Truncated.seelogfileforcompletestacktrace
解决方案八:
CausedBy:javax.management.RuntimeMBeanException:MBeangetAttributefailed:java.lang.NullPointerExceptionatweblogic.management.jmx.modelmbean.WLSModelMBean.getAttribute(WLSModelMBean.java:553)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:678)atcom.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:650)atweblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326)atjava.security.AccessController.doPrivileged(AccessController.java:251)Truncated.seelogfileforcompletestacktraceCausedBy:java.lang.NullPointerExceptionatsun.reflect.GeneratedMethodAccessor263.invoke(UnknownSource)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)atjava.lang.reflect.Method.invoke(Method.java:611)atweblogic.management.jmx.modelmbean.WLSModelMBean.getAttribute(WLSModelMBean.java:525)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:678)Truncated.seelogfileforcompletestacktrace><2011-11-8上午10时21分54秒GMT+08:00><Warning><RMI><BEA-080003><RuntimeExceptionthrownbyrmiserver:javax.management.remote.rmi.RMIConnectionImpl.getAttribute(Ljavax.management.ObjectName;Ljava.lang.String;Ljavax.security.auth.Subject;)javax.management.RuntimeMBeanException:javax.management.RuntimeMBeanException:MBeangetAttributefailed:java.lang.NullPointerException.javax.management.RuntimeMBeanException:javax.management.RuntimeMBeanException:MBeangetAttributefailed:java.lang.NullPointerExceptionatcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:868)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:881)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:682)atcom.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:650)atweblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326)Truncated.seelogfileforcompletestacktraceCausedBy:javax.management.RuntimeMBeanException:MBeangetAttributefailed:java.lang.NullPointerExceptionatweblogic.management.jmx.modelmbean.WLSModelMBean.getAttribute(WLSModelMBean.java:553)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:678)atcom.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:650)atweblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326)atjava.security.AccessController.doPrivileged(AccessController.java:251)Truncated.seelogfileforcompletestacktraceCausedBy:java.lang.NullPointerExceptionatsun.reflect.GeneratedMethodAccessor263.invoke(UnknownSource)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)atjava.lang.reflect.Method.invoke(Method.java:611)atweblogic.management.jmx.modelmbean.WLSModelMBean.getAttribute(WLSModelMBean.java:525)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:678)Truncated.seelogfileforcompletestacktrace><2011-11-8上午10时21分58秒GMT+08:00><Warning><RMI><BEA-080003><RuntimeExceptionthrownbyrmiserver:javax.management.remote.rmi.RMIConnectionImpl.getAttribute(Ljavax.management.ObjectName;Ljava.lang.String;Ljavax.security.auth.Subject;)javax.management.RuntimeMBeanException:javax.management.RuntimeMBeanException:MBeangetAttributefailed:java.lang.NullPointerException.javax.management.RuntimeMBeanException:javax.management.RuntimeMBeanException:MBeangetAttributefailed:java.lang.NullPointerExceptionatcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:868)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:881)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:682)atcom.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:650)atweblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326)Truncated.seelogfileforcompletestacktraceCausedBy:javax.management.RuntimeMBeanException:MBeangetAttributefailed:java.lang.NullPointerExceptionatweblogic.management.jmx.modelmbean.WLSModelMBean.getAttribute(WLSModelMBean.java:553)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:678)atcom.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:650)atweblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326)atjava.security.AccessController.doPrivileged(AccessController.java:251)Truncated.seelogfileforcompletestacktraceCausedBy:java.lang.NullPointerExceptionatsun.reflect.GeneratedMethodAccessor263.invoke(UnknownSource)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)atjava.lang.reflect.Method.invoke(Method.java:611)atweblogic.management.jmx.modelmbean.WLSModelMBean.getAttribute(WLSModelMBean.java:525)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:678)Truncated.seelogfileforcompletestacktrace>
解决方案九:
有木有人可以帮我把这个问题解决掉,谢了