0 0

spring osgi 配置好了,启动老报错,请指教5

osgi> 2008-11-28 9:38:39 org.mortbay.http.HttpServer doStart
信息: Version Jetty/5.1.x
2008-11-28 9:38:39 org.mortbay.util.Container start
信息: Started org.eclipse.equinox.http.jetty.internal.Servlet25Handler@1cb25f1
2008-11-28 9:38:39 org.mortbay.util.Container start
信息: Started HttpContext[/,/]
2008-11-28 9:38:39 org.mortbay.http.SocketListener start
信息: Started SocketListener on 0.0.0.0:80
2008-11-28 9:38:39 org.mortbay.util.Container start
信息: Started org.mortbay.http.HttpServer@b66cc
2008-11-28 9:38:39 org.springframework.osgi.extender.internal.ContextLoaderListener start
信息: Starting org.springframework.osgi.extender bundle v.[1.0.0.rc2]
2008-11-28 9:38:39 org.springframework.osgi.extender.internal.ContextLoaderListener addAnnotationBPP
信息: disabled automatic Spring-DM annotation processing; [ org.springframework.osgi.extender.annotation.auto.processing=null]
2008-11-28 9:38:39 org.springframework.osgi.extender.internal.ContextLoaderListener addAnnotationBPP
信息: disabled automatic Spring-DM annotation processing; [ org.springframework.osgi.extender.annotation.auto.processing=null]
2008-11-28 9:38:39 org.springframework.context.support.AbstractApplicationContext prepareRefresh
信息: Refreshing org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext@18fd984: display name [OsgiBundleXmlApplicationContext(bundle=org.eclipse.osgi.benson.serviceImpl, config=META-INF/spring_service.xml)]; startup date [Fri Nov 28 09:38:39 CST 2008]; root of context hierarchy
2008-11-28 9:38:39 org.springframework.context.support.AbstractApplicationContext prepareRefresh
信息: Refreshing org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext@482923: display name [OsgiBundleXmlApplicationContext(bundle=org.eclipse.osgi.benson.testService, config=META-INF/spring_test.xml)]; startup date [Fri Nov 28 09:38:39 CST 2008]; root of context hierarchy
2008-11-28 9:38:39 org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor fail
严重: Unable to create application context for [org.eclipse.osgi.benson.testService], unsatisfied dependencies: none
org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: java.lang.NoClassDefFoundError (Caused by java.lang.NoClassDefFoundError) (Caused by org.apache.commons.logging.LogConfigurationException: java.lang.NoClassDefFoundError (Caused by java.lang.NoClassDefFoundError))
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.<init>(DefaultSingletonBeanRegistry.java:83)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.<init>(FactoryBeanRegistrySupport.java:40)
at org.springframework.beans.factory.support.AbstractBeanFactory.<init>(AbstractBeanFactory.java:146)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.<init>(AbstractAutowireCapableBeanFactory.java:140)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.<init>(AbstractAutowireCapableBeanFactory.java:151)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.<init>(DefaultListableBeanFactory.java:115)
at org.springframework.context.support.AbstractRefreshableApplicationContext.createBeanFactory(AbstractRefreshableApplicationContext.java:150)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:95)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:411)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDelegatedExecutionApplicationContext.java:190)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:212)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:163)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:124)
at org.springframework.osgi.extender.internal.ContextLoaderListener$2.run(ContextLoaderListener.java:630)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.NoClassDefFoundError (Caused by java.lang.NoClassDefFoundError)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
... 18 more
Caused by: java.lang.NoClassDefFoundError
at org.springframework.osgi.util.DebugUtils.debugClassLoading(DebugUtils.java:124)
at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:124)
at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:178)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.apache.commons.logging.impl.LogFactoryImpl$1.run(LogFactoryImpl.java:441)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.commons.logging.impl.LogFactoryImpl.loadClass(LogFactoryImpl.java:435)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:376)
... 19 more
2008-11-28 9:38:39 org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor fail
严重: Unable to create application context for [org.eclipse.osgi.benson.serviceImpl], unsatisfied dependencies: none
org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: java.lang.NoClassDefFoundError (Caused by java.lang.NoClassDefFoundError) (Caused by org.apache.commons.logging.LogConfigurationException: java.lang.NoClassDefFoundError (Caused by java.lang.NoClassDefFoundError))
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.<init>(DefaultSingletonBeanRegistry.java:83)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.<init>(FactoryBeanRegistrySupport.java:40)
at org.springframework.beans.factory.support.AbstractBeanFactory.<init>(AbstractBeanFactory.java:146)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.<init>(AbstractAutowireCapableBeanFactory.java:140)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.<init>(AbstractAutowireCapableBeanFactory.java:151)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.<init>(DefaultListableBeanFactory.java:115)
at org.springframework.context.support.AbstractRefreshableApplicationContext.createBeanFactory(AbstractRefreshableApplicationContext.java:150)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:95)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:411)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDelegatedExecutionApplicationContext.java:190)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:212)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:163)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:124)
at org.springframework.osgi.extender.internal.ContextLoaderListener$2.run(ContextLoaderListener.java:630)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.NoClassDefFoundError (Caused by java.lang.NoClassDefFoundError)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
... 18 more
Caused by: java.lang.NoClassDefFoundError
at org.springframework.osgi.util.DebugUtils.debugClassLoading(DebugUtils.java:124)
at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:124)
at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:178)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.apache.commons.logging.impl.LogFactoryImpl$1.run(LogFactoryImpl.java:441)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.commons.logging.impl.LogFactoryImpl.loadClass(LogFactoryImpl.java:435)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:376)
... 19 more
SOA 
2008年11月28日 09:43
目前还没有答案

相关推荐

    spring osgi相关资源

    Spring OSGi是Spring框架与OSGi(Open Service Gateway Initiative)规范相结合的一种技术,它...通过学习和掌握Spring DM Server的使用以及Spring OSGi的相关库,开发者可以更好地在OSGi环境中构建和管理Spring应用。

    spring osgi 中文

    通过Spring框架构建的应用程序能够在保持简洁性和效率的同时,更好地利用OSGi的特性,如模块间的动态交互和服务的动态查找等。 #### 二、Spring OSGi的关键特性 - **更好的分离应用逻辑与模块**:Spring OSGi支持...

    Spring OSGI 快速入门中文教程

    **Spring OSGi 快速入门中文教程** OSGi(Open Service Gateway Initiative)是一种Java模块化系统,它允许开发者创建可热更新、可隔离且互相依赖管理的模块。Spring OSGi是Spring框架与OSGi服务的结合,使得在OSGi...

    spring-osgi-1.2.1.rar

    Spring OSGi是Spring框架与OSGi(Open Service Gateway Initiative)规范相结合的产物,它允许在OSGi容器中使用和管理Spring应用。OSGi是一种Java模块化系统,它提供了动态部署、版本控制和依赖管理等功能,极大地...

    在Eclipse RCP中应用Spring OSGI 管理bean(一)

    标题中的“在Eclipse RCP中应用Spring OSGI 管理bean(一)”表明这是一篇关于如何在Eclipse Rich Client Platform (RCP)应用程序中集成Spring框架,并利用OSGi服务来管理Bean的教程。Eclipse RCP是一个用于构建桌面...

    Spring OSGi 入门.rar

    Spring OSGi 是一个将流行的Spring框架与OSGi(Open Service Gateway Initiative)规范结合的开源项目,它允许开发者在OSGi环境中充分利用Spring的功能。OSGi是一种模块化系统,旨在创建可伸缩、灵活且可维护的Java...

    Spring OSGi 入门.pdf

    - **配置管理**: OSGi 服务注册表可以被 Spring 配置,允许 Spring 配置动态地响应 OSGi 环境的变化。 - **模块化配置**: Spring OSGi 可以为每个模块提供独立的配置,便于模块的独立部署和升级。 ### 4. Spring ...

    spring-osgi-1.2.0-rc1-with-dependencies.zip

    - **Spring DM(Dependency Manager)**:是Spring OSGi的核心部分,负责在OSGi环境中管理和配置Spring beans。它提供了一种声明式的方式来定义bundle间的依赖关系,简化了服务的注册和查找过程。 - **Spring ...

    spring-osgi.jar及其依赖包

    Spring OSGi是Spring框架与OSGi(Open Service Gateway Initiative)规范集成的产物,它使得在OSGi环境中使用Spring变得更加方便。OSGi是一种模块化系统,用于Java应用程序,提供了动态服务发现、版本控制和依赖管理...

    Eclipse RCP与Spring OSGi技术详解与最佳实践

    《Eclipse RCP与Spring OSGi:技术详解与最佳实践》由资源的Eclipse专家亲自执笔,并得到了Eclipse官方技术社区的强烈推荐,权威性毋庸置疑!内容全面,系统讲解了利用Eclipse RCP和Spring OSGi开发大规模Java应用的...

    spring-osgi-1.2.0.zip

    在实际开发中,Spring OSGi使得开发者能够利用OSGi的动态性,例如,可以在运行时安装、卸载、更新和启动Spring服务,而无需重启整个应用程序。此外,OSGi的模块化特性有助于减少类路径冲突,并使应用更加可维护和可...

    osgi spring实例

    至于压缩包内的"整合代码原版",这可能是一个完整的项目源码,包括了OSGi和Spring的配置文件、服务定义、bundle实现、启动脚本等。开发者可以通过分析这些代码,了解如何在OSGi环境下配置和管理Spring应用,以及如何...

    OSGISpring OSGISpring

    标题 "OSGISpring OSGISpring" 暗示了我们即将探讨的是关于OSGI(Open Service Gateway Initiative)框架与Spring框架的集成。OSGI是一种模块化系统和Java应用程序执行环境,它允许开发者将应用程序分解为独立的服务...

    spring-osgi-1.2.1-with-dependencies

    Spring OSGi 1.2.1版本包含了所有必要的依赖,这使得开发者无需单独配置即可快速搭建基于OSGi的Spring环境。其中,"spring-osgi-1.0.2"可能是该版本的核心库文件,提供了实现Spring和OSGi集成的关键API和实现。 ...

    spring osgi 规范 中文版

    Spring OSGi规范中文版是将Spring框架与OSGi(Open Service Gateway Initiative)技术相结合的指导文档,旨在帮助Java开发者更好地在OSGi环境下利用Spring框架的优势。OSGi是一种动态模块化系统,允许组件(称为...

    解决osgi spring 事务配置问题

    在OSGi(Open Service Gateway Initiative)环境中配置Spring的事务管理可能会遇到一些挑战,因为OSGi是一种模块化系统,它的动态性、服务发现机制与Spring的静态配置方式有所不同。本篇文章将详细探讨如何在OSGi...

    基于VirgoServer进行Spring Osgi Web开发

    在本文中,我们将深入探讨如何基于VirgoServer进行Spring Osgi Web开发,这是一个涉及OSGi容器、Spring框架和Web应用程序的集成技术。首先,我们需要确保拥有正确的开发环境和工具,包括Spring Tool Suite (STS),...

Global site tag (gtag.js) - Google Analytics