zoukankan      html  css  js  c++  java
  • 遇到的ExtJsbug,留个笔记

    JDK 1.6 写Webservice时,runtime modeler error: Wrapper class com.ws.jaxws.DoSomething is not found问题的解决办法
    1、问题如下:
    Exception in thread "main" com.sun.xml.internal.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class com.ws.jaxws.DoSomething is not found. Have you run APT to generate them?
    at com.sun.xml.internal.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:256)
    at com.sun.xml.internal.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:567)
    at com.sun.xml.internal.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:514)
    at com.sun.xml.internal.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:341)
    at com.sun.xml.internal.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:227)
    at com.sun.xml.internal.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:308)
    at com.sun.xml.internal.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:174)
    at com.sun.xml.internal.ws.api.server.WSEndpoint.create(WSEndpoint.java:420)
    at com.sun.xml.internal.ws.api.server.WSEndpoint.create(WSEndpoint.java:439)
    at com.sun.xml.internal.ws.transport.http.server.EndpointImpl.createEndpoint(EndpointImpl.java:208)
    at com.sun.xml.internal.ws.transport.http.server.EndpointImpl.publish(EndpointImpl.java:138)
    at com.sun.xml.internal.ws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:90)
    at javax.xml.ws.Endpoint.publish(Endpoint.java:170)
    at com.ws.Java6WebService.main(Java6WebService.java:25)
    2、解决办法(2选一,推荐办法2):
    1> 先用apt命令将主程序进行编译,然后生成一些java文件
    2> 升级JDK到版本jdk1.6u17或以后


    3、ExtJs
    extjs中出现错误:
    1.this.addevents is not a function错误:
    解析:有一个原因是由于其中的一个控件没有使用关键字new出来或使用关键字new来创建时出错
    2.this.proxy is undefined
    解析:
    检查mode是否设置错误,mode默认是remote,是从远程服务器加载。如果从本地加载,应该设置mode为local。

  • 相关阅读:
    gdb调试libtool封装的可执行文件
    转载 Linux top命令详解
    VirtualBox使用物理硬盘建立磁盘
    【sqlServer】常用语句整理
    【c#基础】特殊集合
    【c# 基础】各种集合的不同情况下的性能
    【c#集合】Lookup 类 有序字典 SortedDictionary<TKey,TValue> 集
    【c#基础】集合--栈Stack 链表 LinkList 有序列表SortedList 字典Dictionary
    【c#基础】集合
    【c#基础】委托、Lambda表达式和事件
  • 原文地址:https://www.cnblogs.com/pony1223/p/2570931.html
Copyright © 2011-2022 走看看