`
arpenker
  • 浏览: 356965 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

全球首发。首个采用GXTGWTJDO云应用测试。

    博客分类:
  • GAE
阅读更多
淘二哥女装专业导购
http://www.tao2ge.com
  
 GAE的官方例子上目前只有JSP的JAVA持久化方案。

   因此在书写云应用程序的过程中总是会碰到这样或那样的问题。终于,功夫不负有心人。

   解决了一系列的问题之后,成功将首个基于GXT-GWT-JDO的云应用程序送上GOOGLE APP
ENGINE.

    供大家测试之用。
    http://dispute4u.appspot.com



  目前正在做GXT-GWT-GUICE-JDO.但是总是有个错误解决不了。希望会的同仁们能够给解释一下原因。

   
com.google.appengine.tools.development.ApiProxyLocalImpl log
SEVERE: [1241228475187000] javax.servlet.ServletContext log: Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.lang.String com.arpenker.gxt.client.GreetingService.greetServer(java.lang.String)' threw an unexpected exception: org.datanucleus.jdo.exceptions.ClassNotPersistenceCapableException: The class "The class "com.arpenker.gxt.client.dto.Greeting" is not persistable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data/annotations for the class are not found." is not persistable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data for the class is not found.
NestedThrowables:
org.datanucleus.exceptions.ClassNotPersistableException: The class "com.arpenker.gxt.client.dto.Greeting" is not persistable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data/annotations for the class are not found.
at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:360)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:546)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:166)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:54)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:306)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Caused by: org.datanucleus.jdo.exceptions.ClassNotPersistenceCapableException: The class "The class "com.arpenker.gxt.client.dto.Greeting" is not persistable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data/annotations for the class are not found." is not persistable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data for the class is not found.
NestedThrowables:
org.datanucleus.exceptions.ClassNotPersistableException: The class "com.arpenker.gxt.client.dto.Greeting" is not persistable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data/annotations for the class are not found.
at org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:305)
at org.datanucleus.jdo.JDOPersistenceManager.jdoMakePersistent(JDOPersistenceManager.java:673)
at org.datanucleus.jdo.JDOPersistenceManager.makePersistent(JDOPersistenceManager.java:693)
at com.arpenker.gxt.server.action.login.GreetingServiceAction.greetServer(GreetingServiceAction.java:49)
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:623)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
... 25 more
Caused by: org.datanucleus.exceptions.ClassNotPersistableException: The class "com.arpenker.gxt.client.dto.Greeting" is not persistable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data/annotations for the class are not found.
at org.datanucleus.ObjectManagerImpl.assertClassPersistable(ObjectManagerImpl.java:3830)
at org.datanucleus.ObjectManagerImpl.persistObjectInternal(ObjectManagerImpl.java:1200)
at org.datanucleus.ObjectManagerImpl.persistObject(ObjectManagerImpl.java:1135)
at org.datanucleus.jdo.JDOPersistenceManager.jdoMakePersistent(JDOPersistenceManager.java:668)
... 32 more
2
1
分享到:
评论
6 楼 toeo 2009-11-12  
如何使用 GUICE 来使用GXT.
功能还比较简单.就是用了下GXT的 桌面..

希望有机会一起合作做东西..最近在研究 GXT 的分页.和保存数据库.
修改查询等问题...

5 楼 arpenker 2009-11-05  
suken2302401 写道
是包结构的问题,datanucleus那三个包不能引用到项目中  只能放在lib中

谢谢朋友.
4 楼 suken2302401 2009-11-05  
是包结构的问题,datanucleus那三个包不能引用到项目中  只能放在lib中
3 楼 suken2302401 2009-11-03  
问题解决没啊  同样的问题  解决了联系下  给个答复
2 楼 tomcatlee 2009-09-11  
用groovy,报同样的错org.datanucleus.jdo.exceptions.ClassNotPersistenceCapableException: The class "The class "xxx.xxx.Comment" is not persistable

郁闷!
1 楼 ubuntu.java 2009-06-29  
最近在用datanucleus ,也遇到org.datanucleus.jdo.exceptions.ClassNotPersistenceCapableException,不知是什么问题?纳闷ing

相关推荐

Global site tag (gtag.js) - Google Analytics