Uses of Class
java.lang.ClassNotFoundException
Package
Description
Provides interfaces and classes for transferring data between and within
applications.
Contains classes related to developing beans -- components based on
the JavaBeans architecture.
Provides classes and interfaces relating to bean context.
Provides for system input and output through data streams,
serialization and the file system.
Provides classes that are fundamental to the design of the Java
programming language.
Provides services that allow Java programming language agents to instrument
programs running on the Java Virtual Machine (JVM).
The
java.lang.invoke
package provides low-level primitives for interacting
with the Java Virtual Machine.Provides the classes for implementing networking applications.
Provides the RMI package.
Provides classes and interfaces for supporting the server side of RMI.
Provides the classes and interfaces for the security framework.
Provides the classes and interfaces for cryptographic
operations.
Provides the core classes for the Java Management Extensions.
Provides the classes which implement advanced dynamic
loading.
Provides the definition of the Relation Service.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides classes and interfaces that deal with editable and noneditable text
components.
Provides implementation support for building JShell execution engines.
Provides a factory for obtaining instances of
DOMImplementation
.Provides helper classes, including
support for bootstrapping SAX-based applications.
-
Uses of ClassNotFoundException in java.awt.datatransfer
Modifier and TypeMethodDescriptionstatic DataFlavor
SystemFlavorMap.decodeDataFlavor
(String nat) Decodes aString
native for use as aDataFlavor
.void
DataFlavor.readExternal
(ObjectInput is) Restores thisDataFlavor
from a Serialized state.protected static final Class
<?> DataFlavor.tryToLoadClass
(String className, ClassLoader fallback) Tries to load a class from: the bootstrap loader, the system loader, the context loader (if one is present) and finally the loader specified.ModifierConstructorDescriptionDataFlavor
(String mimeType) Constructs aDataFlavor
from amimeType
string.DataFlavor
(String mimeType, String humanPresentableName, ClassLoader classLoader) Constructs aDataFlavor
that represents aMimeType
. -
Uses of ClassNotFoundException in java.beans
Modifier and TypeMethodDescriptionstatic Object
Beans.instantiate
(ClassLoader cls, String beanName) Instantiate a JavaBean.static Object
Beans.instantiate
(ClassLoader cls, String beanName, BeanContext beanContext) Deprecated, for removal: This API element is subject to removal in a future version.this method will be removed when java.beans.beancontext is removedstatic Object
Beans.instantiate
(ClassLoader cls, String beanName, BeanContext beanContext, AppletInitializer initializer) Deprecated, for removal: This API element is subject to removal in a future version.It is recommended to useBeans.instantiate(ClassLoader, String, BeanContext)
, because the Applet API is deprecated. -
Uses of ClassNotFoundException in java.beans.beancontext
Modifier and TypeMethodDescriptionprotected void
BeanContextServicesSupport.bcsPreDeserializationHook
(ObjectInputStream ois) Deprecated, for removal: This API element is subject to removal in a future version.called from BeanContextSupport readObject before it deserializes the children ...protected void
BeanContextSupport.bcsPreDeserializationHook
(ObjectInputStream ois) Deprecated, for removal: This API element is subject to removal in a future version.called by readObject after defaultReadObject() but prior to deserialization of any children.protected final void
BeanContextSupport.deserialize
(ObjectInputStream ois, Collection coll) Deprecated, for removal: This API element is subject to removal in a future version.used by readObject to deserialize a collection.BeanContext.instantiateChild
(String beanName) Deprecated, for removal: This API element is subject to removal in a future version.Instantiate the javaBean named as a child of thisBeanContext
.BeanContextSupport.instantiateChild
(String beanName) Deprecated, for removal: This API element is subject to removal in a future version.The instantiateChild method is a convenience hook in BeanContext to simplify the task of instantiating a Bean, nested, into aBeanContext
.final void
BeanContextSupport.readChildren
(ObjectInputStream ois) Deprecated, for removal: This API element is subject to removal in a future version.When an instance of this class is used as a delegate for the implementation of the BeanContext protocols (and its subprotocols) there exists a 'chicken and egg' problem during deserialization -
Uses of ClassNotFoundException in java.io
Modifier and TypeMethodDescriptionvoid
ObjectInputStream.defaultReadObject()
Read the non-static and non-transient fields of the current class from this stream.abstract Object
Get the value of the named Object field from the persistent field.protected ObjectStreamClass
ObjectInputStream.readClassDescriptor()
Read a class descriptor from the serialization stream.void
Externalizable.readExternal
(ObjectInput in) The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays.ObjectInputStream.readFields()
Reads the persistent fields from the stream and makes them available by name.ObjectInput.readObject()
Read and return an object.final Object
ObjectInputStream.readObject()
Read an object from the ObjectInputStream.protected Object
ObjectInputStream.readObjectOverride()
This method is called by trusted subclasses of ObjectInputStream that constructed ObjectInputStream using the protected no-arg constructor.ObjectInputStream.readUnshared()
Reads an "unshared" object from the ObjectInputStream.protected Class
<?> ObjectInputStream.resolveClass
(ObjectStreamClass desc) Load the local class equivalent of the specified stream class description.protected Class
<?> ObjectInputStream.resolveProxyClass
(String[] interfaces) Returns a proxy class that implements the interfaces named in a proxy class descriptor; subclasses may implement this method to read custom data from the stream along with the descriptors for dynamic proxy classes, allowing them to use an alternate loading mechanism for the interfaces and the proxy class. -
Uses of ClassNotFoundException in java.lang
Modifier and TypeMethodDescriptionprotected Class
<?> Finds the class with the specified binary name.protected final Class
<?> ClassLoader.findSystemClass
(String name) Finds a class with the specified binary name, loading it if necessary.static Class
<?> Returns theClass
object associated with the class or interface with the given string name.static Class
<?> Class.forName
(String name, boolean initialize, ClassLoader loader) Returns theClass
object associated with the class or interface with the given string name, using the given class loader.Class
<?> Loads the class with the specified binary name.protected Class
<?> Loads the class with the specified binary name. -
Uses of ClassNotFoundException in java.lang.instrument
Modifier and TypeMethodDescriptionvoid
Instrumentation.redefineClasses
(ClassDefinition... definitions) Redefine the supplied set of classes using the supplied class files. -
Uses of ClassNotFoundException in java.lang.invoke
Modifier and TypeMethodDescriptionClass
<?> Looks up a class by name from the lookup context defined by thisLookup
object, as if resolved by anldc
instruction. -
Uses of ClassNotFoundException in java.net
-
Uses of ClassNotFoundException in java.rmi
-
Uses of ClassNotFoundException in java.rmi.server
Modifier and TypeMethodDescriptionClass
<?> Deprecated.no replacementClass
<?> Deprecated.no replacementstatic Class
<?> Deprecated.replaced byloadClass(String,String)
methodstatic Class
<?> Loads a class from a codebase URL path.static Class
<?> RMIClassLoader.loadClass
(String codebase, String name, ClassLoader defaultLoader) Loads a class from a codebase URL path, optionally using the supplied loader.static Class
<?> Loads a class from a codebase URL.abstract Class
<?> RMIClassLoaderSpi.loadClass
(String codebase, String name, ClassLoader defaultLoader) Provides the implementation forRMIClassLoader.loadClass(URL,String)
,RMIClassLoader.loadClass(String,String)
, andRMIClassLoader.loadClass(String,String,ClassLoader)
.static Class
<?> RMIClassLoader.loadProxyClass
(String codebase, String[] interfaces, ClassLoader defaultLoader) Loads a dynamic proxy class (seeProxy
) that implements a set of interfaces with the given names from a codebase URL path.abstract Class
<?> RMIClassLoaderSpi.loadProxyClass
(String codebase, String[] interfaces, ClassLoader defaultLoader) Provides the implementation forRMIClassLoader.loadProxyClass(String,String[],ClassLoader)
. -
Uses of ClassNotFoundException in java.security
-
Uses of ClassNotFoundException in javax.crypto
-
Uses of ClassNotFoundException in javax.management
Modifier and TypeMethodDescriptionstatic Class
<?> Deprecated.Go through the list of class loaders and try to load the requested class.static Class
<?> DefaultLoaderRepository.loadClassWithout
(ClassLoader loader, String className) Deprecated.Go through the list of class loaders but exclude the given class loader, then try to load the requested class. -
Uses of ClassNotFoundException in javax.management.loading
Modifier and TypeMethodDescriptionClass
<?> Load the given class name through the list of class loaders.static Class
<?> Deprecated.Go through the list of class loaders and try to load the requested class.Class
<?> ClassLoaderRepository.loadClassBefore
(ClassLoader stop, String className) Load the given class name through the list of class loaders, stopping at the given one.Class
<?> ClassLoaderRepository.loadClassWithout
(ClassLoader exclude, String className) Load the given class name through the list of class loaders, excluding the given one.static Class
<?> DefaultLoaderRepository.loadClassWithout
(ClassLoader loader, String className) Deprecated.Go through the list of class loaders but exclude the given class loader, then try to load the requested class. -
Uses of ClassNotFoundException in javax.management.relation
-
Uses of ClassNotFoundException in javax.swing
Modifier and TypeMethodDescriptionstatic void
UIManager.setLookAndFeel
(String className) Loads theLookAndFeel
specified by the given class name, using the current thread's context class loader, and passes it tosetLookAndFeel(LookAndFeel)
. -
Uses of ClassNotFoundException in javax.swing.text
Modifier and TypeMethodDescriptionvoid
StyleContext.readAttributes
(ObjectInputStream in, MutableAttributeSet a) Context-specific handling of reading in attributesstatic void
StyleContext.readAttributeSet
(ObjectInputStream in, MutableAttributeSet a) Reads a set of attributes from the given object input stream that have been previously written out withwriteAttributeSet
. -
Uses of ClassNotFoundException in jdk.jshell.execution
-
Uses of ClassNotFoundException in org.w3c.dom.bootstrap
Modifier and TypeMethodDescriptionstatic DOMImplementationRegistry
DOMImplementationRegistry.newInstance()
Obtain a new instance of aDOMImplementationRegistry
. -
Uses of ClassNotFoundException in org.xml.sax.helpers
Modifier and TypeMethodDescriptionstatic Parser
ParserFactory.makeParser()
Deprecated.Create a new SAX parser using the `org.xml.sax.parser' system property.static Parser
ParserFactory.makeParser
(String className) Deprecated.Create a new SAX parser object using the class name provided.