开发者社区> 问答> 正文

Springside4.0.1GA版本quickstart Demo启动报错?报错

我在code.google.com下载最新的springside4.0.1.GA版本。运行quickstart demo。启动jetty服务后。

访问页面时报错:日志如下;请问这个问题如何解决。我什么还没有改

org.springframework.aop.framework.Cglib2AopProxy.doValidateClass(Cglib2AopProxy.java:255) 2013-01-21 08:39:55,656 [main] WARN  [org.springframework.aop.framework.Cglib2AopProxy] - Unable to proxy method [public final void org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests.setApplicationContext(org.springframework.context.ApplicationContext)] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
org.springside.examples.quickstart.repository.JpaMappingTest.allClassMapping(JpaMappingTest.java:33) 2013-01-21 08:39:56,360 [main] INFO  [org.springside.examples.quickstart.repository.JpaMappingTest] - ok: User
org.springside.examples.quickstart.repository.JpaMappingTest.allClassMapping(JpaMappingTest.java:33) 2013-01-21 08:39:56,391 [main] INFO  [org.springside.examples.quickstart.repository.JpaMappingTest] - ok: Task
org.springframework.data.jpa.repository.query.SimpleJpaQuery.fromQueryAnnotation(SimpleJpaQuery.java:128) 2013-01-21 08:39:56,500 [main] DEBUG [org.springframework.data.jpa.repository.query.SimpleJpaQuery] - Looking up query for method findByUserId
org.springframework.data.jpa.repository.query.NamedQuery.lookupFrom(NamedQuery.java:108) 2013-01-21 08:39:56,500 [main] DEBUG [org.springframework.data.jpa.repository.query.NamedQuery] - Looking up named query Task.findByUserId
org.springframework.data.jpa.repository.query.SimpleJpaQuery.fromQueryAnnotation(SimpleJpaQuery.java:128) 2013-01-21 08:39:56,563 [main] DEBUG [org.springframework.data.jpa.repository.query.SimpleJpaQuery] - Looking up query for method deleteByUserId
org.springframework.aop.framework.Cglib2AopProxy.doValidateClass(Cglib2AopProxy.java:255) 2013-01-21 08:39:56,594 [main] WARN  [org.springframework.aop.framework.Cglib2AopProxy] - Unable to proxy method [public final void org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests.setApplicationContext(org.springframework.context.ApplicationContext)] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
org.springside.examples.quickstart.service.account.AccountService.deleteUser(AccountService.java:73) 2013-01-21 08:39:56,969 [main] WARN  [org.springside.examples.quickstart.service.account.AccountService] - 操作员foo尝试删除超级管理员用户
org.springframework.data.jpa.repository.query.SimpleJpaQuery.fromQueryAnnotation(SimpleJpaQuery.java:128) 2013-01-21 08:46:35,344 [main] DEBUG [org.springframework.data.jpa.repository.query.SimpleJpaQuery] - Looking up query for method findByLoginName
org.springframework.data.jpa.repository.query.NamedQuery.lookupFrom(NamedQuery.java:108) 2013-01-21 08:46:35,344 [main] DEBUG [org.springframework.data.jpa.repository.query.NamedQuery] - Looking up named query User.findByLoginName
org.springframework.data.jpa.repository.query.SimpleJpaQuery.fromQueryAnnotation(SimpleJpaQuery.java:128) 2013-01-21 08:46:35,391 [main] DEBUG [org.springframework.data.jpa.repository.query.SimpleJpaQuery] - Looking up query for method findByUserId
org.springframework.data.jpa.repository.query.NamedQuery.lookupFrom(NamedQuery.java:108) 2013-01-21 08:46:35,391 [main] DEBUG [org.springframework.data.jpa.repository.query.NamedQuery] - Looking up named query Task.findByUserId
org.springframework.data.jpa.repository.query.SimpleJpaQuery.fromQueryAnnotation(SimpleJpaQuery.java:128) 2013-01-21 08:46:35,406 [main] DEBUG [org.springframework.data.jpa.repository.query.SimpleJpaQuery] - Looking up query for method deleteByUserId
org.apache.jsp.WEB_002dINF.views.error._500_jsp._jspService(_500_jsp.java from :75) 2013-01-21 08:46:46,688 [qtp17385679-31] ERROR [500.jsp] - org.apache.jasper.JasperException: java.lang.NullPointerException
java.lang.RuntimeException: org.apache.jasper.JasperException: java.lang.NullPointerException
 at com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator.render(BaseWebAppDecorator.java:39)
 at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:84)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)
 at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
 at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
 at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
 at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
 at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
 at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
 at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
 at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
 at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
 at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
 at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
 at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
 at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
 at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)
 at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:147)
 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)
 at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)
 at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445)
 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
 at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:556)
 at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
 at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1038)
 at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:374)
 at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189)
 at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:972)
 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
 at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
 at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
 at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
 at org.eclipse.jetty.server.Server.handle(Server.java:363)
 at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483)
 at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:920)
 at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:982)
 at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)
 at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
 at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
 at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
 at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
 at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
 at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
 at java.lang.Thread.run(Thread.java:619)
org.springframework.data.jpa.repository.query.SimpleJpaQuery.fromQueryAnnotation(SimpleJpaQuery.java:128) 2013-01-21 08:47:08,360 [main] DEBUG [org.springframework.data.jpa.repository.query.SimpleJpaQuery] - Looking up query for method findByLoginName
org.springframework.data.jpa.repository.query.NamedQuery.lookupFrom(NamedQuery.java:108) 2013-01-21 08:47:08,375 [main] DEBUG [org.springframework.data.jpa.repository.query.NamedQuery] - Looking up named query User.findByLoginName
org.springframework.data.jpa.repository.query.SimpleJpaQuery.fromQueryAnnotation(SimpleJpaQuery.java:128) 2013-01-21 08:47:08,422 [main] DEBUG [org.springframework.data.jpa.repository.query.SimpleJpaQuery] - Looking up query for method findByUserId
org.springframework.data.jpa.repository.query.NamedQuery.lookupFrom(NamedQuery.java:108) 2013-01-21 08:47:08,438 [main] DEBUG [org.springframework.data.jpa.repository.query.NamedQuery] - Looking up named query Task.findByUserId
org.springframework.data.jpa.repository.query.SimpleJpaQuery.fromQueryAnnotation(SimpleJpaQuery.java:128) 2013-01-21 08:47:08,453 [main] DEBUG [org.springframework.data.jpa.repository.query.SimpleJpaQuery] - Looking up query for method deleteByUserId
org.apache.jsp.WEB_002dINF.views.error._500_jsp._jspService(_500_jsp.java from :75) 2013-01-21 08:47:24,813 [qtp30338042-27] ERROR [500.jsp] - org.apache.jasper.JasperException: java.lang.NullPointerException
java.lang.RuntimeException: org.apache.jasper.JasperException: java.lang.NullPointerException
 at com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator.render(BaseWebAppDecorator.java:39)
 at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:84)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)
 at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
 at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
 at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
 at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
 at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
 at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
 at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
 at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
 at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
 at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
 at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
 at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
 at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
 at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)
 at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:147)
 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)
 at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)
 at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445)
 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
 at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:556)
 at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
 at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1038)
 at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:374)
 at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189)
 at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:972)
 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
 at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
 at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
 at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
 at org.eclipse.jetty.server.Server.handle(Server.java:363)
 at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483)
 at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:920)
 at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:982)
 at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)
 at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
 at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
 at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
 at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
 at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
 at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
 at java.lang.Thread.run(Thread.java:619)
org.springframework.data.jpa.repository.query.SimpleJpaQuery.fromQueryAnnotation(SimpleJpaQuery.java:128) 2013-01-21 12:18:31,266 [main] DEBUG [org.springframework.data.jpa.repository.query.SimpleJpaQuery] - Looking up query for method findByLoginName
org.springframework.data.jpa.repository.query.NamedQuery.lookupFrom(NamedQuery.java:108) 2013-01-21 12:18:31,297 [main] DEBUG [org.springframework.data.jpa.repository.query.NamedQuery] - Looking up named query User.findByLoginName
org.springframework.data.jpa.repository.query.SimpleJpaQuery.fromQueryAnnotation(SimpleJpaQuery.java:128) 2013-01-21 12:18:31,328 [main] DEBUG [org.springframework.data.jpa.repository.query.SimpleJpaQuery] - Looking up query for method findByUserId
org.springframework.data.jpa.repository.query.NamedQuery.lookupFrom(NamedQuery.java:108) 2013-01-21 12:18:31,344 [main] DEBUG [org.springframework.data.jpa.repository.query.NamedQuery] - Looking up named query Task.findByUserId
org.springframework.data.jpa.repository.query.SimpleJpaQuery.fromQueryAnnotation(SimpleJpaQuery.java:128) 2013-01-21 12:18:31,344 [main] DEBUG [org.springframework.data.jpa.repository.query.SimpleJpaQuery] - Looking up query for method deleteByUserId
org.apache.jsp.WEB_002dINF.views.error._500_jsp._jspService(_500_jsp.java from :75) 2013-01-21 12:18:47,188 [qtp13562183-31] ERROR [500.jsp] - org.apache.jasper.JasperException: java.lang.NullPointerException
java.lang.RuntimeException: org.apache.jasper.JasperException: java.lang.NullPointerException
 at com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator.render(BaseWebAppDecorator.java:39)
 at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:84)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)
 at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
 at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
 at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
 at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
 at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
 at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
 at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
 at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
 at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
 at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
 at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
 at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
 at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
 at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)
 at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:147)
 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)
 at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)
 at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445)
 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
 at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:556)
 at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
 at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1038)
 at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:374)
 at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189)
 at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:972)
 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
 at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
 at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
 at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
 at org.eclipse.jetty.server.Server.handle(Server.java:363)
 at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483)
 at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:920)
 at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:982)
 at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)
 at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
 at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
 at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
 at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
 at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
 at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
 at java.lang.Thread.run(Thread.java:619)

展开
收起
爱吃鱼的程序员 2020-06-22 22:08:08 437 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    <aclass='referer'target='_blank'>@江南白衣

    2020-06-22 22:08:26
    赞同 展开评论 打赏
问答分类:
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Build Your Next Apache Spark Job in .NET Using Mobius 立即下载
Electronegativity-A-Study-Of-Electron-Security 立即下载
Apache Wicket User Guide - Ref 立即下载