Folks problem solved.. This issue caused by google application engine.. Here is some posts about the solution on my blog
http://www.tolgaozdemir.net/2009/08/15/weird-error-with-gwt-caused-by-google-application-engine/ On Aug 14, 1:17 pm, tolga ozdemir <[email protected]> wrote: > Thanks a lot.. it did not worked, I recieve same error.. So, I am > moving onto the hibernate forum > > On Aug 14, 12:52 pm, Paul Robinson <[email protected]> wrote: > > > > > That's more like it. > > > If you look closely at what it's telling you, you should see this: > > > org.hibernate.InvalidMappingException: Could not parse mapping > > document from resource Entry.hbm.xml > > > and this: > > > Caused by: org.xml.sax.SAXParseException: The content of element type > > "class" is incomplete, it must match > > "(meta*,subselect?,cache?,synchronize*,comment?,tuplizer*,(id| > > composite-id),discriminator?,natural-id?,(version|timestamp)?, > > (property|many-to-one|one-to-one|component|dynamic-component| > > properties|any|map|set|list|bag|idbag|array|primitive-array)*, > > ((join*,subclass*)|joined-subclass*|union-subclass*),loader?,sql- > > insert?,sql-update?,sql-delete?,filter*,resultset*,(query|sql-query) > > *)". > > > It's telling you that there's an error in your Entry.hbm.xml file. Your > > <class> element is not legal according to its schema. > > > According to the schema extract shown (above), you must have an <id> or > > <composite-id> element in there. Something like: > > <class name="net.tolgaozdemir.gwt.client.domain.Entry" table="tblentry"> > > <id name="ID" column="id"> > > <generator class="native"/> > > </id> > > </class> > > > depending on what property name you use for a primary key on your Entry > > class. > > > This isn't really GWT related, and if you have problems configuring > > this, it's probably better done on a hibernate forum. > > > Paul > > > tolga ozdemir wrote: > > > I put th.printStackTrace(); Now I have this... > > > > SLF4J: Class path contains multiple SLF4J bindings. > > > SLF4J: Found binding in [jar:file:/D:/GOOGLE_WEB_TOOLKIT/workspaces/ > > > gwt/JPAGWT/war/WEB-INF/lib/slf4j-jdk14-1.5.8.jar!/org/slf4j/impl/ > > > StaticLoggerBinder.class] > > > SLF4J: Found binding in [jar:file:/D:/GOOGLE_WEB_TOOLKIT/workspaces/ > > > gwt/JPAGWT/war/WEB-INF/lib/slf4j-simple-1.5.8.jar!/org/slf4j/impl/ > > > StaticLoggerBinder.class] > > > SLF4J: Seehttp://www.slf4j.org/codes.html#multiple_bindingsforan > > > explanation. > > > Aug 14, 2009 9:43:59 AM org.hibernate.util.XMLHelper$ErrorLogger error > > > SEVERE: Error parsing XML: XML InputStream(4) The content of element > > > type "class" is incomplete, it must match > > > "(meta*,subselect?,cache?,synchronize*,comment?,tuplizer*,(id| > > > composite-id),discriminator?,natural-id?,(version|timestamp)?, > > > (property|many-to-one|one-to-one|component|dynamic-component| > > > properties|any|map|set|list|bag|idbag|array|primitive-array)*, > > > ((join*,subclass*)|joined-subclass*|union-subclass*),loader?,sql- > > > insert?,sql-update?,sql-delete?,filter*,resultset*,(query|sql-query) > > > *)". > > > log4j:WARN No appenders could be found for logger > > > (net.tolgaozdemir.gwt.server.HibernateContext). > > > log4j:WARN Please initialize the log4j system properly. > > > org.hibernate.InvalidMappingException: Could not parse mapping > > > document from resource Entry.hbm.xml > > > at org.hibernate.cfg.Configuration.addResource(Configuration.java: > > > 616) > > > at org.hibernate.cfg.Configuration.parseMappingElement > > > (Configuration.java:1635) > > > at org.hibernate.cfg.Configuration.parseSessionFactory > > > (Configuration.java:1603) > > > at org.hibernate.cfg.Configuration.doConfigure(Configuration.java: > > > 1582) > > > at org.hibernate.cfg.Configuration.doConfigure(Configuration.java: > > > 1556) > > > at org.hibernate.cfg.Configuration.configure(Configuration.java:1476) > > > at org.hibernate.cfg.Configuration.configure(Configuration.java:1462) > > > at net.tolgaozdemir.gwt.server.HibernateContext.getSessionFactory > > > (HibernateContext.java:24) > > > at net.tolgaozdemir.gwt.server.EntryRemoteService.init > > > (EntryRemoteService.java:27) > > > at javax.servlet.GenericServlet.init(GenericServlet.java:215) > > > at org.mortbay.jetty.servlet.ServletHolder.initServlet > > > (ServletHolder.java:433) > > > at org.mortbay.jetty.servlet.ServletHolder.getServlet > > > (ServletHolder.java:342) > > > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: > > > 463) > > > 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 com.google.appengine.tools.development.StaticFileFilter.doFilter > > > (StaticFileFilter.java:124) > > > 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:313) > > > 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.hibernate.InvalidMappingException: Could not parse > > > mapping document from invalid mapping > > > at org.hibernate.cfg.Configuration.addInputStream(Configuration.java: > > > 549) > > > at org.hibernate.cfg.Configuration.addResource(Configuration.java: > > > 613) > > > ... 34 more > > > Caused by: org.xml.sax.SAXParseException: The content of element type > > > "class" is incomplete, it must match > > > "(meta*,subselect?,cache?,synchronize*,comment?,tuplizer*,(id| > > > composite-id),discriminator?,natural-id?,(version|timestamp)?, > > > (property|many-to-one|one-to-one|component|dynamic-component| > > > properties|any|map|set|list|bag|idbag|array|primitive-array)*, > > > ((join*,subclass*)|joined-subclass*|union-subclass*),loader?,sql- > > > insert?,sql-update?,sql-delete?,filter*,resultset*,(query|sql-query) > > > *)". > > > at > > > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseE > > > xception > > > (Unknown Source) > > > at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error > > > (Unknown Source) > > > at > > > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError > > > (Unknown Source) > > > at > > > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError > > > (Unknown Source) > > > at > > > com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleEndElemen > > > t > > > (Unknown Source) > > > at > > > com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.emptyElement > > > (Unknown Source) > > > at > > > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartE > > > lement > > > (Unknown Source) > > > at > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl > > > $FragmentContentDriver.next(Unknown Source) > > > at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next > > > (Unknown Source) > > > at > > > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next > > > (Unknown Source) > > > at > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scan > > > Document > > > (Unknown Source) > > > at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse > > > (Unknown Source) > > > at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse > > > (Unknown Source) > > > at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown > > > Source) > > > at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse > > > (Unknown Source) > > > at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl > > > $JAXPSAXParser.parse(Unknown Source) > > > at org.dom4j.io.SAXReader.read(SAXReader.java:465) > > > at org.hibernate.cfg.Configuration.addInputStream(Configuration.java: > > > 546) > > > ... 35 more > > > Aug 14, 2009 9:43:59 AM com.google.apphosting.utils.jetty.JettyLogger > > > warn > > > WARNING: Nested in javax.servlet.ServletException: init: > > > java.lang.ExceptionInInitializerError > > > at net.tolgaozdemir.gwt.server.HibernateContext.getSessionFactory > > > (HibernateContext.java:30) > > > at net.tolgaozdemir.gwt.server.EntryRemoteService.init > > > (EntryRemoteService.java:27) > > > at javax.servlet.GenericServlet.init(GenericServlet.java:215) > > > at org.mortbay.jetty.servlet.ServletHolder.initServlet > > > (ServletHolder.java:433) > > > at org.mortbay.jetty.servlet.ServletHolder.getServlet > > > (ServletHolder.java:342) > > > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: > > > 463) > > > > > ... > > read more » --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
