我試圖運行Amdatu REST示例,我創建了一個項目,bndtools,然後我用了amdatu引導添加依賴這兩個項目本身和運行描述符。OSGi的,Amdatu REST例如不工作
我已經用@Path和@Component(provide = Object.class)註釋了我的類。
當我執行run描述,有在cmd沒有錯誤,但是當我打開網址(如:http://127.0.0.1:8080/test),它給了我404錯誤:
下面HTTP ERROR: 404
Problem accessing /test. Reason:
Not Found Powered by Jetty://
輸出,當我開始運行描述符:
[org.eclipse.jetty.util.log] : Logging to [email protected] via org.eclipse.jetty.util.log.Slf4jLog Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.log] : Logging initialized @4293ms Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.ContainerLifeCycle] : [email protected] added {qtp1663619914{STOPPED,8<=0<=200,i=0,q=0},AUTO} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.ContainerLifeCycle] : [email protected] added {HashLoginService[OSGi HTTP Service Realm],AUTO} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.ContainerLifeCycle] : [email protected]10[[email protected]{/,null,null}] added {[email protected]{/,null,null},AUTO} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.ContainerLifeCycle] : [email protected] added {[email protected],AUTO} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.ContainerLifeCycle] : [email protected]{/,null,null} added {[email protected],AUTO} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.ContainerLifeCycle] : [email protected] added {[email protected],AUTO} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.ContainerLifeCycle] : [email protected] added {[email protected],UNMANAGED} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.ContainerLifeCycle] : [email protected] added {[email protected]c6b31a==org.apache.felix.http.base.internal.DispatcherServlet,-1,true,AUTO} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.ContainerLifeCycle] : [email protected] added {[/*]=>org.apache.felix.http.base.internal.DispatcherServlet-197d671,POJO} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.ContainerLifeCycle] : [email protected] added {[email protected]10[[email protected]{/,null,null}],AUTO} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : starting [email protected] Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.server.Server] : jetty-9.2.12.v20150709 Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.server.handler.AbstractHandler] : starting [email protected] Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : starting qtp1663619914{STOPPED,8<=0<=200,i=0,q=0} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : STARTED @4564ms qtp1663619914{STARTED,8<=8<=200,i=4,q=0} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : starting HashLoginService[OSGi HTTP Service Realm] Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.security.HashLoginService] : doStart: Starting new PropertyUserStore. PropertiesFile: null refreshInterval: 0 Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : starting [email protected] Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : STARTED @4573ms [email protected] Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : STARTED @4573ms HashLoginService[OSGi HTTP Service Realm] Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : starting [email protected]10[[email protected]{/,null,null}] Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.server.handler.ContextHandlerCollection] : ->[{[email protected]{/,null,null},[[email protected]{/,null,null}]}] Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.server.handler.AbstractHandler] : starting [email protected]10[[email protected]{/,null,null}] Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : starting [email protected]{/,null,null} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.server.handler.AbstractHandler] : starting [email protected]{/,null,STARTING} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : starting [email protected] Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.server.handler.AbstractHandler] : starting [email protected] Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : starting [email protected] Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.ContainerLifeCycle] : [email protected] added {[email protected]0,MANAGED} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : starting [email protected] Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : STARTED @4610ms [email protected] Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.ContainerLifeCycle] : [email protected] added {[email protected],MANAGED} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.ContainerLifeCycle] : [email protected] added {[email protected],UNMANAGED} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : starting [email protected]0 Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : STARTED @4615ms [email protected]0 Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : STARTED @4621ms [email protected] Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : starting [email protected] Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.servlet.ServletHandler] : Chose path=/* mapped to servlet=org.apache.felix.http.base.internal.DispatcherServlet-197d671 from default=false Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.servlet.ServletHandler] : filterNameMap={} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.servlet.ServletHandler] : pathFilters=null Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.servlet.ServletHandler] : servletFilterMap=null Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.servlet.ServletHandler] : servletPathMap={/*[email protected]ec6b31a==org.apache.felix.http.base.internal.DispatcherServlet,-1,true} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.servlet.ServletHandler] : servletNameMap={org.apache.felix.http.base.internal.DispatcherServlet-197d67[email protected]cec6b31a==org.apache.felix.http.base.internal.DispatcherServlet,-1,true} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.servlet.ServletHandler] : Adding Default404Servlet to [email protected] Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.ContainerLifeCycle] : [email protected] added {org.[email protected]94c0e60f==org.eclipse.jetty.servlet.ServletHandler$Default404Servlet,-1,false,AUTO} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.ContainerLifeCycle] : [email protected] added {[/]=>org.eclipse.jetty.servlet.ServletHandler$Default404Servlet-5276e6b0,POJO} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.servlet.ServletHandler] : Chose path=/* mapped to servlet=org.apache.felix.http.base.internal.DispatcherServlet-197d671 from default=false Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.servlet.ServletHandler] : Chose path=/ mapped to servlet=org.eclipse.jetty.servlet.ServletHandler$Default404Servlet-5276e6b0 from default=false Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.servlet.ServletHandler] : filterNameMap={} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.servlet.ServletHandler] : pathFilters=null Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.servlet.ServletHandler] : servletFilterMap=null Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.servlet.ServletHandler] : servletPathMap={/*[email protected]ec6b31a==org.apache.felix.http.base.internal.DispatcherServlet,-1,true, /=org.[email protected]94c0e60f==org.eclipse.jetty.servlet.ServletHandler$Default404Servlet,-1,false} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.servlet.ServletHandler] : servletNameMap={org.apache.felix.http.base.internal.DispatcherServlet-197d67[email protected]cec6b31a==org.apache.felix.http.base.internal.DispatcherServlet,-1,true, org.eclipse.jetty.servlet.ServletHandler$Default404Servlet-5276e6b0=org.[email protected]94c0e60f==org.eclipse.jetty.servlet.ServletHandler$Default404Servlet,-1,false} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.server.handler.AbstractHandler] : starting [email protected] Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : STARTED @4639ms [email protected] Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : STARTED @4639ms [email protected] Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : starting [email protected]c6b31a==org.apache.felix.http.base.internal.DispatcherServlet,-1,true Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : STARTED @4648ms [email protected]c6b31a==org.apache.felix.http.base.internal.DispatcherServlet,-1,true Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.servlet.ServletHolder] : Servlet.init [email protected] for org.apache.felix.http.base.internal.DispatcherServlet-197d671 Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : starting org.[email protected]94c0e60f==org.eclipse.jetty.servlet.ServletHandler$Default404Servlet,-1,false Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : STARTED @4715ms org.[email protected]94c0e60f==org.eclipse.jetty.servlet.ServletHandler$Default404Servlet,-1,false Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.server.handler.ContextHandler] : Started [email protected]{/,null,AVAILABLE} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : STARTED @4717ms [email protected]{/,null,AVAILABLE} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : STARTED @4718ms [email protected]10[[email protected]{/,null,AVAILABLE}] Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.server.Server] : Started @4719ms Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : STARTED @4720ms [email protected] Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.ContainerLifeCycle] : [email protected]{HTTP/1.1} added {[email protected]{32768/8192,8192/8192,https://:0,[]},POJO} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.ContainerLifeCycle] : [email protected]{null}{0.0.0.0:0} added {[email protected],UNMANAGED} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.ContainerLifeCycle] : [email protected]{null}{0.0.0.0:0} added {qtp1663619914{STARTED,8<=8<=200,i=8,q=0},UNMANAGED} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.ContainerLifeCycle] : [email protected]{null}{0.0.0.0:0} added {[email protected]0,AUTO} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.ContainerLifeCycle] : [email protected]{null}{0.0.0.0:0} added {[email protected],POJO} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.ContainerLifeCycle] : [email protected]{null}{0.0.0.0:0} added {[email protected]{HTTP/1.1},AUTO} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.ContainerLifeCycle] : [email protected]{HTTP/1.1}{0.0.0.0:0} added {[email protected]10e41621,MANAGED} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.ContainerLifeCycle] : [email protected] added {[email protected]{HTTP/1.1}{0.0.0.0:8080},UNMANAGED} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : starting [email protected]{HTTP/1.1}{0.0.0.0:8080} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.ContainerLifeCycle] : [email protected]{HTTP/1.1}{0.0.0.0:8080} added {sun.nio.ch.ServerSocketChannelImpl[/0:0:0:0:0:0:0:0:8080],POJO} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : starting [email protected]0 Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : STARTED @4780ms [email protected]0 Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : starting [email protected]{HTTP/1.1} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : STARTED @4781ms [email protected]{HTTP/1.1} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : starting [email protected]10e41621 Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : starting [email protected] keys=-1 selected=-1 Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : STARTED @5053ms [email protected] keys=0 selected=0 Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : starting [email protected] keys=-1 selected=-1 Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.io.SelectorManager] : Starting Thread[[email protected]/0,5,main] on [email protected] keys=0 selected=0 Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.io.SelectorManager] : Selector loop waiting on select Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : STARTED @5062ms [email protected] keys=0 selected=0 Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : STARTED @5063ms [email protected]10e41621 Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.io.SelectorManager] : Starting Thread[[email protected]/1,5,main] on [email protected] keys=0 selected=0 Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.io.SelectorManager] : [org.eclipse.jetty.util.component.ContainerLifeCycle] : [email protected]{HTTP/1.1}{0.0.0.0:8080} added {[email protected],POJO} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
Selector loop waiting on select Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.server.ServerConnector] : Started [email protected]{HTTP/1.1}{0.0.0.0:8080} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[org.eclipse.jetty.util.component.AbstractLifeCycle] : STARTED @5068ms [email protected]{HTTP/1.1}{0.0.0.0:8080} Ignored FQCN: org.eclipse.jetty.util.log.Slf4jLog
[INFO] Started Jetty 9.2.12.v20150709 at port(s) HTTP:8080 on context path/
[INFO] Detected extended HttpService. Filters enabled.
[INFO] Http service whiteboard started
[WARNING] Deprecation warning: Filter registered through Apache Felix whiteboard service: [javax.servlet.Filter]. Please change your code to the OSGi Http Whiteboard Service.
[DEBUG] Reusing context with id []
org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling SLF4J API support.
org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling Jakarta Commons Logging API support.
org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling Log4J API support.
org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling Avalon Logger API support.
org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling JULI Logger API support.
[FelixDispatchQueue] DEBUG org.ops4j.pax.logging.pax-logging-service - BundleEvent STARTED - org.ops4j.pax.logging.pax-logging-service
[main] DEBUG org.apache.felix.gogo.command - ServiceEvent REGISTERED - [org.apache.felix.gogo.command.Basic] - org.apache.felix.gogo.command
[main] DEBUG org.apache.felix.gogo.command - ServiceEvent REGISTERED - [org.apache.felix.gogo.command.Inspect] - org.apache.felix.gogo.command
[main] DEBUG org.apache.felix.gogo.command - ServiceEvent REGISTERED - [org.apache.felix.gogo.command.Files] - org.apache.felix.gogo.command
[main] DEBUG org.apache.felix.gogo.command - ServiceEvent REGISTERED - [org.apache.felix.gogo.command.OBR] - org.apache.felix.gogo.command
[FelixDispatchQueue] DEBUG org.apache.felix.gogo.command - BundleEvent STARTED - org.apache.felix.gogo.command
[main] DEBUG org.apache.felix.gogo.runtime - ServiceEvent REGISTERED - [org.apache.felix.service.threadio.ThreadIO] - org.apache.felix.gogo.runtime
[main] DEBUG org.apache.felix.gogo.runtime - ServiceEvent REGISTERED - [org.apache.felix.service.command.CommandProcessor] - org.apache.felix.gogo.runtime
[FelixDispatchQueue] DEBUG org.apache.felix.gogo.runtime - BundleEvent STARTED - org.apache.felix.gogo.runtime
[main] DEBUG org.apache.felix.gogo.shell - ServiceEvent REGISTERED - [org.apache.felix.service.command.Converter] - org.apache.felix.gogo.shell
[main] DEBUG org.apache.felix.gogo.shell - ServiceEvent REGISTERED - [org.apache.felix.gogo.shell.Builtin] - org.apache.felix.gogo.shell
[main] DEBUG org.apache.felix.gogo.shell - ServiceEvent REGISTERED - [org.apache.felix.gogo.shell.Procedural] - org.apache.felix.gogo.shell
[main] DEBUG org.apache.felix.gogo.shell - ServiceEvent REGISTERED - [org.apache.felix.gogo.shell.Posix] - org.apache.felix.gogo.shell
[main] DEBUG org.apache.felix.gogo.shell - ServiceEvent REGISTERED - [org.apache.felix.gogo.shell.Telnet] - org.apache.felix.gogo.shell
[main] DEBUG org.apache.felix.gogo.shell - ServiceEvent REGISTERED - [org.apache.felix.gogo.shell.Shell] - org.apache.felix.gogo.shell
[FelixDispatchQueue] DEBUG org.apache.felix.gogo.shell - BundleEvent STARTED - org.apache.felix.gogo.shell
[main] DEBUG org.apache.felix.dependencymanager.shell - ServiceEvent REGISTERED - [org.apache.felix.dm.shell.DMCommand] - org.apache.felix.dependencymanager.shell
[FelixDispatchQueue] DEBUG org.apache.felix.dependencymanager.shell - BundleEvent STARTED - org.apache.felix.dependencymanager.shell
[main] DEBUG org.apache.felix.framework - ServiceEvent REGISTERED - [java.lang.Object, aQute.launcher.Launcher] - org.apache.felix.framework
____________________________
Welcome to Apache Felix Gogo
g!
執行磅給出以下輸出:
g! lb
START LEVEL 1
ID|State |Level|Name
0|Active | 0|System Bundle (5.2.0)
1|Active | 1|abc.xyz.rest.test (0.0.0)
2|Active | 1|Apache Felix Http Jetty (3.1.0)
3|Active | 1|Apache Felix Http API (3.0.0)
4|Active | 1|Apache Felix Servlet API (1.1.2)
5|Active | 1|Apache Felix Http Whiteboard (3.0.0)
6|Active | 1|org.amdatu.web.rest.jaxrs (1.0.9)
7|Active | 1|org.amdatu.web.rest.wink (2.0.4)
8|Active | 1|org.amdatu.web.rest.doc (1.2.3)
9|Active | 1|Jackson-annotations (2.6.3)
10|Active | 1|Jackson-core (2.6.3)
11|Active | 1|jackson-databind (2.6.3)
12|Active | 1|Jackson-JAXRS-base (2.6.3)
13|Active | 1|Jackson-JAXRS-JSON (2.6.3)
14|Active | 1|Apache Felix Dependency Manager (4.3.0)
15|Active | 1|Apache Felix Dependency Manager Runtime (4.0.3)
16|Active | 1|Apache Felix Metatype Service (1.1.2)
17|Active | 1|Apache Felix EventAdmin (1.4.4)
18|Active | 1|Apache Felix Configuration Admin Service (1.8.8)
19|Active | 1|OPS4J Pax Logging - API (1.7.0)
20|Active | 1|OPS4J Pax Logging - Service (1.7.0)
21|Active | 1|Apache Felix Gogo Command (0.14.0)
22|Active | 1|Apache Felix Gogo Runtime (0.16.2)
23|Active | 1|Apache Felix Gogo Shell (0.10.0)
24|Active | 1|Apache Felix Dependency Manager Shell (4.0.4)
執行DM給我下面的輸出:
g! dm
[1] abc.xyz.rest.test
[6] java.lang.Object registered
[7] org.amdatu.web.rest.wink
[0] org.slf4j.impl.StaticLoggerBinder(OSGi) registered
org.osgi.service.log.LogService service optional available
[1] org.osgi.service.cm.ManagedService(service.pid=org.amdatu.web.rest.wink) registered
java.lang.Object (objectClass=*) service optional available
org.osgi.service.log.LogService service optional available
[2] org.amdatu.web.rest.jaxrs.JaxRsSpi registered
[3] javax.servlet.Filter(service.ranking=-10,pattern=/.*) registered
org.osgi.service.log.LogService service optional available
[4] javax.ws.rs.core.Application registered
org.osgi.service.log.LogService service optional available
[15] org.apache.felix.dependencymanager.runtime
[5] org.apache.felix.dm.runtime.DependencyManagerRuntime registered
active (DependencyManager-Component=*) bundle optional available
org.osgi.service.packageadmin.PackageAdmin service required available
org.osgi.service.log.LogService service optional available
執行DM notavail沒有給我輸出。
任何幫助表示讚賞。
感謝