可能用到的类不一样吧例如你的web server和application用的类版本不同。

解决方案 »

  1.   

    Thrown when an incompatible class change has occurred to some class 
    definition. The definition of some class, on which the currently 
    executing method depends, has since changed. 
    关于 IncompatibleClassChangeError
      

  2.   

    哪位仁兄知道ORACLE iAS(JDK1.2.2)下怎么用CORBA??
    [email protected]
      

  3.   

    org.omg.CosNaming._NamingContextStub does not implement interface org.omg.CosNaming.NamingContextOperations 这句已经告诉你了,是说这个类org.omg.CosNaming._NamingContextStub 
    没有实现org.omg.CosNaming.NamingContextOperations 。
    可能是你使用了一个比较旧的版本,使得较新版本的
    org.omg.CosNaming.NamingContextOperations 的某些方法没有被实现也可能是根本就不是相同这个接口的实现类,所以造型错误。
      

  4.   

    估计是Classpath中jar文件排列顺序的问题。JDK自带的运行库中有一个_NamingContextStub类,这个类没有实现NamingContextOperations界面。你用的Oracle可能也提供了_NamingContextStub类,估计你应该用这个类,如果是这样的话你需要把Oracle的jar放在Classpath的最前面。