java.lang.NoClassDefFoundError翻譯 – JAVA編程語言程序開發技術文章

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “https://www.w3.org/TR/html4/loose.dtd“>
<!–NewPage–>
<HTML>
<HEAD>
<!– Generated by javadoc (build 1.4.2-rc) on Fri Jun 13 00:14:21 PDT 2003 –>
<TITLE>
NoClassDefFoundError (Java 2 Platform SE v1.4.2)
</TITLE>

<META NAME=”keywords” CONTENT=”java.lang.NoClassDefFoundError class”>

<LINK REL =”stylesheet” TYPE=”text/css” HREF=”../../stylesheet.css” TITLE=”Style”>

<SCRIPT type=”text/javascript”>
function windowTitle()
{
    parent.document.title=”NoClassDefFoundError (Java 2 Platform SE v1.4.2)”;
}
</SCRIPT>

</HEAD>

<BODY BGCOLOR=”white” onload=”windowTitle();”>

<!– ========= START OF TOP NAVBAR ======= –>
<A NAME=”navbar_top”><!– –></A>
<A HREF=”#skip-navbar_top” title=”Skip navigation links”></A>
<TABLE BORDER=”0″ WIDTH=”100%” CELLPADDING=”1″ CELLSPACING=”0″ SUMMARY=””>
<TR>
<TD COLSPAN=3 BGCOLOR=”#EEEEFF” CLASS=”NavBarCell1″>
<A NAME=”navbar_top_firstrow”><!– –></A>
<TABLE BORDER=”0″ CELLPADDING=”0″ CELLSPACING=”3″ SUMMARY=””>
  <TR ALIGN=”center” VALIGN=”top”>
  <TD BGCOLOR=”#EEEEFF” CLASS=”NavBarCell1″>    <A HREF=”../../overview-summary.html”><FONT CLASS=”NavBarFont1″><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR=”#EEEEFF” CLASS=”NavBarCell1″>    <A HREF=”package-summary.html”><FONT CLASS=”NavBarFont1″><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR=”#FFFFFF” CLASS=”NavBarCell1Rev”> &nbsp;<FONT CLASS=”NavBarFont1Rev”><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR=”#EEEEFF” CLASS=”NavBarCell1″>    <A HREF=”class-use/NoClassDefFoundError.html”><FONT CLASS=”NavBarFont1″><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR=”#EEEEFF” CLASS=”NavBarCell1″>    <A HREF=”package-tree.html”><FONT CLASS=”NavBarFont1″><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR=”#EEEEFF” CLASS=”NavBarCell1″>    <A HREF=”../../deprecated-list.html”><FONT CLASS=”NavBarFont1″><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR=”#EEEEFF” CLASS=”NavBarCell1″>    <A HREF=”../../index-files/index-1.html”><FONT CLASS=”NavBarFont1″><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR=”#EEEEFF” CLASS=”NavBarCell1″>    <A HREF=”../../help-doc.html”><FONT CLASS=”NavBarFont1″><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN=”right” VALIGN=”top” ROWSPAN=3><EM>
<b>Java<sup><font size=-2>TM</font></sup>&nbsp;2&nbsp;Platform<br>Std.&nbsp;Ed. v1.4.2</b></EM>
</TD>
</TR>

<TR>
<TD BGCOLOR=”white” CLASS=”NavBarCell2″><FONT SIZE=”-2″>
&nbsp;<A HREF=”../../java/lang/LinkageError.html” title=”class in java.lang”><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF=”../../java/lang/NoSuchFieldError.html” title=”class in java.lang”><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR=”white” CLASS=”NavBarCell2″><FONT SIZE=”-2″>
  <A HREF=”../../index.html” target=”_top”><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF=”NoClassDefFoundError.html” target=”_top”><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type=”text/javascript”>
  <!–
  if(window==top) {
    document.writeln(<A HREF=”../../allclasses-noframe.html”><B>All Classes</B></A>);
  }
  //–>
</SCRIPT>
<NOSCRIPT>
  <A HREF=”../../allclasses-noframe.html”><B>All Classes</B></A>
</NOSCRIPT>

</FONT></TD>
</TR>
<TR>
<TD VALIGN=”top” CLASS=”NavBarCell3″><FONT SIZE=”-2″>
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF=”#constructor_summary”>CONSTR</A>&nbsp;|&nbsp;<A HREF=”#methods_inherited_from_class_java.lang.Throwable”>METHOD</A></FONT></TD>
<TD VALIGN=”top” CLASS=”NavBarCell3″><FONT SIZE=”-2″>
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF=”#constructor_detail”>CONSTR</A>&nbsp;|&nbsp;METHOD</FONT></TD>
</TR>
</TABLE>
<A NAME=”skip-navbar_top”></A>
<!– ========= END OF TOP NAVBAR ========= –>

<HR>
<!– ======== START OF CLASS DATA ======== –>
<H2>
<FONT SIZE=”-1″>
java.lang</FONT>
<BR>
Class NoClassDefFoundError</H2>
<PRE>
<A HREF=”../../java/lang/Object.html” title=”class in java.lang”>java.lang.Object</A>
  <IMG SRC=”../../resources/inherit.gif” ALT=”extended by”><A HREF=”../../java/lang/Throwable.html” title=”class in java.lang”>java.lang.Throwable</A>
      <IMG SRC=”../../resources/inherit.gif” ALT=”extended by”><A HREF=”../../java/lang/Error.html” title=”class in java.lang”>java.lang.Error</A>
          <IMG SRC=”../../resources/inherit.gif” ALT=”extended by”><A HREF=”../../java/lang/LinkageError.html” title=”class in java.lang”>java.lang.LinkageError</A>
              <IMG SRC=”../../resources/inherit.gif” ALT=”extended by”><B>java.lang.NoClassDefFoundError</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF=”../../java/io/Serializable.html” title=”interface in java.io”>Serializable</A></DD>
</DL>
<HR>
<DL>
<DT>public class <B>NoClassDefFoundError</B><DT>extends <A HREF=”../../java/lang/LinkageError.html” title=”class in java.lang”>LinkageError</A></DL>

<P>
Thrown if the Java Virtual Machine or a <code>ClassLoader</code> instance
 tries to load in the definition of a class (as part of a normal method call
 or as part of creating a new instance using the <code>new</code> expression)
 and no definition of the class could be found.
 當Java虛擬機或者ClassLoader實例試圖加載一個類的定義(正常方式調用或者使用new表達式創建一個新的實例),
而未找到該類的定義時拋出。
 <p>
 The searched-for class definition existed when the currently
 executing class was compiled, but the definition can no longer be
 found.
 當前執行類被編譯時被搜索的類定義存在,但運行時不能獲得。
 
<P>

<P>
<DL>
<DT><B>Since:</B></DT>
  <DD>JDK1.0</DD>
<DT&gt

發佈留言