GAE:java.lang.NoClassDefFoundError:com / google / appengine / api / blobstore / BlobstoreServiceFactory [英] GAE : java.lang.NoClassDefFoundError: com/google/appengine/api/blobstore/BlobstoreServiceFactory

查看:124
本文介绍了GAE:java.lang.NoClassDefFoundError:com / google / appengine / api / blobstore / BlobstoreServiceFactory的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮助我。我使用blob store来保存图像,并且在我的本地环境中工作得很好。但是当我部署相同的代码时,它会抛出异常:java.lang.NoClassDefFoundError:com / google / appengine / api / blobstore / BlobstoreServiceFactory



我是使用GAE 1.8.4

解决方案

很可能, appengine-api.jar war / WEB-INF / lib / 文件夹中丢失。如果您使用Eclipse,请单击问题标签。你可能会看到一个警告,说这个jar在服务器上不可用。右键单击此警告,选择QuickFix,选择复制...选项。或手动将此jar复制到此目录。


Kindly help me with this. I am using blob store for saving images and it is working perfectly fine on my local environment. But when I deploy the same code the cloud it is throwing me the exception : java.lang.NoClassDefFoundError: com/google/appengine/api/blobstore/BlobstoreServiceFactory

I am using GAE 1.8.4

解决方案

Most likely, appengine-api.jar is missing from your war/WEB-INF/lib/ folder.

If you use Eclipse, click on the Problems tab. You may see a warning saying that this jar is not available on a server. Right click on this warning, select QuickFix, select "Copy..." option. Or copy this jar to this directory manually.

这篇关于GAE:java.lang.NoClassDefFoundError:com / google / appengine / api / blobstore / BlobstoreServiceFactory的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆