Java EE 经验

环境配置

GlassFish

Error 1 

Exception while loading the app : CDI deployment failure:Error loading class xxx.xxx.xxx.xxxxxx

Caused by: java.lang.NoClassDefFoundError: Lcom/google/gson/Gson;

要把gson-2.2.2.jar ... 类库放到GlassFish服务器的E:\xxxxx\xxxxx\glassfish4\glassfish\lib文件夹里解决.

 

WildFly

posted @ 2016-02-24 22:41  bruceyo  阅读(219)  评论(0编辑  收藏  举报