运行jdonframework的robot示例程序报错

14-06-26 gollen
                   

banq,你好。

很高兴向你提问,不知你是否高兴回答~

我依赖的jdonframework版本为6.6.4,出错信息如下:

14-06-26 10:04:46.504:INFO::No Transaction manager found - if your webapp requires one, please configure one.
2014-06-26 10:04:47.291:INFO::Started SelectChannelConnector@0.0.0.0:8080
<p>[INFO] Started Jetty Server
<p>[INFO] Starting scanner at interval of 10 seconds.
doGet active :jdon
10:06:34.330 [qtp2038505063-19] INFO  JdonFramework -  is ready.
10:06:34.565 [qtp2038505063-19] INFO  JdonFramework - Jdon Framework started successfully! 
10:06:34.570 [qtp2038505063-19] ERROR com.jdon.container.access.UserTargetMetaDefFactory - [JdonFramework] not found the service/component for name:context
2014-06-26 10:06:34.583:WARN::/robot/commandServlet
java.lang.NullPointerException
	at sample.CommandServlet.service(CommandServlet.java:33)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:527)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:423)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:493)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:930)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:358)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:866)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:245)
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)
	at org.eclipse.jetty.server.Server.handle(Server.java:351)
	at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:594)
	at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1042)
	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:549)
	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:211)
	at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:424)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:506)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)
	at java.lang.Thread.run(Thread.java:722)
IDLE SCEP@[author]572948923[/author]	[d=false,io=1,w=true,rb=false,wb=false]
<p>