weblogic部署web.xml问题 10C

#### <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <Unable to load descriptor D:\scyj_new/WEB-INF/web.xml of module scyj_new. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:161)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)
at weblogic.servlet.utils.WarUtils.getWebAppBean(WarUtils.java:124)
at weblogic.application.compiler.WARModule.processLibraries(WARModule.java:413)
at weblogic.application.compiler.WARModule.merge(WARModule.java:455)
at weblogic.application.compiler.flow.SingleModuleMergeFlow.proecessModule(SingleModuleMergeFlow.java:16)
at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:36)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
at weblogic.application.compiler.ReadOnlyWarMerger.merge(ReadOnlyWarMerger.java:27)
at weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.java:88)
at weblogic.application.compiler.flow.AppMergerFlow.compile(AppMergerFlow.java:41)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
at weblogic.application.compiler.AppMerge.runBody(AppMerge.java:157)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:115)

Caused by: com.bea.xml.XmlException: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.ErrorPageBeanImpl@1c1f051f(/ErrorPages[404])"
at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:54)
at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:539)
at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:381)
at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:140)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:200)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:169)
at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:150)
... 122 more

Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.ErrorPageBeanImpl@1c1f051f(/ErrorPages[404])"
at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)
at weblogic.j2ee.descriptor.WebAppBeanImpl.setErrorPages(WebAppBeanImpl.java:1833)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
... 130 more

1个回答

D:\scyj_new/WEB-INF/web.xml of module scyj_new. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
好像是这个模块名重复了,造成冲突,改一下试试

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
weblogic 12 web项目部署问题
错误内容 java.lang.ClassCastException: weblogic.xml.jaxp.RegistryXMLInputFactory cannot be cast to javax.xml.stream.XMLInputFactory 求大神解答 错误日志 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.validation.beanvalidation.OptionalValidatorFactoryBean#0': Invocation of init method failed; nested exception is java.lang.ClassCastException: weblogic.xml.jaxp.RegistryXMLInputFactory cannot be cast to javax.xml.stream.XMLInputFactory at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) Truncated. see log file for complete stacktrace Caused By: java.lang.ClassCastException: weblogic.xml.jaxp.RegistryXMLInputFactory cannot be cast to javax.xml.stream.XMLInputFactory at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136) at org.hibernate.validator.internal.xml.XmlParserHelper.<init>(XmlParserHelper.java:66) at org.hibernate.validator.internal.xml.ValidationXmlParser.<init>(ValidationXmlParser.java:60) at org.hibernate.validator.internal.engine.ConfigurationImpl.getBootstrapConfiguration(ConfigurationImpl.java:287) at org.hibernate.validator.internal.engine.ConfigurationImpl.parseValidationXml(ConfigurationImpl.java:361) Truncated. see log file for complete stacktrace > <Jan 22, 2018 5:29:42 PM CST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application "zgsxf". weblogic.application.ModuleException: java.lang.ClassCastException: weblogic.xml.jaxp.RegistryXMLInputFactory cannot be cast to javax.xml.stream.XMLInputFactory at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:216) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:211) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42) Truncated. see log file for complete stacktrace Caused By: java.lang.ClassCastException: weblogic.xml.jaxp.RegistryXMLInputFactory cannot be cast to javax.xml.stream.XMLInputFactory at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136) at org.hibernate.validator.internal.xml.XmlParserHelper.<init>(XmlParserHelper.java:66) at org.hibernate.validator.internal.xml.ValidationXmlParser.<init>(ValidationXmlParser.java:60) at org.hibernate.validator.internal.engine.ConfigurationImpl.getBootstrapConfiguration(ConfigurationImpl.java:287) at org.hibernate.validator.internal.engine.ConfigurationImpl.parseValidationXml(ConfigurationImpl.java:361) Truncated. see log file for complete stacktrace
weblogic部署时报错竟然有这样特殊的空指针异常,
<2015-5-12 上午01时15分18秒 GMT> <Error> <HTTP> <BEA-101165> <Could not load user defined filter in web.xml: org.acegisecurity.util.FilterToBeanProxy. org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'xfire.typeMappingRegistry' defined in class path resource [org/codehaus/xfire/spring/xfire.xml]: Unexpected failure during bean definition parsing; nested exception is java.lang.NoSuchMethodError: javax.xml.namespace.QName.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V java.lang.NoSuchMethodError: javax.xml.namespace.QName.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.<clinit>(DefaultTypeMappingRegistry.java:66) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:219) at org.springframework.util.ClassUtils.forName(ClassUtils.java:109) at org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition(BeanDefinitionReaderUtils.java:65) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:496) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:462) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitions(DefaultXmlBeanDefinitionParser.java:374) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:182) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:295) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:223) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:173) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:223) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:173) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:182) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:295) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:223) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:173) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:129) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:145) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.importBeanDefinitionResource(DefaultXmlBeanDefinitionParser.java:395) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitions(DefaultXmlBeanDefinitionParser.java:365) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:182) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:295) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:223) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:173) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:129) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:145) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:132) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:100) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:262) at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:139) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:252) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:190) at gov.mof.framework.bpo.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48) at weblogic.servlet.internal.WebAppServletContext$FireContextListenerAction.run(WebAppServletContext.java:7110) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.notifyCreated(WebAppServletContext.java:1757) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3378) at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:6262) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:892) at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2181) at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2222) at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2521) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2439) at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2156) at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2255) at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2150) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2402) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:884) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:592) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:501) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183) > <2015-5-12 上午01时15分18秒 GMT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating Deploy task for application WebRoot.> <2015-5-12 上午01时15分18秒 GMT> <Error> <Deployer> <BEA-149201> <Failed to complete the deployment task with ID 0 for the application WebRoot. weblogic.management.DeploymentException: Exception:weblogic.management.ApplicationException: start() failed. Module: WebRoot Error: java.lang.NullPointerException at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2441) at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2156) at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2255) at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2150) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2402) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:884) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:592) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:501) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183) --------------- nested within: ------------------ weblogic.management.ManagementException: - with nested exception: [weblogic.management.DeploymentException: Exception:weblogic.management.ApplicationException: start() failed. Module: WebRoot Error: java.lang.NullPointerException ] at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2414) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:884) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:592) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:501) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183) >
Intellij IDEA 和 Weblogic 部署项目
Intellij IDEA 和 Weblogic 部署项目出现如下问题 <2017-11-14 下午02时43分34秒 CST> <Error> <J2EE> <BEA-160197> <Unable to load descriptor D:\weblogic\user_projects\domains\base_domain\autodeploy\ming_war_exploded/WEB-INF/web.xml of module ming_war_exploded. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:161) at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323) at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788) at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409) at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759) at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768) at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141) at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1327) at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:372) at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176) at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199) at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45) at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184) at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747) at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216) at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:176) Caused by: com.bea.xml.XmlException: failed to load java type corresponding to e=web-app@http://xmlns.jcp.org/xml/ns/javaee at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:371) at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:326) at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:336) at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:317) at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:168) at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65) at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:150) ... 33 more .>
myeclipse10+weblogic10部署启动项目后报错
myeclipse10+weblogic10部署启动项目后报错: <2014-10-14 上午06时01分37秒 GMT> <Error> <HTTP> <BEA-101216> <Servlet: "weblogic.wsee.async.AsyncResponseBean" failed to preload on startup in Web application: "zzrkgl". class: weblogic.wsee.async.jaxws.OnAsyncDelivery could not be found at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272) at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566) at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513) at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358) at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245) Truncated. see log file for complete stacktrace > <2014-10-14 上午06时01分37秒 GMT> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application '_appsdir_zzrkgl_dir'. weblogic.application.ModuleException: [HTTP:101216]Servlet: "weblogic.wsee.async.AsyncResponseBean" failed to preload on startup in Web application: "zzrkgl". class: weblogic.wsee.async.jaxws.OnAsyncDelivery could not be found at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272) at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566) at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513) at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358) at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245) at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:229) at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:161) at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:291) at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:315) at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:125) at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64) at javax.servlet.GenericServlet.init(GenericServlet.java:241) at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:282) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:63) at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58) at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1830) at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1807) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1727) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2890) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:948) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80) at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:182) at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:359) at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51) at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196) at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30) at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233) at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169) at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123) at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173) at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89) at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200) at weblogic.work.ExecuteThread.run(ExecuteThread.java:172) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:950) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) Truncated. see log file for complete stacktrace class: weblogic.wsee.async.jaxws.OnAsyncDelivery could not be found at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272) at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566) at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513) at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358) at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245) Truncated. see log file for complete stacktrace 请问到底是什么原因,已经试过好多方法了解决不了,求请教帮忙!谢谢!急!
服务器集群session共享配置weblogic.xml导致后台报错
服务器集群为实现session共享,在项目的WEB-INF下配置weblogic.xml文件(web.xml同目录),然后配置完成重新部署重启服务器之后项目就报错了 ``` <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90"> <session-descriptor> <debug-enabled>true</debug-enabled> <persistent-store-type>replicated</persistent-store-type> <sharing-enabled>true</sharing-enabled> </session-descriptor> <context-root>/</context-root> ``` 报错是 ERROR [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] CommonsLogger.error(38) | Could not find action or resultThere is no Action mapped for namespace / and action name pay 可是我的项目中根本就没有叫做pay的namespace或action,没配置weblogic.xml的时候就不会报错,配置后连index.jsp都不能访问了......求指教个解决方案
Weblogic8.1部署应用程序时碰到的问题!
应用为spring集成xfire开发的,测试平台为windowsxp或2003,当应用服务器为websphere6或者tomcat5.5,应用可以正常发布和访问,当应用为weblogic81的时候,应用的部署出现以下问题(同时,通过ie访问应用的时候,会出现页面跳转错误.),帮忙看看原因,jdk版本为1.4.2: log4j:WARN No appenders could be found for logger (org.codehaus.xfire.transport. http.XFireConfigurableServlet). log4j:WARN Please initialize the log4j system properly. [color=red]&lt;2009-3-6 下午03时13分22秒 CST&gt; &lt;Error&gt; &lt;HTTP&gt; &lt;BEA-101216&gt; &lt;Servlet: "XFireServ let" failed to preload on startup in Web application: "DataExchange". javax.servlet.ServletException: Error initializing XFireServlet.[/color] at org.codehaus.xfire.transport.http.XFireServlet.init(XFireServlet.java :52) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(Servl etStubImpl.java:1094) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate dSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java: 121) at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm pl.java:970) at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub Impl.java:949) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI mpl.java:888) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS ervletContext.java:3430) at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp ServletContext.java:3387) at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp ServletContext.java:3373) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAp pServletContext.java:3356) at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServl etContext.java:6208) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:864) at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer .java:2134) at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContai ner.java:2175) at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask. activateContainer(SlaveDeployer.java:2520) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit( SlaveDeployer.java:2438) at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeplo yer.java:2155) at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(S laveDeployer.java:2254) at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDepl oyer.java:2149) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S laveDeployer.java:2401) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla veDeployer.java:883) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl oyer.java:591) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep loyer.java:500) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan dler.java:25) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183) [color=red]Caused by: java.lang.NoSuchMethodError: javax.xml.namespace.QName.&lt;init&gt;(Ljava/l ang/String;Ljava/lang/String;Ljava/lang/String;)V[/color] at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.&lt;clinit&gt;(Def aultTypeMappingRegistry.java:66) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:219) at org.springframework.util.ClassUtils.forName(ClassUtils.java:108) at org.springframework.beans.factory.support.BeanDefinitionReaderUtils.c reateBeanDefinition(BeanDefinitionReaderUtils.java:65) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser. parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:426) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser. parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:392) at org.apache.xbean.spring.context.v1.XBeanXmlBeanDefinitionParser.parse BeanDefinitionElement(XBeanXmlBeanDefinitionParser.java:835) at org.apache.xbean.spring.context.v1.XBeanXmlBeanDefinitionParser.parse BeanDefinitions(XBeanXmlBeanDefinitionParser.java:802) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser. registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:191) at org.apache.xbean.spring.context.v1.XBeanXmlBeanDefinitionReader.regis terBeanDefinitions(XBeanXmlBeanDefinitionReader.java:78) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadB eanDefinitions(XmlBeanDefinitionReader.java:223) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea nDefinitions(XmlBeanDefinitionReader.java:173) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea nDefinitions(XmlBeanDefinitionReader.java:148) at org.codehaus.xfire.spring.XFireConfigLoader.getXFireApplicationContex t(XFireConfigLoader.java:79) at org.codehaus.xfire.spring.XFireConfigLoader.loadContext(XFireConfigLo ader.java:41) at org.codehaus.xfire.transport.http.XFireConfigurableServlet.loadConfig (XFireConfigurableServlet.java:86) at org.codehaus.xfire.transport.http.XFireConfigurableServlet.createXFir e(XFireConfigurableServlet.java:54) at org.codehaus.xfire.transport.http.XFireServlet.init(XFireServlet.java :45) ... 27 more &gt; Globals.resourceOneCoreConfigPath:= D:\ResourceOneHomeMTS\config\ Globals.resourceOneAppConfigPath:= D:\ResourceOneHomeMTS\config\ mTSMonitorPath:= D:\ResourceOneHomeMTS\MTSMonitor\ sysConfigFolder.isDirectory():= true [color=red][ERROR] 2009-03-06 15:13:25 [ExecuteThread: '4' for queue: 'weblogic.kernel.Syst em'] [com.icss.resourceone.sdkimpl.datachannel.mqimpl.listener.DCListenerInitSer vlet.init:57] MQ监听服务启动失败,可能当前节点未未映射到本地或路由节点信息已损 坏。[/color]java.lang.NullPointerException at com.icss.resourceone.sdkimpl.datachannel.mqimpl.mqi.MQIProcessor.&lt;ini t&gt;(MQIProcessor.java:87) at com.icss.resourceone.sdkimpl.datachannel.mqimpl.MQTransport.&lt;init&gt;(MQ Transport.java:84) at com.icss.resourceone.datachannel.admin.console.message.ForwardMessage .resume(ForwardMessage.java:72) at com.icss.resourceone.datachannel.admin.console.message.ForwardMessage TimerTask.run(ForwardMessageTimerTask.java:37) at java.util.TimerThread.mainLoop(Timer.java:432) at java.util.TimerThread.run(Timer.java:382) [ERROR] 2009-03-06 15:13:26 [Thread-7] [com.icss.resourceone.sdkimpl.datachannel .mqimpl.mqi.MQIProcessor.connMQ:143] Invalid port specification, port = [ERROR] 2009-03-06 15:13:26 [Thread-7] [com.icss.resourceone.sdkimpl.datachannel .mqimpl.mqi.MQIProcessor.connMQ:144] java.lang.NumberFormatException: For input string: "" [ERROR] 2009-03-06 15:13:26 [Thread-7] [com.icss.resourceone.datachannel.admin.c onsole.message.ForwardMessage.resume:105] 恢复转发消息失败 com.icss.resourceone.sdk.datachannel.DCException: 不能连接MQ队列管理器 [b]问题补充:[/b] 谢谢楼下的回答,我试了下,没有在应用程序中找到weblogic.xml文件啊,是添加到WEB-INF/web.xml文件中吗?添加到web.xml中好像还是不行,错误提示是相同的. 在weblogic安装目录下很多weblogic.xml, 不知道改哪个啊? 谢谢
weblogic 9.2.3 部署报错,在其他同样环境下未报错
weblogic 9.2.3 部署报错:javax.xml.ws.WebServiceException: java.lang.ArrayIndexOutOfBoundsExcept,求教大神如何解决! ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1430358531712> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transService': Invocation of init method failed; nested exception is javax.xml.ws.WebServiceException: java.lang.ArrayIndexOutOfBoundsException. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transService': Invocation of init method failed; nested exception is javax.xml.ws.WebServiceException: java.lang.ArrayIndexOutOfBoundsException at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1362) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:540) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:485) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:170) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:413) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:735) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:369) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:251) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:190) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:375) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:83) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1591) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2734) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:892) javax.xml.ws.WebServiceException: java.lang.ArrayIndexOutOfBoundsException at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:265) at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:201) at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:392) at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1427) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1396) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1359) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:540) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:485) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:170) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:413) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:735) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:369) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:251) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:190) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:375) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:83) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1591) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2734) java.lang.ArrayIndexOutOfBoundsException at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createMessageParts(ReflectionServiceFactoryBean.java:1272) at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createOperation(ReflectionServiceFactoryBean.java:759) at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.createOperation(JaxWsServiceFactoryBean.java:473) at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createInterface(ReflectionServiceFactoryBean.java:739) at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:335) at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:513) at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:396) at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:181) at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:163) at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:79) at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:114) at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:164) at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:334) at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:251) at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:201) at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:392) at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1427) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1396) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1359) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:540) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:485) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248) >
EJB规范定义的部署描述符有哪些?
以下是给出的选项 web.xml weblogic-ejb-jar.xml weblogic.xml ejb-jar.xml ejb.xml 求大神解惑。
WebLogic上部署项目,启动后报无法加载配置Unable to load configuration
Unable to load configuration. - bean - zip:E:/weblogic/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/_appsdir_ngca-mgr_dir/8xnbgb/war/WEB-INF/lib/struts2-core-2.3.15.3.jar!/struts-default.xml:29:72 at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58) at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390) at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:436) at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69) at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51) at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:332) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:98) at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:59) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1867) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409) at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184) at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361) at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51) at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200) at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30) at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240) at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169) at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123) at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180) at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96) at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - zip:E:/weblogic/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/_appsdir_ngca-mgr_dir/8xnbgb/war/WEB-INF/lib/struts2-core-2.3.15.3.jar!/struts-default.xml:29:72 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:222) at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:165) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55) ... 41 more Caused by: Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been loaded by bean - zip:E:/weblogic/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/_appsdir_ngca-mgr_dir/8xnbgb/war/WEB-INF/lib/struts2-core-2.3.1.2.jar!/struts-default.xml:29:72 - bean - zip:E:/weblogic/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/_appsdir_ngca-mgr_dir/8xnbgb/war/WEB-INF/lib/struts2-core-2.3.15.3.jar!/struts-default.xml:29:72 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:206) ... 44 more <2014-10-29 下午06时16分27秒 CST> <Error> <HTTP> <BEA-101165> <Could not load user defined filter in web.xml: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter. Unable to load configuration. - bean - zip:E:/weblogic/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/_appsdir_ngca-mgr_dir/8xnbgb/war/WEB-INF/lib/struts2-core-2.3.15.3.jar!/struts-default.xml:29:72 at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:449) at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69) at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51) at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:332) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) Truncated. see log file for complete stacktrace Caused By: Unable to load configuration. - bean - zip:E:/weblogic/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/_appsdir_ngca-mgr_dir/8xnbgb/war/WEB-INF/lib/struts2-core-2.3.15.3.jar!/struts-default.xml:29:72 at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58) at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390) at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:436) at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69) at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51) Truncated. see log file for complete stacktrace Caused By: Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - zip:E:/weblogic/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/_appsdir_ngca-mgr_dir/8xnbgb/war/WEB-INF/lib/struts2-core-2.3.15.3.jar!/struts-default.xml:29:72 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:222) at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:165) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55) at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390) Truncated. see log file for complete stacktrace Caused By: Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been loaded by bean - zip:E:/weblogic/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/_appsdir_ngca-mgr_dir/8xnbgb/war/WEB-INF/lib/struts2-core-2.3.1.2.jar!/struts-default.xml:29:72 - bean - zip:E:/weblogic/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/_appsdir_ngca-mgr_dir/8xnbgb/war/WEB-INF/lib/struts2-core-2.3.15.3.jar!/struts-default.xml:29:72 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:206) at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:165) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55) at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390) Truncated. see log file for complete stacktrace >
weblogic11g 部署问题,ibatis+spring+struts2框架,在windows部署成功;在有的linux部署成功但是在新装的linux上失败
没有分了 ,请大家给看看啊 啊! 以下是weblogic打印错误日志 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emporimpDAO' defined in class path resource [resources/applicationContext-dbback.xml]: Cannot resolve reference to bean 'sqlMapClient' while setting bean property 'sqlMapClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlMapClient' defined in class path resource [resources/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49) at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205) at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184) at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361) at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51) at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200) at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30) at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240) at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169) at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123) at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180) at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96) at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:176) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlMapClient' defined in class path resource [resources/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269) ... 53 more Caused by: java.lang.ExceptionInInitializerError at com.ibatis.sqlmap.engine.config.SqlMapConfiguration.<init>(SqlMapConfiguration.java:37) at com.ibatis.sqlmap.engine.builder.xml.XmlParserState.<init>(XmlParserState.java:11) at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.<init>(SqlMapConfigParser.java:18) at org.springframework.orm.ibatis.SqlMapClientFactoryBean.buildSqlMapClient(SqlMapClientFactoryBean.java:335) at org.springframework.orm.ibatis.SqlMapClientFactoryBean.afterPropertiesSet(SqlMapClientFactoryBean.java:292) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335) ... 63 more Caused by: java.lang.RuntimeException: Error creating logger for class class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl. Cause: java.lang.NullPointerException at com.ibatis.common.logging.LogFactory.getLog(LogFactory.java:33) at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.<clinit>(SqlMapClientImpl.java:39) ... 70 more Caused by: java.lang.NullPointerException at com.ibatis.common.logging.LogFactory.getLog(LogFactory.java:31) ... 71 more <2011-8-2 下午09时41分01秒 CST> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emporimpDAO' defined in class path resource [resources/applicationContext-dbback.xml]: Cannot resolve reference to bean 'sqlMapClient' while setting bean property 'sqlMapClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlMapClient' defined in class path resource [resources/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emporimpDAO' defined in class path resource [resources/applicationContext-dbback.xml]: Cannot resolve reference to bean 'sqlMapClient' while setting bean property 'sqlMapClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlMapClient' defined in class path resource [resources/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472) Truncated. see log file for complete stacktrace Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlMapClient' defined in class path resource [resources/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) Truncated. see log file for complete stacktrace Caused By: java.lang.ExceptionInInitializerError at com.ibatis.sqlmap.engine.config.SqlMapConfiguration.<init>(SqlMapConfiguration.java:37) at com.ibatis.sqlmap.engine.builder.xml.XmlParserState.<init>(XmlParserState.java:11) at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.<init>(SqlMapConfigParser.java:18) at org.springframework.orm.ibatis.SqlMapClientFactoryBean.buildSqlMapClient(SqlMapClientFactoryBean.java:335) at org.springframework.orm.ibatis.SqlMapClientFactoryBean.afterPropertiesSet(SqlMapClientFactoryBean.java:292) Truncated. see log file for complete stacktrace Caused By: java.lang.RuntimeException: Error creating logger for class class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl. Cause: java.lang.NullPointerException at com.ibatis.common.logging.LogFactory.getLog(LogFactory.java:33) at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.<clinit>(SqlMapClientImpl.java:39) at com.ibatis.sqlmap.engine.config.SqlMapConfiguration.<init>(SqlMapConfiguration.java:37) at com.ibatis.sqlmap.engine.builder.xml.XmlParserState.<init>(XmlParserState.java:11) at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.<init>(SqlMapConfigParser.java:18) Truncated. see log file for complete stacktrace Caused By: java.lang.NullPointerException at com.ibatis.common.logging.LogFactory.getLog(LogFactory.java:31) at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.<clinit>(SqlMapClientImpl.java:39) at com.ibatis.sqlmap.engine.config.SqlMapConfiguration.<init>(SqlMapConfiguration.java:37) at com.ibatis.sqlmap.engine.builder.xml.XmlParserState.<init>(XmlParserState.java:11) at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.<init>(SqlMapConfigParser.java:18) Truncated. see log file for complete stacktrace > <2011-8-2 下午09时41分01秒 CST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'web'. weblogic.application.ModuleException: at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) Truncated. see log file for complete stacktrace Caused By: java.lang.NullPointerException at com.ibatis.common.logging.LogFactory.getLog(LogFactory.java:31) at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.<clinit>(SqlMapClientImpl.java:39) at com.ibatis.sqlmap.engine.config.SqlMapConfiguration.<init>(SqlMapConfiguration.java:37) at com.ibatis.sqlmap.engine.builder.xml.XmlParserState.<init>(XmlParserState.java:11) at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.<init>(SqlMapConfigParser.java:18) Truncated. see log file for complete stacktrace > <2011-8-2 下午09时41分01秒 CST> <Notice> <LoggingService> <BEA-320400> <The log file /weblogic/user_projects/domains/base_domain/servers/AdminServer/logs/base_domain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.> <2011-8-2 下午09时41分01秒 CST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /weblogic/user_projects/domains/base_domain/servers/AdminServer/logs/base_domain.log00011. Log messages will continue to be logged in /weblogic/user_projects/domains/base_domain/servers/AdminServer/logs/base_domain.log.> <2011-8-2 下午09时41分01秒 CST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.> <2011-8-2 下午09时41分01秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN> <2011-8-2 下午09时41分01秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
weblogic9.2部署文件
系统要升级从6.1升到9.2 项目文件 project 所有jsp文件 WEB-INF classes文件 lib文件 web.xml 原来6.1的时候是把上面的2个文件夹放在DefaultWebApp下.直接用http://localhost:7001/project/***.jsp可以访问 现在使用9.1我把上面2个文件夹放在一个web文件夹内再部署.需要http://localhost:7001/web/project/***0jsp才能访问.这样的话所有的提交请求都不能提交,因为多了一个web... 我想问的是,如何使用9.2部署一个像6.1那样的直接使用系统名称的服务.. 没玩过9.2,所以请大家帮忙,比较赶时间.. [b]问题补充:[/b] 正常情况下的项目路径是 project JSP文件 web-inf web.xml classes文件 部署到任何一个服务器的时候 都是访问http://localhost/project/***.jsp就OK 我这个项目与其他项目的区别就在于 项目和web-inf在同一个路径下(不去考虑为什么会这样) 所以我感到为难的就是,如何部署,能让weblogic9.2直接访问project下的JSP而不需要在上面再加一个项目名称 [b]问题补充:[/b] 是不是在web-inf 下加个weblogic.xml(这是8.1版本) [quote] <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd"> <weblogic-web-app> <context-root>/</context-root> </weblogic-web-app> [/quote] 部署的时候要怎么部署,我部署是通过控制台 部署-安装-选择路径-然后选中相应的包,貌似只能选择到project的上一层目录 现在是 web project web-inf 选到web的时候就选不下去了.. [b]问题补充:[/b] weblogic的头文件 [code="java"] <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd"> [/code] 去哪找标准的..我去bea网站上转了一圈,不知道去哪下 [code="java"] <2009-1-8 下午03时20分37秒 CST> <Warning> <J2EE Deployment SPI> <BEA-260128> <Ch anges not allowed to DTD based descriptors. The attempt to modify property 'Serv letName' in WEB-INF/weblogic.xml for module 'web' will be vetoed if possible. Th e change will not be persisted in either case.> [/code] 这个错误应该是描述出问题了... [b]问题补充:[/b] 我一直在console上试,但是没找到是在哪设置这东西.. [b]问题补充:[/b] [code="java"]谢谢, 其实就是weblogic.xml文件描述我写错了 <?xml version='1.0' encoding='UTF-8'?> <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd"> <context-root>/</context-root> </weblogic-web-app> [/code] 这样就可以了
Linux下的weblogic部署web项目,报错找不到ehcache.xml文件
![图片说明](https://img-ask.csdn.net/upload/201709/15/1505462882_320130.png)
maximo项目部署报表环境
请问maximo做报表开发应该怎样开发部署环境呢?目前我试图通过weblogic进行报表部分的部署,但是无法部署成功,控制台报错如下: ERROR [[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] ContextLoader.initWebApplicationContext(307) | Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/spring/spring-context.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: While trying to lookup 'jdbc.maximo' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/maximo' at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean (AbstractAutowireCapableBeanFactory.java:1455) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean (AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject (AbstractBeanFactory.java:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton (DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean (AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons (DefaultListableBeanFactory.java:567) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization (AbstractApplicationContext.java:913) at org.springframework.context.support.AbstractApplicationContext.refresh (AbstractApplicationContext.java:464) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext (ContextLoader.java:384) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283) at org.springframework.web.context.ContextLoaderListener.contextInitialized (ContextLoaderListener.java:111) at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1863) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409) at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate (AbstractOperation.java:569) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment (ActivateOperation.java:150) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit (ActivateOperation.java:116) at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:143) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit (AbstractOperation.java:323) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit (DeploymentManager.java:844) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList (DeploymentManager.java:1253) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit (DeploymentServiceDispatcher.java:163) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback (DeploymentReceiverCallbackDeliverer.java:195) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100 (DeploymentReceiverCallbackDeliverer.java:13) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run (DeploymentReceiverCallbackDeliverer.java:68) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: javax.naming.NameNotFoundException: While trying to lookup 'jdbc.maximo' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/maximo' at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139) at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247) at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182) at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206) at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254) at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:154) at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:87) at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:152) at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:178) at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:95) at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:105) at org.springframework.jndi.JndiObjectFactoryBean.lookupWithFallback(JndiObjectFactoryBean.java:201) at org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(JndiObjectFactoryBean.java:187) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods (AbstractAutowireCapableBeanFactory.java:1514) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean (AbstractAutowireCapableBeanFactory.java:1452) ... 50 more
weblogic部署项目报错,急!!!
log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: \ccicall\Applog\shffsrv_axis_soap.log (系统找不到指定的路径。) at java.io.FileOutputStream.openAppend(Native Method) <2017-4-25 下午07时17分51秒 CST> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [com/sinosoft/common/config/spring/spring-context.xml]: Cannot create inner bean 'com.sinosoft.common.util.DBManagerJndiNameResolver#12a801' of type [com.sinosoft.common.util.DBManagerJndiNameResolver] while setting bean property 'jndiNameResolver'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.sinosoft.common.util.DBManagerJndiNameResolver#12a801' defined in class path resource [com/sinosoft/common/config/spring/spring-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.sinosoft.common.util.DBManagerJndiNameResolver]: Constructor threw exception; nested exception is java.lang.RuntimeException: java.io.FileNotFoundException: C:\Oracle\Middleware\user_projects\domains\base_domain\null\config\dbmanager-config.xml (系统找不到指定的路径。). org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [com/sinosoft/common/config/spring/spring-context.xml]: Cannot create inner bean 'com.sinosoft.common.util.DBManagerJndiNameResolver#12a801' of type [com.sinosoft.common.util.DBManagerJndiNameResolver] while setting bean property 'jndiNameResolver'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.sinosoft.common.util.DBManagerJndiNameResolver#12a801' defined in class path resource [com/sinosoft/common/config/spring/spring-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.sinosoft.common.util.DBManagerJndiNameResolver]: Constructor threw exception; nested exception is java.lang.RuntimeException: java.io.FileNotFoundException: C:\Oracle\Middleware\user_projects\domains\base_domain\null\config\dbmanager-config.xml (系统找不到指定的路径。) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) Truncated. see log file for complete stacktrace Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.sinosoft.common.util.DBManagerJndiNameResolver#12a801' defined in class path resource [com/sinosoft/common/config/spring/spring-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.sinosoft.common.util.DBManagerJndiNameResolver]: Constructor threw exception; nested exception is java.lang.RuntimeException: java.io.FileNotFoundException: C:\Oracle\Middleware\user_projects\domains\base_domain\null\config\dbmanager-config.xml (系统找不到指定的路径。) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:965) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270) Truncated. see log file for complete stacktrace Caused By: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.sinosoft.common.util.DBManagerJndiNameResolver]: Constructor threw exception; nested exception is java.lang.RuntimeException: java.io.FileNotFoundException: C:\Oracle\Middleware\user_projects\domains\base_domain\null\config\dbmanager-config.xml (系统找不到指定的路径。) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:74) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:958) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) Truncated. see log file for complete stacktrace Caused By: java.lang.RuntimeException: java.io.FileNotFoundException: C:\Oracle\Middleware\user_projects\domains\base_domain\null\config\dbmanager-config.xml (系统找不到指定的路径。) at com.sinosoft.common.util.DBManagerJndiNameResolver.<init>(DBManagerJndiNameResolver.java:48) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) Truncated. see log file for complete stacktrace Caused By: java.io.FileNotFoundException: C:\Oracle\Middleware\user_projects\domains\base_domain\null\config\dbmanager-config.xml (系统找不到指定的路径。) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161) Truncated. see log file for complete stacktrace > <2017-4-25 下午07时17分51秒 CST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'ddccallweb'. weblogic.application.ModuleException: at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1399) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) Truncated. see log file for complete stacktrace Caused By: java.io.FileNotFoundException: C:\Oracle\Middleware\user_projects\domains\base_domain\null\config\dbmanager-config.xml (系统找不到指定的路径。) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161) Truncated. see log file for complete stacktrace >
求WebLogic10.3下运行velocity出错的解决办法
<p>本人现在有一个项目(SSH)</p> <p>在Windows+Tomcat6上部署</p> <p>运行皆正常.</p> <p> </p> <p>但迁移到Linux(RedHat Server 5.5)+WebLogic10.3上</p> <p>部署报错.</p> <p> </p> <p>错误信息如下:</p> <p> </p> <p><span style="background-color: #ff0000;"><span style="color: #000000; background-color: #ffffff;">- - Servlet Engine: WebLogic Server 10.3 Fri Jul 25 16:30:05 EDT 2008 1137967 <br>- - Java Version:   1.6.0_05<br>- - Java Vendor:    Sun Microsystems Inc.<br>- VelocityViewServlet: Using custom properties at '/WEB-INF/config/velocity.properties'<br>- LogSystem has been deprecated. Please use a LogChute implementation.<br>- Velocimacro : added #getCnWeek(  num ) : source = /WEB-INF/vmLib/common.vm<br>- Velocimacro : allowInlineLocal = true : VMs defined inline will be local to their defining templat<br>e only.<br>- Velocimacro : autoload on : VM system will automatically reload global library macros<br>- Using config file '/WEB-INF/config/toolbox.xml'<br>- Digester.getParser: <br>java.lang.UnsupportedOperationException: This parser does not support specification "null" version "<br>null"<br> at javax.xml.parsers.SAXParserFactory.setXIncludeAware(SAXParserFactory.java:448)<br> at org.apache.commons.digester.Digester.getFactory(Digester.java:534)<br> at org.apache.commons.digester.Digester.getParser(Digester.java:786)<br> at org.apache.commons.digester.Digester.getXMLReader(Digester.java:1058)<br> at org.apache.commons.digester.Digester.parse(Digester.java:1887)<br> at org.apache.velocity.tools.view.XMLToolboxManager.load(XMLToolboxManager.java:211)<br> at org.apache.velocity.tools.view.servlet.ServletToolboxManager.getInstance(ServletToolboxManager.j<br>ava:169)<br> at org.apache.velocity.tools.view.servlet.VelocityViewServlet.initToolbox(VelocityViewServlet.java:<br>323)<br> at org.apache.velocity.tools.view.servlet.VelocityViewServlet.init(VelocityViewServlet.java:212)<br> at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)<br> at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)<br> at weblogic.security.service.SecurityManager.runAs(Unknown Source)<br> at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)<br> at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)<br> at weblogic.servlet.internal.StubLifecycleHelper.&lt;init&gt;(StubLifecycleHelper.java:48)<br> at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:521)<br> at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1893)<br> at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1<br>870)<br> at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1790)<br> at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2999)<br> at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1371)<br> at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)<br> at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)<br> at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)<br> at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)<br> at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)<br> at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)<br> at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)<br> at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)<br> at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)<br> at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)<br> at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)<br> at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)<br> at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)<br> at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:16)<br> at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162)<br> at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)<br> at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)<br> at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeploymen<br>t.java:361)<br> at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)<br> at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)<br> at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)<br> at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.j<br>ava:233)<br> at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:16<br>9)<br> at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)<br> at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:<br>173)<br> at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:8<br>9)<br> at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)<br> at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)<br> at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)<br>- Problem loading toolbox '/WEB-INF/config/toolbox.xml'<br>java.lang.NullPointerException<br> at org.apache.commons.digester.Digester.getXMLReader(Digester.java:1058)<br> at org.apache.commons.digester.Digester.parse(Digester.java:1887)<br> at org.apache.velocity.tools.view.XMLToolboxManager.load(XMLToolboxManager.java:211)<br> at org.apache.velocity.tools.view.servlet.ServletToolboxManager.getInstance(ServletToolboxManager.j<br>ava:169)<br> at org.apache.velocity.tools.view.servlet.VelocityViewServlet.initToolbox(VelocityViewServlet.java:<br>323)<br> at org.apache.velocity.tools.view.servlet.VelocityViewServlet.init(VelocityViewServlet.java:212)<br> at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)<br> at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)<br> at weblogic.security.service.SecurityManager.runAs(Unknown Source)<br> at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)<br> at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)<br> at weblogic.servlet.internal.StubLifecycleHelper.&lt;init&gt;(StubLifecycleHelper.java:48)<br> at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:521)<br> at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1893)<br> at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1<br>870)<br> at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1790)<br> at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2999)<br> at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1371)<br> at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)<br> at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)<br> at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)<br> at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)<br> at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)<br> at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)<br> at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)<br> at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)<br> at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)<br> at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)<br> at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)<br> at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)<br> at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)<br> at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:16)<br> at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162)<br> at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)<br> at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)<br> at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeploymen<br>t.java:361)<br> at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)<br> at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)<br> at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)<br> at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.j<br>ava:233)<br> at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:16<br>9)<br> at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)<br> at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:<br>173)<br> at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:8<br>9)<br> at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)<br> at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)<br> at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)<br>- VelocityViewServlet: Default content-type is: text/html; charset=utf-8<br>- Root WebApplicationContext: initialization started</span></span></p> <p><span style="color: #000000; background-color: #c0c0c0;"> </span></p> <p> </p> <p> </p> <p>这是我项目中用到的包<br>E:\workspace\ot\BM_LIB\antlr-2.7.6rc1.jar<br>E:\workspace\ot\BM_LIB\axis.jar<br>E:\workspace\ot\BM_LIB\axis-ant.jar<br>E:\workspace\ot\BM_LIB\axis-schema.jar<br>E:\workspace\ot\BM_LIB\backport-util-concurrent-3.0.jar<br>E:\workspace\ot\BM_LIB\c3p0-0.9.0.jar<br>E:\workspace\ot\BM_LIB\cglib-nodep-2.1_3.jar<br>E:\workspace\ot\BM_LIB\commons-beanutils-1.7.0.jar<br>E:\workspace\ot\BM_LIB\commons-collections-3.2.jar<br>E:\workspace\ot\BM_LIB\commons-digester-2.0.jar<br>E:\workspace\ot\BM_LIB\commons-discovery-0.2.jar<br>E:\workspace\ot\BM_LIB\commons-fileupload-1.2.1.jar<br>E:\workspace\ot\BM_LIB\commons-io-1.3.2.jar<br>E:\workspace\ot\BM_LIB\commons-lang-2.3.jar<br>E:\workspace\ot\BM_LIB\commons-logging-1.0.4.jar<br>E:\workspace\ot\BM_LIB\commons-logging-api-1.1.jar<br>E:\workspace\ot\BM_LIB\commons-pool-1.3.jar<br>E:\workspace\ot\BM_LIB\commons-validator-1.3.1.jar<br>E:\workspace\ot\BM_LIB\dom4j-1.6.jar<br>E:\workspace\ot\BM_LIB\dwr.jar<br>E:\workspace\ot\BM_LIB\ehcache-1.5.0.jar<br>E:\workspace\ot\BM_LIB\ezmorph-1.0.4.jar<br>E:\workspace\ot\BM_LIB\freem a r k er-2.3.15.jar<br>E:\workspace\ot\BM_LIB\hibernate3.jar<br>E:\workspace\ot\BM_LIB\java-core-2.4.1.jar<br>E:\workspace\ot\BM_LIB\jaxrpc.jar<br>E:\workspace\ot\BM_LIB\jdom.jar<br>E:\workspace\ot\BM_LIB\json-lib-2.2.1.jar<br>E:\workspace\ot\BM_LIB\jstl.jar<br>E:\workspace\ot\BM_LIB\jta.jar<br>E:\workspace\ot\BM_LIB\jtds-1.2.jar<br>E:\workspace\ot\BM_LIB\junit.jar<br>E:\workspace\ot\BM_LIB\jxl.jar<br>E:\workspace\ot\BM_LIB\log4j-1.2.12.jar<br>E:\workspace\ot\BM_LIB\mail.jar<br>E:\workspace\ot\BM_LIB\mr.jar<br>E:\workspace\ot\BM_LIB\ognl-2.7.3.jar<br>E:\workspace\ot\BM_LIB\ojdbc14.jar<br>E:\workspace\ot\BM_LIB\opf-template.jar<br>E:\workspace\ot\BM_LIB\oscache-2.4.1.jar<br>E:\workspace\ot\BM_LIB\quartz-all-1.6.0.jar<br>E:\workspace\ot\BM_LIB\saaj.jar<br>E:\workspace\ot\BM_LIB\SecuInter.jar<br>E:\workspace\ot\BM_LIB\slf4j-api-1.5.5.jar<br>E:\workspace\ot\BM_LIB\slf4j-simple-1.5.5.jar<br>E:\workspace\ot\BM_LIB\spring.jar<br>E:\workspace\ot\BM_LIB\sqljdbc.jar<br>E:\workspace\ot\BM_LIB\standard.jar<br>E:\workspace\ot\BM_LIB\struts2-core-2.1.8.jar<br>E:\workspace\ot\BM_LIB\struts2-dojo-plugin-2.1.6.jar<br>E:\workspace\ot\BM_LIB\struts2-spring-plugin-2.1.8.jar<br>E:\workspace\ot\BM_LIB\wfclient.jar<br>E:\workspace\ot\BM_LIB\wsdl4j-1.5.1.jar<br>E:\workspace\ot\BM_LIB\xpp3_min-1.1.3.4.O.jar<br>E:\workspace\ot\BM_LIB\xstream-1.2.2.jar<br>E:\workspace\ot\BM_LIB\xwork-core-2.1.6.jar<br>E:\workspace\ot\BM_LIB\yalesso.jar<br>E:\workspace\ot\BM_LIB\velocity-1.5.jar<br>E:\workspace\ot\BM_LIB\velocity-tools-1.4.jar</p> <p> </p> <p> </p> <p>WebLogic下的包(bea\modules)</p> <p>E:\bea\modules\org.apache.openjpa_2.2.0.0_1-1-0.jar<br>E:\bea\modules\com.bea.adaptive.harvester.utils_1.2.0.0.jar<br>E:\bea\modules\com.bea.cie.bsu_5.2.0.0.jar<br>E:\bea\modules\com.bea.cie.comdev_5.6.0.0.jar<br>E:\bea\modules\com.bea.cie.comdev_5.9.0.0.jar<br>E:\bea\modules\com.bea.cie.common-plugin_2.2.0.0.jar<br>E:\bea\modules\com.bea.cie.config_5.2.0.0.jar<br>E:\bea\modules\com.bea.cie.gpr_2.3.0.0.jar<br>E:\bea\modules\com.bea.cie.gpr_2.8.0.0.jar<br>E:\bea\modules\com.bea.cie.gpr-impl_2.3.0.0.jar<br>E:\bea\modules\com.bea.cie.gpr-impl_2.8.0.0.jar<br>E:\bea\modules\com.bea.cie.gpr-xbean_2.3.0.0.jar<br>E:\bea\modules\com.bea.cie.gpr-xbean_2.8.0.0.jar<br>E:\bea\modules\com.bea.cie.instinfo_5.7.0.0.jar<br>E:\bea\modules\com.bea.cie.paf_1.1.0.0.jar<br>E:\bea\modules\com.bea.cie.paf-impl_1.1.0.0.jar<br>E:\bea\modules\com.bea.cie.patch-client_3.1.0.0.jar<br>E:\bea\modules\com.bea.cie.patch-common_3.1.0.0.jar<br>E:\bea\modules\com.bea.cie.plugin_2.1.0.0.jar<br>E:\bea\modules\com.bea.cie.plugin-wizard_2.1.2.0.jar<br>E:\bea\modules\com.bea.cie.quickstart_10.3.0.0.jar<br>E:\bea\modules\com.bea.cie.uninstall_5.9.0.0.jar<br>E:\bea\modules\com.bea.cie.wizard_5.6.0.0.jar<br>E:\bea\modules\com.bea.cie.wlw-plaf_5.2.0.0.jar<br>E:\bea\modules\com.bea.cie.xmldh_2.2.0.0.jar<br>E:\bea\modules\com.bea.cie.xmldh_2.3.0.0.jar<br>E:\bea\modules\com.bea.core.annogen_1.2.0.0.jar<br>E:\bea\modules\com.bea.core.antlr.runtime_2.7.7.jar<br>E:\bea\modules\com.bea.core.antlr_2.7.7.jar<br>E:\bea\modules\com.bea.core.apache.commons.collections_3.2.0.jar<br>E:\bea\modules\com.bea.core.apache.commons.lang_2.1.0.jar<br>E:\bea\modules\com.bea.core.apache.commons.logging.api_1.1.0.jar<br>E:\bea\modules\com.bea.core.apache.commons.logging_1.1.0.jar<br>E:\bea\modules\com.bea.core.apache.commons.net_1.0.0.0_1-4-1.jar<br>E:\bea\modules\com.bea.core.apache.commons.pool_1.3.0.jar<br>E:\bea\modules\com.bea.core.apache.dom_1.0.0.0.jar<br>E:\bea\modules\com.bea.core.apache.log4j_1.0.0.0_1-2-13.jar<br>E:\bea\modules\com.bea.core.apache.log4j_1.2.13.jar<br>E:\bea\modules\com.bea.core.apache.logging_1.0.0.0.jar<br>E:\bea\modules\com.bea.core.apache.oro_1.0.0.0_2-0-8.jar<br>E:\bea\modules\com.bea.core.apache.regexp_1.0.0.0_1-4.jar<br>E:\bea\modules\com.bea.core.apache.xalan_2.7.0.jar<br>E:\bea\modules\com.bea.core.apache.xml.security_1.3.0.jar<br>E:\bea\modules\com.bea.core.apache.xml.serializer_2.7.0.jar<br>E:\bea\modules\com.bea.core.bea.opensaml2_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.bea.opensaml_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.beangen_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.beaninfo_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.binxml_0.9.6.0.jar<br>E:\bea\modules\com.bea.core.certj_1.0.0.0.jar<br>E:\bea\modules\com.bea.core.common.engine.api_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.engine.impl_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.api_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.i18n_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.impl_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.jdkutils_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.providers.env_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.providers.utils_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.saml2.manage_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.saml2.utils_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.saml2_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.saml.utils_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.utils_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.xacml_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.xacmlproviders.utils_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.compat.wl.90_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.datasource6.binding_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.datasource6_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.datasource_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.descriptor.j2ee.binding_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.descriptor.j2ee_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.descriptor.settable.binding_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.descriptor.wl.binding_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.descriptor.wl_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.descriptor_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.diagnostics.accessor.binding_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.diagnostics.accessor_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.diagnostics.core_2.1.0.0.jar<br>E:\bea\modules\com.bea.core.diagnostics.instrumentor_1.3.0.0.jar<br>E:\bea\modules\com.bea.core.diagnostics.logging_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.diagnostics.notifications_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.diagnostics.query_1.0.0.0.jar<br>E:\bea\modules\com.bea.core.diagnostics.snmp_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.ejbgen_1.0.0.0.jar<br>E:\bea\modules\com.bea.core.http.pubsub.binding_1.2.0.0.jar<br>E:\bea\modules\com.bea.core.http.pubsub.mbean_1.2.0.0.jar<br>E:\bea\modules\com.bea.core.http.pubsub_1.2.0.0.jar<br>E:\bea\modules\com.bea.core.i18n.generator_1.3.0.0.jar<br>E:\bea\modules\com.bea.core.i18n.tools_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.i18n_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.jarbuilder_1.2.0.0.jar<br>E:\bea\modules\com.bea.core.jatmi_1.2.0.3.jar<br>E:\bea\modules\com.bea.core.jmspool_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.jsafe_3.5.0.jar<br>E:\bea\modules\com.bea.core.kodo.integration.binding_1.3.0.0.jar<br>E:\bea\modules\com.bea.core.kodo.integration.tools_1.2.0.0.jar<br>E:\bea\modules\com.bea.core.kodo.integration_1.3.0.0.jar<br>E:\bea\modules\com.bea.core.kodo_1.0.0.0_4-2-0.jar<br>E:\bea\modules\com.bea.core.ldapjdk_1.0.0.0.jar<br>E:\bea\modules\com.bea.core.logging_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.management.core.binding_2.3.0.0.jar<br>E:\bea\modules\com.bea.core.management.core_2.3.0.0.jar<br>E:\bea\modules\com.bea.core.management.jmx_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.mbean.maker_1.3.0.0.jar<br>E:\bea\modules\com.bea.core.mbean.support_1.3.0.0.jar<br>E:\bea\modules\com.bea.core.messaging.kernel_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.monitoring.harvester.api_2.1.0.0.jar<br>E:\bea\modules\com.bea.core.monitoring.harvester.jmx_2.1.0.0.jar<br>E:\bea\modules\com.bea.core.nodemanager.plugin_1.2.0.0.jar<br>E:\bea\modules\com.bea.core.process_5.4.0.0.jar<br>E:\bea\modules\com.bea.core.redef.binding_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.redef_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.redefagent_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.repackaged.apache.bcel_5.2.1.0.jar<br>E:\bea\modules\com.bea.core.repackaged.apache.commons.logging_1.2.0.jar<br>E:\bea\modules\com.bea.core.repackaged.asm.commons_3.0.jar<br>E:\bea\modules\com.bea.core.repackaged.asm.tree_3.0.jar<br>E:\bea\modules\com.bea.core.repackaged.asm.util_3.0.jar<br>E:\bea\modules\com.bea.core.repackaged.asm_3.0.jar<br>E:\bea\modules\com.bea.core.repackaged.aspectj.aspectjweaver_5.1.0.jar<br>E:\bea\modules\com.bea.core.repackaged.jdt_3.2.2.0.jar<br>E:\bea\modules\com.bea.core.repackaged.springframework.pitchfork_1.1.0.0_1-0.jar<br>E:\bea\modules\com.bea.core.repackaged.springframework.spring_2.0.3.jar<br>E:\bea\modules\com.bea.core.resourcepool_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.serp_1.14.2.0.jar<br>E:\bea\modules\com.bea.core.store.admintool_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.store.gxa_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.store.jdbc_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.store_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.timers_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.transaction_2.5.0.0.jar<br>E:\bea\modules\com.bea.core.utils.agent_1.0.0.0.jar<br>E:\bea\modules\com.bea.core.utils.classloaders_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.utils.compiler_1.0.0.0.jar<br>E:\bea\modules\com.bea.core.utils.expressions_1.3.0.0.jar<br>E:\bea\modules\com.bea.core.utils.full_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.utils.wrapper_1.3.0.0.jar<br>E:\bea\modules\com.bea.core.utils_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.weblogic.commons.logging_1.3.0.0.jar<br>E:\bea\modules\com.bea.core.weblogic.lifecycle_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.weblogic.rmi.client_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.weblogic.saaj_1.3.0.0.jar<br>E:\bea\modules\com.bea.core.weblogic.security.auth_1.0.0.0.jar<br>E:\bea\modules\com.bea.core.weblogic.security.digest_1.0.0.0.jar<br>E:\bea\modules\com.bea.core.weblogic.security.identity_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.weblogic.security.logger_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.weblogic.security.wls_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.weblogic.security_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.weblogic.socket.api_1.0.0.0.jar<br>E:\bea\modules\com.bea.core.weblogic.stax_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.weblogic.web.api_1.2.0.0.jar<br>E:\bea\modules\com.bea.core.weblogic.workmanager_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.woodstox_1.0.0.0_3-2-4.jar<br>E:\bea\modules\com.bea.core.workarea_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.ws.axis_1.0.0.0.jar<br>E:\bea\modules\com.bea.core.ws.wsdl4j_1.5.1.jar<br>E:\bea\modules\com.bea.core.xml.beaxmlbeans_1.0.0.0_2-4-0.jar<br>E:\bea\modules\com.bea.core.xml.beaxmlbeans_2.2.0.0.jar<br>E:\bea\modules\com.bea.core.xml.stax_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.xml.staxb.buildtime_1.3.0.0.jar<br>E:\bea\modules\com.bea.core.xml.staxb.runtime_1.3.0.0.jar<br>E:\bea\modules\com.bea.core.xml.weblogic.xpath_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.xml.xmlbeans_1.0.0.0_2-4-0.jar<br>E:\bea\modules\com.bea.core.xml.xmlbeans_2.2.0.0.jar<br>E:\bea\modules\com.bea.core.xquery.beaxmlbeans-interop_0.9.6.0.jar<br>E:\bea\modules\com.bea.core.xquery.xmlbeans-interop_0.9.6.0.jar<br>E:\bea\modules\com.bea.core.xquery_0.9.6.0.jar<br>E:\bea\modules\com.bea.mbean.typing.util_1.2.0.0.jar<br>E:\bea\modules\com.bea.web.pubsub.jms_1.2.0.0.jar<br>E:\bea\modules\com.bea.web.pubsub.security_1.2.0.0.jar<br>E:\bea\modules\com.sun.jimi_1.0.0.0.jar<br>E:\bea\modules\glassfish.el_2.1.0.jar<br>E:\bea\modules\glassfish.jaxb_2.1.6.jar<br>E:\bea\modules\glassfish.jaxws.fastinfoset_2.1.3.jar<br>E:\bea\modules\glassfish.jaxws.mimepull_1.0.144.jar<br>E:\bea\modules\glassfish.jaxws.resolver_2.1.3.jar<br>E:\bea\modules\glassfish.jaxws.rt_2.1.3.jar<br>E:\bea\modules\glassfish.jaxws.tools_1.0.0.0_2-1-3.jar<br>E:\bea\modules\glassfish.jstl_1.2.0.1.jar<br>E:\bea\modules\glassfish.stax.ex_1.0.0.0_1-2.jar<br>E:\bea\modules\glassfish.xmlstreambuffer_0.5.221.jar<br>E:\bea\modules\javax.activation_1.1.0.0_1-1.jar<br>E:\bea\modules\javax.activation_1.1.jar<br>E:\bea\modules\javax.annotation_1.1.jar<br>E:\bea\modules\javax.ejb_3.0.1.jar<br>E:\bea\modules\javax.enterprise.deploy_1.2.jar<br>E:\bea\modules\javax.interceptor_1.0.jar<br>E:\bea\modules\javax.jdo_2.0.1.jar<br>E:\bea\modules\javax.jms_1.1.1.jar<br>E:\bea\modules\javax.jsf_1.2.0.0.jar<br>E:\bea\modules\javax.jsp_1.1.0.0_2-1.jar<br>E:\bea\modules\javax.jws_2.0.jar<br>E:\bea\modules\javax.mail_1.1.0.0_1-1.jar<br>E:\bea\modules\javax.mail_1.4.jar<br>E:\bea\modules\javax.management.j2ee_1.0.jar<br>E:\bea\modules\javax.management.remote_1.0.1.3.jar<br>E:\bea\modules\javax.management_1.2.1.jar<br>E:\bea\modules\javax.persistence_1.0.0.0_1-0.jar<br>E:\bea\modules\javax.resource_1.5.1.jar<br>E:\bea\modules\javax.security.jacc_1.0.0.0_1-1.jar<br>E:\bea\modules\javax.servlet_1.0.0.0_2-5.jar<br>E:\bea\modules\javax.transaction_1.0.0.0_1-1.jar<br>E:\bea\modules\javax.xml.bind_2.1.1.jar<br>E:\bea\modules\javax.xml.registry_1.0.0.0_1-0.jar<br>E:\bea\modules\javax.xml.rpc_1.1.jar<br>E:\bea\modules\javax.xml.rpc_1.2.1.jar<br>E:\bea\modules\javax.xml.soap_1.3.0.0.jar<br>E:\bea\modules\javax.xml.soap_1.3.1.0.jar<br>E:\bea\modules\javax.xml.stream_1.0.0.0.jar<br>E:\bea\modules\javax.xml.stream_1.1.1.0.jar<br>E:\bea\modules\javax.xml.ws_2.1.1.jar<br>E:\bea\modules\javolution_3.7.19.0.jar<br>E:\bea\modules\joda.time_1.2.1.0.jar<br>E:\bea\modules\monfox.dsnmp.agent_1.0.0.0_4-6-5.jar<br>E:\bea\modules\org.apache.ant.patch_1.1.0.0_1-6-5.jar</p> <p> </p> <p>注:本来这里面还有这几个包</p> <p>但我在网上找了一下</p> <p>有的说可能是包有重复</p> <p>我就把哪几个包去掉了.</p> <p>但去掉后还是照样报错.</p> <p> </p> <p>如下:</p> <p>com.bea.core.apache.velocity.dep_1.4.jar</p> <p>com.bea.core.apache.velocity_1.4.jar</p> <p>com.bea.core.apache.xerces.resolver_2.8.1.jar</p> <p>com.bea.core.apache.xercesImpl_2.8.1.jar</p> <p>com.bea.core.apache_1.2.0.0.jar</p> <p>com.bea.core.apache.xerces.xml-apis_2.8.1.jar</p> <p>glassfish.jaxb.xjc_2.1.6.jar</p> <p> </p> <p>如有知道问题解决办法者,望真诚相告,非常感谢!</p>
weblogic 部署项目报错
同一个项目windows 虚拟机上部署运行成功 mac系统部署报错 报错信息如下 log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader). log4j:WARN Please initialize the log4j system properly. SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [zip:/Users/rui/Workspaces/MyEclipse 2016/ais/WEB-INF/lib/sso-1.0.2.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [zip:/Users/rui/Workspaces/MyEclipse 2016/ais/WEB-INF/lib/slf4j-log4j12-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] SLF4J: The requested version 1.5.8 by your slf4j binding is not compatible with [1.6] SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details. <2018-10-16 ????04ʱ18??24?? GMT+08:00> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'specialCharacter' defined in ServletContext resource [/WEB-INF/classes/ais/framework/applicationContext-acegi-security.xml]: Instantiation of bean failed; nested exception is java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'specialCharacter' defined in ServletContext resource [/WEB-INF/classes/ais/framework/applicationContext-acegi-security.xml]: Instantiation of bean failed; nested exception is java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) Truncated. see log file for complete stacktrace Caused By: java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String; at org.slf4j.impl.Log4jLoggerAdapter.debug(Log4jLoggerAdapter.java:223) at org.opensaml.DefaultBootstrap.initializeXMLTooling(DefaultBootstrap.java:198) at org.opensaml.DefaultBootstrap.bootstrap(DefaultBootstrap.java:91) at dk.itst.oiosaml.sp.service.SPFilter.<clinit>(SPFilter.java:306) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) Truncated. see log file for complete stacktrace > <2018-10-16 ????04ʱ18??24?? GMT+08:00> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'ais'. weblogic.application.ModuleException: at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1520) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) Truncated. see log file for complete stacktrace Caused By: java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String; at org.slf4j.impl.Log4jLoggerAdapter.debug(Log4jLoggerAdapter.java:223) at org.opensaml.DefaultBootstrap.initializeXMLTooling(DefaultBootstrap.java:198) at org.opensaml.DefaultBootstrap.bootstrap(DefaultBootstrap.java:91) at dk.itst.oiosaml.sp.service.SPFilter.<clinit>(SPFilter.java:306) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) Truncated. see log file for complete stacktrace 求大神解答 感激不尽
weblogic部署成功后启动找不到路径
weblogic部署成功后无法自动根据web.xml配置文件中的index页面启动??这个问题查了很多相关资料都没有很好的解决。。。|: 比如我用tomcat部署时: http://127.0.0.1:9999/SSHDemo 可以直接到index页面 但是我用weblogic时: http://127.0.0.1:7001/SSHDemo 则会404错误,而用http://127.0.0.1:7001/SSHDemo/list.action才会到index页面。这个是为什么呢?
weblogic部署springmvc时报错无法访问所选应用程序,是什么原因?
weblogic是11g 这个是weblogic报错截图 ![图片说明](https://img-ask.csdn.net/upload/201810/18/1539842180_497783.jpg) web.xml配置截图 ![图片说明](https://img-ask.csdn.net/upload/201810/18/1539842194_438832.jpg) weblogic.xml配置截图 ![图片说明](https://img-ask.csdn.net/upload/201810/18/1539842204_283007.jpg) 有没有大神给分析下原因
Weblogic启动报ServletException的问题
weblogic部署项目时报错: ``` <2019-1-13 下午06时37分20秒 CST> <Error> <HTTP> <BEA-101216> <Servlet: "initServlet" failed to preload on startup in Web application: "1web.war". javax.servlet.ServletException at com.amerisia.ebills.commons.web.InitServlet.getEJB(InitServlet.java:643) at com.amerisia.ebills.commons.web.InitServlet.initWorklist(InitServlet.java:157) at com.amerisia.ebills.commons.web.InitServlet.init(InitServlet.java:55) at javax.servlet.GenericServlet.init(GenericServlet.java:241) at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283) Truncated. see log file for complete stacktrace > ``` web.xml部分配置: ``` <servlet> <servlet-name>initServlet</servlet-name> <servlet-class>com.amerisia.ebills.commons.web.InitServlet</servlet-class> <init-param> <param-name>debug</param-name> <param-value>2</param-value> </init-param> <load-on-startup>0</load-on-startup> </servlet> ```
相见恨晚的超实用网站
搞学习 知乎:www.zhihu.com 简答题:http://www.jiandati.com/ 网易公开课:https://open.163.com/ted/ 网易云课堂:https://study.163.com/ 中国大学MOOC:www.icourse163.org 网易云课堂:study.163.com 哔哩哔哩弹幕网:www.bilibili.com 我要自学网:www.51zxw
爬虫福利二 之 妹子图网MM批量下载
爬虫福利一:27报网MM批量下载    点击 看了本文,相信大家对爬虫一定会产生强烈的兴趣,激励自己去学习爬虫,在这里提前祝:大家学有所成! 目标网站:妹子图网 环境:Python3.x 相关第三方模块:requests、beautifulsoup4 Re:各位在测试时只需要将代码里的变量 path 指定为你当前系统要保存的路径,使用 python xxx.py 或IDE运行即可。
字节跳动视频编解码面经
引言 本文主要是记录一下面试字节跳动的经历。 三四月份投了字节跳动的实习(图形图像岗位),然后hr打电话过来问了一下会不会opengl,c++,shador,当时只会一点c++,其他两个都不会,也就直接被拒了。 七月初内推了字节跳动的提前批,因为内推没有具体的岗位,hr又打电话问要不要考虑一下图形图像岗,我说实习投过这个岗位不合适,不会opengl和shador,然后hr就说秋招更看重基础。我当时
开源一个功能完整的SpringBoot项目框架
福利来了,给大家带来一个福利。 最近想了解一下有关Spring Boot的开源项目,看了很多开源的框架,大多是一些demo或者是一个未成形的项目,基本功能都不完整,尤其是用户权限和菜单方面几乎没有完整的。 想到我之前做的框架,里面通用模块有:用户模块,权限模块,菜单模块,功能模块也齐全了,每一个功能都是完整的。 打算把这个框架分享出来,供大家使用和学习。 为什么用框架? 框架可以学习整体
源码阅读(19):Java中主要的Map结构——HashMap容器(下1)
(接上文《源码阅读(18):Java中主要的Map结构——HashMap容器(中)》) 3.4.4、HashMap添加K-V键值对(红黑树方式) 上文我们介绍了在HashMap中table数组的某个索引位上,基于单向链表添加新的K-V键值对对象(HashMap.Node&lt;K, V&gt;类的实例),但是我们同时知道在某些的场景下,HashMap中table数据的某个索引位上,数据是按照红黑树
c++制作的植物大战僵尸,开源,一代二代结合游戏
    此游戏全部由本人自己制作完成。游戏大部分的素材来源于原版游戏素材,少部分搜集于网络,以及自己制作。 此游戏为同人游戏而且仅供学习交流使用,任何人未经授权,不得对本游戏进行更改、盗用等,否则后果自负。 目前有六种僵尸和六种植物,植物和僵尸的动画都是本人做的。qq:2117610943 开源代码下载 提取码:3vzm 点击下载--&gt; 11月28日 新增四种植物 统一植物画风,全部修
Java学习的正确打开方式
在博主认为,对于入门级学习java的最佳学习方法莫过于视频+博客+书籍+总结,前三者博主将淋漓尽致地挥毫于这篇博客文章中,至于总结在于个人,实际上越到后面你会发现学习的最好方式就是阅读参考官方文档其次就是国内的书籍,博客次之,这又是一个层次了,这里暂时不提后面再谈。博主将为各位入门java保驾护航,各位只管冲鸭!!!上天是公平的,只要不辜负时间,时间自然不会辜负你。 何谓学习?博主所理解的学习,它
程序员必须掌握的核心算法有哪些?
由于我之前一直强调数据结构以及算法学习的重要性,所以就有一些读者经常问我,数据结构与算法应该要学习到哪个程度呢?,说实话,这个问题我不知道要怎么回答你,主要取决于你想学习到哪些程度,不过针对这个问题,我稍微总结一下我学过的算法知识点,以及我觉得值得学习的算法。这些算法与数据结构的学习大多数是零散的,并没有一本把他们全部覆盖的书籍。下面是我觉得值得学习的一些算法以及数据结构,当然,我也会整理一些看过
Python——画一棵漂亮的樱花树(不同种樱花+玫瑰+圣诞树喔)
最近翻到一篇知乎,上面有不少用Python(大多是turtle库)绘制的树图,感觉很漂亮,我整理了一下,挑了一些我觉得不错的代码分享给大家(这些我都测试过,确实可以生成喔~) one 樱花树 动态生成樱花 效果图(这个是动态的): 实现代码 import turtle as T import random import time # 画樱花的躯干(60,t) def Tree(branch
linux系列之常用运维命令整理笔录
本博客记录工作中需要的linux运维命令,大学时候开始接触linux,会一些基本操作,可是都没有整理起来,加上是做开发,不做运维,有些命令忘记了,所以现在整理成博客,当然vi,文件操作等就不介绍了,慢慢积累一些其它拓展的命令,博客不定时更新 顺便拉下票,我在参加csdn博客之星竞选,欢迎投票支持,每个QQ或者微信每天都可以投5票,扫二维码即可,http://m234140.nofollow.ax.
Python 基础(一):入门必备知识
目录1 标识符2 关键字3 引号4 编码5 输入输出6 缩进7 多行8 注释9 数据类型10 运算符10.1 常用运算符10.2 运算符优先级 1 标识符 标识符是编程时使用的名字,用于给变量、函数、语句块等命名,Python 中标识符由字母、数字、下划线组成,不能以数字开头,区分大小写。 以下划线开头的标识符有特殊含义,单下划线开头的标识符,如:_xxx ,表示不能直接访问的类属性,需通过类提供
深度学习图像算法在内容安全领域的应用
互联网给人们生活带来便利的同时也隐含了大量不良信息,防范互联网平台有害内容传播引起了多方面的高度关注。本次演讲从技术层面分享网易易盾在内容安全领域的算法实践经验,包括深度学习图
程序员接私活怎样防止做完了不给钱?
首先跟大家说明一点,我们做 IT 类的外包开发,是非标品开发,所以很有可能在开发过程中会有这样那样的需求修改,而这种需求修改很容易造成扯皮,进而影响到费用支付,甚至出现做完了项目收不到钱的情况。 那么,怎么保证自己的薪酬安全呢? 我们在开工前,一定要做好一些证据方面的准备(也就是“讨薪”的理论依据),这其中最重要的就是需求文档和验收标准。一定要让需求方提供这两个文档资料作为开发的基础。之后开发
网页实现一个简单的音乐播放器(大佬别看。(⊙﹏⊙))
今天闲着无事,就想写点东西。然后听了下歌,就打算写个播放器。 于是乎用h5 audio的加上js简单的播放器完工了。 欢迎 改进 留言。 演示地点跳到演示地点 html代码如下`&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;music&lt;/title&gt; &lt;meta charset="utf-8"&gt
Python十大装B语法
Python 是一种代表简单思想的语言,其语法相对简单,很容易上手。不过,如果就此小视 Python 语法的精妙和深邃,那就大错特错了。本文精心筛选了最能展现 Python 语法之精妙的十个知识点,并附上详细的实例代码。如能在实战中融会贯通、灵活使用,必将使代码更为精炼、高效,同时也会极大提升代码B格,使之看上去更老练,读起来更优雅。 1. for - else 什么?不是 if 和 else 才
数据库优化 - SQL优化
前面一篇文章从实例的角度进行数据库优化,通过配置一些参数让数据库性能达到最优。但是一些“不好”的SQL也会导致数据库查询变慢,影响业务流程。本文从SQL角度进行数据库优化,提升SQL运行效率。 判断问题SQL 判断SQL是否有问题时可以通过两个表象进行判断: 系统级别表象 CPU消耗严重 IO等待严重 页面响应时间过长
2019年11月中国大陆编程语言排行榜
2019年11月2日,我统计了某招聘网站,获得有效程序员招聘数据9万条。针对招聘信息,提取编程语言关键字,并统计如下: 编程语言比例 rank pl_ percentage 1 java 33.62% 2 c/c++ 16.42% 3 c_sharp 12.82% 4 javascript 12.31% 5 python 7.93% 6 go 7.25% 7
通俗易懂地给女朋友讲:线程池的内部原理
餐厅的约会 餐盘在灯光的照耀下格外晶莹洁白,女朋友拿起红酒杯轻轻地抿了一小口,对我说:“经常听你说线程池,到底线程池到底是个什么原理?”我楞了一下,心里想女朋友今天是怎么了,怎么突然问出这么专业的问题,但做为一个专业人士在女朋友面前也不能露怯啊,想了一下便说:“我先给你讲讲我前同事老王的故事吧!” 大龄程序员老王 老王是一个已经北漂十多年的程序员,岁数大了,加班加不动了,升迁也无望,于是拿着手里
经典算法(5)杨辉三角
杨辉三角 是经典算法,这篇博客对它的算法思想进行了讲解,并有完整的代码实现。
腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹?
昨天,有网友私信我,说去阿里面试,彻底的被打击到了。问了为什么网上大量使用ThreadLocal的源码都会加上private static?他被难住了,因为他从来都没有考虑过这个问题。无独有偶,今天笔者又发现有网友吐槽了一道腾讯的面试题,我们一起来看看。 腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹? 在互联网职场论坛,一名程序员发帖求助到。二面腾讯,其中一个算法题:64匹
面试官:你连RESTful都不知道我怎么敢要你?
面试官:了解RESTful吗? 我:听说过。 面试官:那什么是RESTful? 我:就是用起来很规范,挺好的 面试官:是RESTful挺好的,还是自我感觉挺好的 我:都挺好的。 面试官:… 把门关上。 我:… 要干嘛?先关上再说。 面试官:我说出去把门关上。 我:what ?,夺门而去 文章目录01 前言02 RESTful的来源03 RESTful6大原则1. C-S架构2. 无状态3.统一的接
为啥国人偏爱Mybatis,而老外喜欢Hibernate/JPA呢?
关于SQL和ORM的争论,永远都不会终止,我也一直在思考这个问题。昨天又跟群里的小伙伴进行了一番讨论,感触还是有一些,于是就有了今天这篇文。 声明:本文不会下关于Mybatis和JPA两个持久层框架哪个更好这样的结论。只是摆事实,讲道理,所以,请各位看官勿喷。 一、事件起因 关于Mybatis和JPA孰优孰劣的问题,争论已经很多年了。一直也没有结论,毕竟每个人的喜好和习惯是大不相同的。我也看
项目中的if else太多了,该怎么重构?
介绍 最近跟着公司的大佬开发了一款IM系统,类似QQ和微信哈,就是聊天软件。我们有一部分业务逻辑是这样的 if (msgType = "文本") { // dosomething } else if(msgType = "图片") { // doshomething } else if(msgType = "视频") { // doshomething } else { // doshom...
致 Python 初学者
欢迎来到“Python进阶”专栏!来到这里的每一位同学,应该大致上学习了很多 Python 的基础知识,正在努力成长的过程中。在此期间,一定遇到了很多的困惑,对未来的学习方向感到迷茫。我非常理解你们所面临的处境。我从2007年开始接触 python 这门编程语言,从2009年开始单一使用 python 应对所有的开发工作,直至今天。回顾自己的学习过程,也曾经遇到过无数的困难,也曾经迷茫过、困惑过。开办这个专栏,正是为了帮助像我当年一样困惑的 Python 初学者走出困境、快速成长。希望我的经验能真正帮到你
Python 编程实用技巧
Python是一门很灵活的语言,也有很多实用的方法,有时候实现一个功能可以用多种方法实现,我这里总结了一些常用的方法,并会持续更新。
“狗屁不通文章生成器”登顶GitHub热榜,分分钟写出万字形式主义大作
一、垃圾文字生成器介绍 最近在浏览GitHub的时候,发现了这样一个骨骼清奇的雷人项目,而且热度还特别高。 项目中文名:狗屁不通文章生成器 项目英文名:BullshitGenerator 根据作者的介绍,他是偶尔需要一些中文文字用于GUI开发时测试文本渲染,因此开发了这个废话生成器。但由于生成的废话实在是太过富于哲理,所以最近已经被小伙伴们给玩坏了。 他的文风可能是这样的: 你发现,...
程序员:我终于知道post和get的区别
是一个老生常谈的话题,然而随着不断的学习,对于以前的认识有很多误区,所以还是需要不断地总结的,学而时习之,不亦说乎
"狗屁不通文章生成器"登顶GitHub热榜,分分钟写出万字形式主义大作
GitHub 被誉为全球最大的同性交友网站,……,陪伴我们已经走过 10+ 年时间,它托管了大量的软件代码,同时也承载了程序员无尽的欢乐。 万字申请,废话报告,魔幻形式主义大作怎么写?兄dei,狗屁不通文章生成器了解一下。这个富有灵魂的项目名吸引了众人的目光。项目仅仅诞生一周,便冲上了GitHub趋势榜榜首(Js中文网 -前端进阶资源教程)、是榜首哦
推荐几款比较实用的工具,网站
1.盘百度PanDownload 这个云盘工具是免费的,可以进行资源搜索,提速(偶尔会抽风????) 不要去某站买付费的???? PanDownload下载地址 2.BeJSON 这是一款拥有各种在线工具的网站,推荐它的主要原因是网站简洁,功能齐全,广告相比其他广告好太多了 bejson网站 3.二维码美化 这个网站的二维码美化很好看,网站界面也很...
《程序人生》系列-这个程序员只用了20行代码就拿了冠军
你知道的越多,你不知道的越多 点赞再看,养成习惯GitHub上已经开源https://github.com/JavaFamily,有一线大厂面试点脑图,欢迎Star和完善 前言 这一期不算《吊打面试官》系列的,所有没前言我直接开始。 絮叨 本来应该是没有这期的,看过我上期的小伙伴应该是知道的嘛,双十一比较忙嘛,要值班又要去帮忙拍摄年会的视频素材,还得搞个程序员一天的Vlog,还要写BU...
相关热词 c# plc s1200 c#里氏转换原则 c# 主界面 c# do loop c#存为组套 模板 c# 停掉协程 c# rgb 读取图片 c# 图片颜色调整 最快 c#多张图片上传 c#密封类与密封方法
立即提问