[appengine-java] Re: java.lang.NoClassDefFoundError: org.apache.xerces.jaxp.SAXParserFactoryImpl is a restricted class

2011-10-14 Thread Köll S . Cherizard
Nevermind!  I added xercesImpl.jar in my build path, making it
available by checking 'system library' when the jar is added, and now
it works:-)

Bizzare, I don't remember removing this at all

On Oct 12, 4:31 am, Köll S. Cherizard 
wrote:
> Hey Gang!
>
> I am stumped on this one...  any idea on how to fix below error.  
>
> *java.lang.NoClassDefFoundError: 
> org.apache.xerces.jaxp.SAXParserFactoryImplis a restricted class. Please see 
> the Google App Enginedeveloper's guide
> for more details.*
>
> **
>
> It looks like a CLASSPATH based on a post I saw, but I did not do any work
> there.  Nonetheless I went in anyway and added a new jar file for Xerces,
> that did  not work.  Do you have a step by step.
>
> This is also spreading to my other Apps, Apps I have not updated in great
> while.  This error loads with JSPs and HTMs.  I also ran an update of App
> Engine to see if it would pick up new jar files, that did not work either.
>
> I should perhaps mention, this started happening while I was adding more JSP
> files, by copying existing ones.  I deployed the App to view my changes and
> pages were not found.
>
> Köll

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: java.lang.NoClassDefFoundError: for sample project ( CodeLabEx2.zip.)

2011-07-25 Thread John Patterson
make sure you have all the app engine libs in /WEB-INF/lib

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/QTTGn-_VOmAJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: java.lang.NoClassDefFoundError: com.sun.org.apache.xerces.internal.dom.DocumentImpl

2011-05-06 Thread Brandon Donnelson
If you pulled the source code in, try renaming(refractor) the source make 
sure its referencing the correct class. 

Brandon Donnelson
http://gwt-examples.googlecode.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: java.lang.NoClassDefFoundError: javax/mail/Message

2011-01-14 Thread Alan Williamson
Allow me to answer my own question!  Always the way, as soon as you give up 
hope, ask a question on a forum, you stumble on the answer.

I had neglected to copy over the necessary jar files.

*Your app must include appengine-api-*.jar (where * represents a version 
number of the API and SDK), a JAR included with the SDK, in the directory
war/WEB-INF/lib/. App Engine checks for classes from this JAR to determine 
which version of the API your app is using. If your application uses the JDO 
or JPA interfaces to the App Engine datastore, the app must include the 
JDO/JPA implementation in war/WEB-INF/lib*

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: java.lang.NoClassDefFoundError: java.rmi.server.UID ->>>>>using commons-fileupload-1.2.1.jar

2009-12-10 Thread Henry
Thanks Toby.

On 9 Dec, 19:23, Toby Reyelts  wrote:
> http://code.google.com/appengine/kb/java.html#fileforms
>
> On Wed, Dec 9, 2009 at 12:44 PM, Henry  wrote:
> > Hi Guys,
>
> > Im trying to store and image with GWT to Google App engine, I'm using
> > the packages:
> >  commons-codec-1.4.jar
> >  commons-fileupload-1.2.1.jar
> >  commons-io-1.4.jar
> > to get the widgets from the formPanel that I'm sending to the server
> > which contain the widgets FileUpload that has my image.
> > When I'm using this packages to recover the image and store it I've
> > the following error:
>
> > java.lang.NoClassDefFoundError: java.rmi.server.UID is a restricted
> > class. Please see the Google App Engine developer's guide for more
> > details.
> >        at
>
> > com.google.apphosting.runtime.security.shared.stub.java.rmi.server.UID.
> > (UID.java)
> >        at org.apache.commons.fileupload.disk.DiskFileItem.
> > (DiskFileItem.java:103)
> >        at org.apache.commons.fileupload.disk.DiskFileItemFactory.createItem
> > (DiskFileItemFactory.java:196)
> >        at org.apache.commons.fileupload.FileUploadBase.parseRequest
> > (FileUploadBase.java:358)
> >        at
> > org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest
> > (ServletFileUpload.java:126)
> >        at com.handizo.server.service.FileUploadAnnouncementServlet.doPost
> > (FileUploadAnnouncementServlet.java:37)
> >        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.runtime.jetty.SaveSessionFilter.doFilter
> > (SaveSessionFilter.java:35)
> >        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
> > (ServletHandler.java:1084)
> >        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.runtime.jetty.AppVersionHandlerMap.handle
> > (AppVersionHandlerMap.java:238)
> >        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.headerComplete
> > (HttpConnection.java:830)
> >        at
> > com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable
> > (RpcRequestParser.java:76)
> >        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
> >        at
>
> > com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest
> > (JettyServletEngineAdapter.java:139)
> >        at com.google.apphosting.runtime.JavaRuntime.handleRequest
> > (JavaRuntime.java:239)
> >        at com.google.apphosting.base.RuntimePb$EvaluationRuntime
> > $6.handleBlockingRequest(RuntimePb.java:5235)
> >        at com.google.apphosting.base.RuntimePb$EvaluationRuntime
> > $6.handleBlockingRequest(RuntimePb.java:5233)
> >        at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest
> > (BlockingApplicationHandler.java:24)
> >        at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
> > 363)
> >        at com.google.net.rpc.impl.Server$2.run(Server.java:838)
> >        at com.google.tracing.LocalTraceSpanRunnable.run
> > (LocalTraceSpanRunnable.java:56)
> >        at com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan
> > (LocalTraceSpanBuilder.java:536)
> >        at com.google.net.rpc.impl.Server.startRpc(Server.java:793)
> >        at com.google.net.rpc.impl.Server.processRequest(Server.java:368)
> >        at com.google.net.rpc.impl.ServerConnection.messageReceived
> > (ServerConnection.java:448)
> >        at com.google.net.rpc.impl.RpcConnection.parseMessages
> > (RpcConnection.java:319)
> >        at com.google.net.rpc.impl.RpcConnection.dataReceived
> > (RpcConnection.java:290)
> >        at com.google.net.async.Connection.handleReadEvent(Connection.java:
> > 466)
> >        at com.google.net.async.EventDispatcher.processNetworkEvents
> > (EventDispatcher.java:759)
> >        at com.google.net.async.EventDispatcher.internalLoop
> > (EventDispatch

[appengine-java] Re: java.lang.NoClassDefFoundError: com/google/appengine/api/xmpp/JID

2009-11-22 Thread lallafa
My answers to your questions are in my post from 28. oct.

I continued debugging my XMPP test app today. At first, the same error
occurred. I tried Class.forName("com.google.appengine.api.xmpp.JID").
That worked. And now sending XMPP also worked!

To find out, what caused the problems, I added the saxon9.jar
(provides services for javax.xml.xpath.XPathFactory and
javax.xml.transform.TramsformerFactory). Now I got a
ClassNotFoundException again! And I still get this exception even
though I removed the saxon9.jar  (and deployed a new version of the
app and removed all other old versions).

So what I did:

APP1 (uses saxon9.jar): added XMPP test -> ClassNotFoundException JID
APP2 (created from scratch, empty lib, no saxon9.jar): XMPP test ->
works!
APP2: small changes (just logging) -> ClassNotFoundException JID
APP2: a lot of testing, creating new versions, deleting old
versions, ... -> ClassNotFoundException JID
APP1: XMPP test removed
APP2: Class.forName("com.google.appengine.api.xmpp.JID") and some
other testing -> works!
APP2: adding saxon9.jar -> ClassNotFoundException JID
APP2: removing saxon9.jar -> ClassNotFoundException JID
APP2: creating new versions, deleting old versions, ... ->
ClassNotFoundException JID

- Claus

On 27 Okt., 22:24, "Jason (Google)"  wrote:
> Are you still seeing this error? If so, which version of the SDK are you
> using? Did you change your SDK settings or update your SDK between the time
> when XMPP was working and when it started failing?
>
> Also, can you list the JARs in your war/WEB-INF/lib directory?
>
> - Jason
>
> On Sat, Oct 24, 2009 at 12:56 PM, lallafa  wrote:
>
> > I wrote a test servlet "SendServlet" that sends invitations and
> > messages.
>
> > Calling the servlet works fine with with the runtime. It also worked
> > when it was uploaded to app engine the first time. But after uploading
> > new versions the following exception is thrown:
>
> > java.lang.NoClassDefFoundError: com/google/appengine/api/xmpp/JID
> >        at plapperbot.SendServlet.doPost(SendServlet.java:29)
> >        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.runtime.jetty.SaveSessionFilter.doFilter
> > (SaveSessionFilter.java:35)
> >        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
> > (ServletHandler.java:1084)
> >        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.runtime.jetty.AppVersionHandlerMap.handle
> > (AppVersionHandlerMap.java:238)
> >        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.headerComplete
> > (HttpConnection.java:830)
> >        at
> > com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable
> > (RpcRequestParser.java:76)
> >        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
> >        at
>
> > com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest
> > (JettyServletEngineAdapter.java:139)
> >        at com.google.apphosting.runtime.JavaRuntime.handleRequest
> > (JavaRuntime.java:239)
> >        at com.google.apphosting.base.RuntimePb$EvaluationRuntime
> > $6.handleBlockingRequest(RuntimePb.java:5135)
> >        at com.google.apphosting.base.RuntimePb$EvaluationRuntime
> > $6.handleBlockingRequest(RuntimePb.java:5133)
> >        at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest
> > (BlockingApplicationHandler.java:24)
> >        at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
> > 363)
> >        at com.google.net.rpc.impl.Server$2.run(Server.java:814)
> >        at com.google.tracing.LocalTraceSpanRunnable.run
> > (LocalTraceSpanRunnable.java:56)
> >        at com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan
> > (LocalTraceSpanBuilder.java:516)
> >        at com.google.net.rpc.impl.Server.startRpc(Server

[appengine-java] Re: java.lang.NoClassDefFoundError: com/google/appengine/api/xmpp/JID

2009-10-28 Thread lallafa

> Are you still seeing this error?

Yes, I still see this error.

> If so, which version of the SDK are you using?

This is the SDK version:

Release: 1.2.6
Timestamp: Wed Oct 07 19:34:04 CEST 2009
API versions: [1.0]

java.vm.vendor: Sun Microsystems Inc.
java.vm.version: 14.1-b02
java.version: 1.6.0_15
os.name: Windows XP
os.version: 5.1

> Did you change your SDK settings or update your SDK between the time when 
> XMPP was working and when it started failing?

No, I don't think so. It only worked with the very first version (a
fresh application). After the first update it started failing.

I started development in an old application (since i only have 3
applications left...). That application was created with an older SDK.
But that application failed with the same Exception from the
beginning. So I created a new application.

> Also, can you list the JARs in your war/WEB-INF/lib directory?

There are no JARs, lib is empty.

This is my appengine-web.xml:

http://appengine.google.com/ns/1.0";>
plapperbot
9







xmpp_message




>
> - Jason
>
> On Sat, Oct 24, 2009 at 12:56 PM, lallafa  wrote:
>
> > I wrote a test servlet "SendServlet" that sends invitations and
> > messages.
>
> > Calling the servlet works fine with with the runtime. It also worked
> > when it was uploaded to app engine the first time. But after uploading
> > new versions the following exception is thrown:
>
> > java.lang.NoClassDefFoundError: com/google/appengine/api/xmpp/JID
> >        at plapperbot.SendServlet.doPost(SendServlet.java:29)
> >        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.runtime.jetty.SaveSessionFilter.doFilter
> > (SaveSessionFilter.java:35)
> >        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
> > (ServletHandler.java:1084)
> >        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.runtime.jetty.AppVersionHandlerMap.handle
> > (AppVersionHandlerMap.java:238)
> >        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.headerComplete
> > (HttpConnection.java:830)
> >        at
> > com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable
> > (RpcRequestParser.java:76)
> >        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
> >        at
>
> > com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest
> > (JettyServletEngineAdapter.java:139)
> >        at com.google.apphosting.runtime.JavaRuntime.handleRequest
> > (JavaRuntime.java:239)
> >        at com.google.apphosting.base.RuntimePb$EvaluationRuntime
> > $6.handleBlockingRequest(RuntimePb.java:5135)
> >        at com.google.apphosting.base.RuntimePb$EvaluationRuntime
> > $6.handleBlockingRequest(RuntimePb.java:5133)
> >        at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest
> > (BlockingApplicationHandler.java:24)
> >        at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
> > 363)
> >        at com.google.net.rpc.impl.Server$2.run(Server.java:814)
> >        at com.google.tracing.LocalTraceSpanRunnable.run
> > (LocalTraceSpanRunnable.java:56)
> >        at com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan
> > (LocalTraceSpanBuilder.java:516)
> >        at com.google.net.rpc.impl.Server.startRpc(Server.java:769)
> >        at com.google.net.rpc.impl.Server.processRequest(Server.java:351)
> >        at com.google.net.rpc.impl.ServerConnection.messageReceived
> > (ServerConnection.java:437)
> >        at com.google.net.rpc.impl.RpcConnection.parseMessages
> > (RpcConnection.java:319)
> >        at com.google.net.rpc.impl.RpcConnection.dataReceived
> > (RpcConnection.java:290)
> >        at com.google.net.async.Connection.handleReadEvent(Connection.java

[appengine-java] Re: java.lang.NoClassDefFoundError: com/google/appengine/api/xmpp/JID

2009-10-27 Thread Jason (Google)
Are you still seeing this error? If so, which version of the SDK are you
using? Did you change your SDK settings or update your SDK between the time
when XMPP was working and when it started failing?

Also, can you list the JARs in your war/WEB-INF/lib directory?

- Jason

On Sat, Oct 24, 2009 at 12:56 PM, lallafa  wrote:

>
> I wrote a test servlet "SendServlet" that sends invitations and
> messages.
>
> Calling the servlet works fine with with the runtime. It also worked
> when it was uploaded to app engine the first time. But after uploading
> new versions the following exception is thrown:
>
> java.lang.NoClassDefFoundError: com/google/appengine/api/xmpp/JID
>at plapperbot.SendServlet.doPost(SendServlet.java:29)
>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.runtime.jetty.SaveSessionFilter.doFilter
> (SaveSessionFilter.java:35)
>at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
> (ServletHandler.java:1084)
>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.runtime.jetty.AppVersionHandlerMap.handle
> (AppVersionHandlerMap.java:238)
>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.headerComplete
> (HttpConnection.java:830)
>at
> com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable
> (RpcRequestParser.java:76)
>at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
>at
>
> com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest
> (JettyServletEngineAdapter.java:139)
>at com.google.apphosting.runtime.JavaRuntime.handleRequest
> (JavaRuntime.java:239)
>at com.google.apphosting.base.RuntimePb$EvaluationRuntime
> $6.handleBlockingRequest(RuntimePb.java:5135)
>at com.google.apphosting.base.RuntimePb$EvaluationRuntime
> $6.handleBlockingRequest(RuntimePb.java:5133)
>at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest
> (BlockingApplicationHandler.java:24)
>at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
> 363)
>at com.google.net.rpc.impl.Server$2.run(Server.java:814)
>at com.google.tracing.LocalTraceSpanRunnable.run
> (LocalTraceSpanRunnable.java:56)
>at com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan
> (LocalTraceSpanBuilder.java:516)
>at com.google.net.rpc.impl.Server.startRpc(Server.java:769)
>at com.google.net.rpc.impl.Server.processRequest(Server.java:351)
>at com.google.net.rpc.impl.ServerConnection.messageReceived
> (ServerConnection.java:437)
>at com.google.net.rpc.impl.RpcConnection.parseMessages
> (RpcConnection.java:319)
>at com.google.net.rpc.impl.RpcConnection.dataReceived
> (RpcConnection.java:290)
>at com.google.net.async.Connection.handleReadEvent(Connection.java:
> 436)
>at com.google.net.async.EventDispatcher.processNetworkEvents
> (EventDispatcher.java:762)
>at com.google.net.async.EventDispatcher.internalLoop
> (EventDispatcher.java:207)
>at com.google.net.async.EventDispatcher.loop(EventDispatcher.java:
> 101)
>at com.google.net.rpc.RpcService.runUntilServerShutdown
> (RpcService.java:251)
>at com.google.apphosting.runtime.JavaRuntime$RpcRunnable.run
> (JavaRuntime.java:396)
>at java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.ClassNotFoundException:
> com.google.appengine.api.xmpp.JID
>at com.google.appengine.runtime.Request.process-f96f6f9cd332072e
> (Request.java)
>at java.lang.ClassLoader.loadClass(Unknown Source)
>at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>... 42 more
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engi

[appengine-java] Re: java.lang.NoClassDefFoundError: com/google/appengine/api/datastore/CompositeIndexManager

2009-10-21 Thread Dominik Steiner

Hi,

I got the same error, can you try adding the following jars to your
classpath

appengine-api-stubs.jar
appengine-api.jar
appengine-local-runtime.jar

HTH

Dominik
On Oct 20, 7:21 am, stanlick  wrote:
> I have configured my test environment according to the notes found
> here.
>
> http://code.google.com/appengine/docs/java/howto/unittesting.html
>
> However, when I run my unit test, I am receiving
> java.lang.NoClassDefFoundError: com/google/appengine/api/datastore/
> CompositeIndexManager.  Is there possibly another jar I need on my
> path?
>
> Peace,
> Scott
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---



[appengine-java] Re: java.lang.NoClassDefFoundError: javax.swing.tree.TreeNode is a restricted class.

2009-10-19 Thread Jason (Google)
We're looking into this now. The root cause appears to be a UI dependency in
the Freemarker template system. For now, a workaround is available in this
thread:

http://groups.google.com/group/google-appengine-java/browse_thread/thread/dd84e44f604498c4

- Jason

On Fri, Oct 16, 2009 at 8:03 PM, Abhinav Lele wrote:

> I also got the same error when i tried to switch to sdk 1.2.6 from 1.2.5.
> In my case I was using freemarker and spring. As soon I included the
> spring.ftl in my template I got this error.
> --
> Abhinav
>
> -_[No constructors were harmed in the writing of this post. Any resemblance
> to objects living or dead is purely coincidental]_-
>
>
>
> On Sat, Oct 17, 2009 at 12:22 AM, Philippe Marschall <
> philippe.marsch...@gmail.com> wrote:
>
>>
>>
>>
>> On Oct 16, 12:52 pm, venkat  wrote:
>> > I am able to post and run my app from the appspot successfully. But
>> > when I run the app locally I receive the above error.
>> > JSP is not able to run struts tag.
>> > Here is a little long error info:
>> > javax.servlet.ServletException: java.lang.NoClassDefFoundError:
>> > javax.swing.tree.TreeNode is a restricted class. Please see the
>> > Google  App Engine developer's guide for more details.
>>
>> As the exception says javax.swing.tree.TreeNode is a restricted class,
>> that means you don't have access to it. Access restrictions are only
>> active on the actual GAE server, not in the development environment.
>>
>> Cheers
>> Philippe
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---



[appengine-java] Re: java.lang.NoClassDefFoundError

2009-10-19 Thread Max Zhu
you can stub out this class into a separated module, say common module,
which will be inherited by other modules in need.

On Sun, Oct 18, 2009 at 11:00 AM, Sean Mitchell  wrote:

>
>
> A bit more searching turned up a workaround on this thread:
>
> http://groups.google.com/group/google-appengine-java/browse_thread/thread/dd84e44f604498c4
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---



[appengine-java] Re: java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.Configuration

2009-09-02 Thread Toby Reyelts
This looks like a bug. I believe you can work around it temporarily by
patching BeansWrapper to call setAccessible on the enum Constructor. Can you
please file an issue in our tracker?

On Wed, Sep 2, 2009 at 7:30 PM, Hani Naguib  wrote:

>
> The root exception seems to be:
>
> Nested in org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'freemarkerConfig' defined in
> ServletContext resource [/WEB-INF/gae/gae-web.xml]: Invocation of init
> method failed; nested exception is
> java.lang.ExceptionInInitializerError:
> Undeclared throwable:java.lang.IllegalAccessException: Class
>
> com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.Constructor_
> can not access a member of class freemarker.ext.beans.EnumModels with
> modifiers ""
>at com.google.appengine.runtime.Request.process-8239fb992975c163
> (Request.java)
>at sun.reflect.Reflection.ensureMemberAccess(Unknown Source)
>at java.lang.reflect.Constructor.newInstance(Constructor.java:42)
> at freemarker.ext.beans.BeansWrapper.createEnumModels
> (BeansWrapper.java:1535)
> at freemarker.ext.beans.BeansWrapper.(BeansWrapper.java:174)
>at freemarker.ext.beans.BeansWrapper.(BeansWrapper.java:164)
> at
> freemarker.template.ObjectWrapper.(ObjectWrapper.java:69)
>at freemarker.core.Configurable.(Configurable.java:132)
>at freemarker.template.Configuration.(Configuration.java:109)
>at freemarker.template.Configuration.(Configuration.java:96)
>at
>
> org.springframework.ui.freemarker.FreeMarkerConfigurationFactory.newConfiguration
> (FreeMarkerConfigurationFactory.java:332)
>at
>
> org.springframework.ui.freemarker.FreeMarkerConfigurationFactory.createConfiguration
> (FreeMarkerConfigurationFactory.java:265)
>at
>
> org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer.afterPropertiesSet
> (FreeMarkerConfigurer.java:114)
>at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods
> (AbstractAutowireCapableBeanFactory.java:1369)
>at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean
> (AbstractAutowireCapableBeanFactory.java:1335)
> at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean
> (AbstractAutowireCapableBeanFactory.java:473)
>at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
> $1.run(AbstractAutowireCapableBeanFactory.java:409)
>at java.security.AccessController.doPrivileged(Native Method)
>at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean
> (AbstractAutowireCapableBeanFactory.java:380)
>at org.springframework.beans.factory.support.AbstractBeanFactory
> $1.getObject(AbstractBeanFactory.java:264)
>at
>
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton
> (DefaultSingletonBeanRegistry.java:222)
>at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean
> (AbstractBeanFactory.java:261)
>at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean
> (AbstractBeanFactory.java:185)
>at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean
> (AbstractBeanFactory.java:164)
>at
>
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons
> (DefaultListableBeanFactory.java:429)
>at
>
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization
> (AbstractApplicationContext.java:728)
>at
> org.springframework.context.support.AbstractApplicationContext.refresh
> (AbstractApplicationContext.java:380)
>at
>
> org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext
> (FrameworkServlet.java:402)
>at
> org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext
> (FrameworkServlet.java:316)
>at org.springframework.web.servlet.FrameworkServlet.initServletBean
> (FrameworkServlet.java:282)
>at org.springframework.web.servlet.HttpServletBean.init
> (HttpServletBean.java:126)
>at javax.servlet.GenericServlet.init(GenericServlet.java:215)
>at org.mortbay.jetty.servlet.ServletHolder.initServlet
> (ServletHolder.java:433)
>at
> org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:
> 256)
>at org.mortbay.component.AbstractLifeCycle.start
> (AbstractLifeCycle.java:40)
>at org.mortbay.jetty.servlet.ServletHandler.initialize
> (ServletHandler.java:612)
>at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
>at org.mortbay.jetty.webapp.WebAppContext.startContext
> (WebAppContext.java:1218)
>at org.mortbay.jetty.handler.ContextHandler.doStart
> (ContextHandler.java:500)
>at
>

[appengine-java] Re: java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.Configuration

2009-09-02 Thread Alexander Orlov

On Sep 3, 2:29 am, Hani Naguib  wrote:
> Well it looks like something has changed today.

Well, to be more precise, something has changed 2 hours ago. All
instances of my Grails (and therefore also Spring) based app are down
and responding with Server Error 500. Updating the app don't solve the
problem. It's like a kind of an app dead lock.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---



[appengine-java] Re: java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.Configuration

2009-09-02 Thread Hani Naguib

Well it looks like something has changed today.
I had to change EnumModels's constructor and class and make them
public.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---



[appengine-java] Re: java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.Configuration

2009-09-02 Thread 鱼雷导弹

I have the same problem, too.
What happened?

09-02 05:49PM 42.341
Error for /home
java.lang.NoClassDefFoundError: Could not initialize class
freemarker.template.Configuration
at jtweet.web.HomeServlet.getHomeTimeline(HomeServlet.java:82)
at jtweet.web.HomeServlet.doGet(HomeServlet.java:54)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
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.runtime.jetty.SaveSessionFilter.doFilter
(SaveSessionFilter.java:35)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1084)
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.runtime.jetty.AppVersionHandlerMap.handle
(AppVersionHandlerMap.java:237)
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.headerComplete
(HttpConnection.java:830)
at com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable
(RpcRequestParser.java:76)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at
com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest
(JettyServletEngineAdapter.java:139)
at com.google.apphosting.runtime.JavaRuntime.handleRequest
(JavaRuntime.java:235)
at com.google.apphosting.base.RuntimePb$EvaluationRuntime
$6.handleBlockingRequest(RuntimePb.java:4950)
at com.google.apphosting.base.RuntimePb$EvaluationRuntime
$6.handleBlockingRequest(RuntimePb.java:4948)
at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest
(BlockingApplicationHandler.java:24)
at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
359)
at com.google.net.rpc.impl.Server$2.run(Server.java:823)
at com.google.tracing.LocalTraceSpanRunnable.run
(LocalTraceSpanRunnable.java:56)
at com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan
(LocalTraceSpanBuilder.java:516)
at com.google.net.rpc.impl.Server.startRpc(Server.java:778)
at com.google.net.rpc.impl.Server.processRequest(Server.java:351)
at com.google.net.rpc.impl.ServerConnection.messageReceived
(ServerConnection.java:437)
at com.google.net.rpc.impl.RpcConnection.parseMessages
(RpcConnection.java:319)
at com.google.net.rpc.impl.RpcConnection.dataReceived
(RpcConnection.java:290)
at com.google.net.async.Connection.handleReadEvent(Connection.java:
428)
at com.google.net.async.EventDispatcher.processNetworkEvents
(EventDispatcher.java:762)
at com.google.net.async.EventDispatcher.internalLoop
(EventDispatcher.java:207)
at com.google.net.async.EventDispatcher.loop(EventDispatcher.java:
101)
at com.google.net.rpc.RpcService.runUntilServerShutdown
(RpcService.java:251)
at com.google.apphosting.runtime.JavaRuntime$RpcRunnable.run
(JavaRuntime.java:392)
at java.lang.Thread.run(Unknown Source)
C 09-02 05:49PM 42.344
Uncaught exception from servlet
java.lang.NoClassDefFoundError: Could not initialize class
freemarker.template.Configuration
at jtweet.web.HomeServlet.getHomeTimeline(HomeServlet.java:82)
at jtweet.web.HomeServlet.doGet(HomeServlet.java:54)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
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.runtime.jetty.SaveSessionFilter.doFilter
(SaveSessionFilter.java:35)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1084)
at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter
(TransactionCleanupFilter.java:43)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1084

[appengine-java] Re: java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.Configuration

2009-09-02 Thread Hani Naguib

The root exception seems to be:

Nested in org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'freemarkerConfig' defined in
ServletContext resource [/WEB-INF/gae/gae-web.xml]: Invocation of init
method failed; nested exception is
java.lang.ExceptionInInitializerError:
Undeclared throwable:java.lang.IllegalAccessException: Class
com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.Constructor_
can not access a member of class freemarker.ext.beans.EnumModels with
modifiers ""
at com.google.appengine.runtime.Request.process-8239fb992975c163
(Request.java)
at sun.reflect.Reflection.ensureMemberAccess(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Constructor.java:42)
at freemarker.ext.beans.BeansWrapper.createEnumModels
(BeansWrapper.java:1535)
at freemarker.ext.beans.BeansWrapper.(BeansWrapper.java:174)
at freemarker.ext.beans.BeansWrapper.(BeansWrapper.java:164)
at freemarker.template.ObjectWrapper.(ObjectWrapper.java:69)
at freemarker.core.Configurable.(Configurable.java:132)
at freemarker.template.Configuration.(Configuration.java:109)
at freemarker.template.Configuration.(Configuration.java:96)
at
org.springframework.ui.freemarker.FreeMarkerConfigurationFactory.newConfiguration
(FreeMarkerConfigurationFactory.java:332)
at
org.springframework.ui.freemarker.FreeMarkerConfigurationFactory.createConfiguration
(FreeMarkerConfigurationFactory.java:265)
at
org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer.afterPropertiesSet
(FreeMarkerConfigurer.java:114)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods
(AbstractAutowireCapableBeanFactory.java:1369)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean
(AbstractAutowireCapableBeanFactory.java:1335)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean
(AbstractAutowireCapableBeanFactory.java:473)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean
(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory
$1.getObject(AbstractBeanFactory.java:264)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton
(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean
(AbstractBeanFactory.java:261)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:185)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:164)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons
(DefaultListableBeanFactory.java:429)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization
(AbstractApplicationContext.java:728)
at
org.springframework.context.support.AbstractApplicationContext.refresh
(AbstractApplicationContext.java:380)
at
org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext
(FrameworkServlet.java:402)
at
org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext
(FrameworkServlet.java:316)
at org.springframework.web.servlet.FrameworkServlet.initServletBean
(FrameworkServlet.java:282)
at org.springframework.web.servlet.HttpServletBean.init
(HttpServletBean.java:126)
at javax.servlet.GenericServlet.init(GenericServlet.java:215)
at org.mortbay.jetty.servlet.ServletHolder.initServlet
(ServletHolder.java:433)
at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:
256)
at org.mortbay.component.AbstractLifeCycle.start
(AbstractLifeCycle.java:40)
at org.mortbay.jetty.servlet.ServletHandler.initialize
(ServletHandler.java:612)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
at org.mortbay.jetty.webapp.WebAppContext.startContext
(WebAppContext.java:1218)
at org.mortbay.jetty.handler.ContextHandler.doStart
(ContextHandler.java:500)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:
448)
at org.mortbay.component.AbstractLifeCycle.start
(AbstractLifeCycle.java:40)
at
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler
(AppVersionHandlerMap.java:190)
at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler
(AppVersionHandlerMap.java:167)
at
com.google.apphosting.runtime.jet

[appengine-java] Re: java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.Configuration

2009-09-02 Thread Hani Naguib

The exception has now changed to: (what is going on!)

org.springframework.web.servlet.FrameworkServlet initServletBean:
Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'freemarkerConfig' defined in ServletContext
resource [/WEB-INF/gae/gae-web.xml]: Invocation of init method failed;
nested exception is java.lang.ExceptionInInitializerError
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean
(AbstractAutowireCapableBeanFactory.java:1338)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean
(AbstractAutowireCapableBeanFactory.java:473)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean
(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory
$1.getObject(AbstractBeanFactory.java:264)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton
(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean
(AbstractBeanFactory.java:261)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:185)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:164)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons
(DefaultListableBeanFactory.java:429)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization
(AbstractApplicationContext.java:728)
at
org.springframework.context.support.AbstractApplicationContext.refresh
(AbstractApplicationContext.java:380)
at
org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext
(FrameworkServlet.java:402)
at
org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext
(FrameworkServlet.java:316)
at org.springframework.web.servlet.FrameworkServlet.initServletBean
(FrameworkServlet.java:282)
at org.springframework.web.servlet.HttpServletBean.init
(HttpServletBean.java:126)
at javax.servlet.GenericServlet.init(GenericServlet.java:215)
at org.mortbay.jetty.servlet.ServletHolder.initServlet
(ServletHolder.java:433)
at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:
256)
at org.mortbay.component.AbstractLifeCycle.start
(AbstractLifeCycle.java:40)
at org.mortbay.jetty.servlet.ServletHandler.initialize
(ServletHandler.java:612)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
at org.mortbay.jetty.webapp.WebAppContext.startContext
(WebAppContext.java:1218)
at org.mortbay.jetty.handler.ContextHandler.doStart
(ContextHandler.java:500)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:
448)
at org.mortbay.component.AbstractLifeCycle.start
(AbstractLifeCycle.java:40)
at
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler
(AppVersionHandlerMap.java:190)
at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler
(AppVersionHandlerMap.java:167)
at
com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest
(JettyServletEngineAdapter.java:127)
at com.google.apphosting.runtime.JavaRuntime.handleRequest
(JavaRuntime.java:235)
at com.google.apphosting.base.RuntimePb$EvaluationRuntime
$6.handleBlockingRequest(RuntimePb.java:4950)
at com.google.apphosting.base.RuntimePb$EvaluationRuntime
$6.handleBlockingRequest(RuntimePb.java:4948)
at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest
(BlockingApplicationHandler.java:24)
at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
359)
at com.google.net.rpc.impl.Server$2.run(Server.java:823)
at com.google.tracing.LocalTraceSpanRunnable.run
(LocalTraceSpanRunnable.java:56)
at com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan
(LocalTraceSpanBuilder.java:516)
at com.google.net.rpc.impl.Server.startRpc(Server.java:778)
at com.google.net.rpc.impl.Server.processRequest(Server.java:351)
at com.google.net.rpc.impl.ServerConnection.messageReceived
(ServerConnection.java:437)
at com.google.net.rpc.impl.RpcConnection.parseMessages
(RpcConnection.java:319)
at com.google.net.rpc.impl.RpcConnection.dataReceived
(RpcConnection.java:290)
at com.google.net.async.Connection.handleReadEvent(Connection.java:
428)
at com.google.net.async.EventDispatcher.processNetworkEv

[appengine-java] Re: java.lang.NoClassDefFoundError

2009-09-02 Thread Jason (Google)
Please post the full stack trace.
- Jason

On Mon, Aug 31, 2009 at 9:17 PM, g  wrote:

>
> I use freemarker as my template engine.
> I have the freemarker.jar under the \war\WEB-INFO\lib
> from this morning all my pages return 500 error:
> java.lang.NoClassDefFoundError: Could not initialize class
> freemarker.template.Configuration
>
> but the localhost is fine.
>
> Is there anything wrong with appengine-java?
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---