zoukankan      html  css  js  c++  java
  • NCC api报错

    找不到类:nccloud.framework.web.ui.pattern.grid.Grid

    java.lang.ClassNotFoundException: nccloud.framework.web.ui.pattern.grid.Grid
    	at java.net.URLClassLoader.findClass(URLClassLoader.java:610)
    	at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:925)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:870)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:853)
    	at java.lang.Class.getDeclaredFieldsImpl(Native Method)
    	at java.lang.Class.getDeclaredFields(Class.java:867)
    	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:152)
    	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:102)
    	at com.google.gson.Gson.getAdapter(Gson.java:458)
    	at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:56)
    	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:127)
    	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:245)
    	at com.google.gson.Gson.toJson(Gson.java:704)
    	at com.google.gson.Gson.toJson(Gson.java:683)
    	at com.google.gson.Gson.toJson(Gson.java:638)
    	at com.google.gson.Gson.toJson(Gson.java:618)
    	at nccloud.framework.core.json.Json.toJson(Json.java:77)
    	at nccloud.framework.web.action.entry.ResponseProcess.writeJson(ResponseProcess.java:141)
    	at nccloud.framework.web.action.entry.ResponseProcess.process(ResponseProcess.java:60)
    	at nccloud.framework.web.action.entry.Dispatcher.doAction(Dispatcher.java:50)
    	at nccloud.framework.web.action.entry.EntryController.doPost(EntryController.java:42)
    

      解决办法:把DTO类放到ncchomehotwebs ccloudWEB-INFclasses下面

  • 相关阅读:
    给窗体加个圣诞帽——抛砖引玉
    《高手寂寞》随感
    离职日记-计划与变化
    什么样的生活
    这一年……
    写在2011第一天的工作前
    Visual C++ 学习笔记四 —— 模板
    bugfree安装与配置
    QTP环境变量的使用
    测试提问单[转]
  • 原文地址:https://www.cnblogs.com/zhongxiaoze/p/13850534.html
Copyright © 2011-2022 走看看