简体   繁体   English

Eclpise ingo错误: - 'java.io.ObjectInputStream类型无法解析。 它是从所需的.class文件间接引用的

[英]Eclpise ingo error:-'The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files'

this Error Appear when i extend exception class in eclipse indigo, but it works properly in net-beans 8.2 当我在eclipse indigo中扩展异常类时出现此错误,但它在net-beans 8.2中正常工作

package com;// error 


public class ex extends Exception{


    private static final long serialVersionUID = 1L;

    public ex(String string) {
        System.out.println(string);
    }

}

There is nothing wrong in the posted code. 发布的代码没有错。

Eclipse Indigo should also work fine for the code you have posted above. Eclipse Indigo也适用于您上面发布的代码。 Possibly something else in the package/Project in same workspace which is giving that error ? 可能是同一个工作区中的包/项目中的其他东西给出了这个错误?

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法解析java.io.ObjectInputStream类型。它是从所需的.class文件间接引用的 - The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files 无法解析java.rmi.RemoteException类型。 它是从java中所需的.class文件错误中间接引用的 - The type java.rmi.RemoteException cannot be resolved. It is indirectly referenced from required .class files error in java Android:无法解析java.awt.Image类型。 它是从所需的.class文件间接引用的 - Android: The type java.awt.Image cannot be resolved. It is indirectly referenced from required .class files 无法解析类型java.lang.Charsequence。 它是从required.class文件间接引用的 - The type java.lang.Charsequence cannot be resolved. It is indirectly referenced from required.class files 无法解析类型 java.lang.Object。 它是从 required.class 文件中间接引用的 - The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files 错误:无法解析oauth.signpost.AbstractOAuthConsumer类型。 从所需的.class文件间接引用它 - error: The type oauth.signpost.AbstractOAuthConsumer cannot be resolved. It is indirectly referenced from required .class files “无法解析类型java.util.Map $ Entry。 它是从所需的.class文件间接引用的“ - “The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files” 无法解析java.lang.CharSequence类型。 它是从所需的.class文件间接引用的 - The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files 无法解析java.awt.geom.AffineTransform类型。 它是从所需的.class文件间接引用的 - The type java.awt.geom.AffineTransform cannot be resolved. It is indirectly referenced from required .class files 获得以下构建错误:“类型{---}无法解析。 它是从所需的.class文件间接引用的“ - Getting the following build error: “the type {---} cannot be resolved. it is indirectly referenced from required .class files”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM