Hi,
While running .jar file I get the following error. Please helpme to sort it out.
ption in thread "main" java.lang.NoCla ssDefFoundError : while resolving class: Cutter
at java.lang.VMCla ssLoader.resolv eClass(java.lan g.Class) (/usr/lib/libgcj.so.5.0.0 )
at java.lang.Class .initializeClas s() (/usr/lib/libgcj.so.5.0.0 )
at java.lang.Class .forName(java.l ang.String, boolean, java.lang.Class Loader) (/usr/lib/libgcj.so.5.0.0 )
at java.lang.Class .forName(java.l ang.String) (/usr/lib/libgcj.so.5.0.0 )
at gnu.gcj.runtime .FirstThread.ru n() (/usr/lib/libgcj.so.5.0.0 )
at _Jv_ThreadRun(j ava.lang.Thread ) (/usr/lib/libgcj.so.5.0.0 )
at _Jv_RunMain(jav a.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0 )
at __gcj_personali ty_v0 (/usr/cutter/java.version=1. 4.2)
at __libc_start_ma in (/lib/tls/libc-2.3.4.so)
at _Jv_RegisterCla sses (/usr/cutter/java.version=1. 4.2)
Caused by: java.lang.Class NotFoundExcepti on: javax.swing.pla f.metal.Default MetalTheme not found in [file:./, file:cutter.jar , file:/usr/share/java/libgcj-3.4.6.jar, file:./, core:/]
at java.net.URLCla ssLoader.findCl ass(java.lang.S tring) (/usr/lib/libgcj.so.5.0.0 )
at gnu.gcj.runtime .VMClassLoader. findClass(java. lang.String) (/usr/lib/libgcj.so.5.0.0 )
at java.lang.Class Loader.loadClas s(java.lang.Str ing, boolean) (/usr/lib/libgcj.so.5.0.0 )
at _Jv_FindClass(_ Jv_Utf8Const, java.lang.Class Loader) (/usr/lib/libgcj.so.5.0.0 )
at java.lang.Class .forName(java.l ang.String, boolean, java.lang.Class Loader) (/usr/lib/libgcj.so.5.0.0 )
at _Jv_BytecodeVer ifier.verify_in structions_0() (/usr/lib/libgcj.so.5.0.0 )
at _Jv_VerifyMetho d(_Jv_InterpMet hod) (/usr/lib/libgcj.so.5.0.0 )
at _Jv_PrepareClas s(java.lang.Cla ss) (/usr/lib/libgcj.so.5.0.0 )
at _Jv_WaitForStat e(java.lang.Cla ss, int) (/usr/lib/libgcj.so.5.0.0 )
at java.lang.VMCla ssLoader.linkCl ass0(java.lang. Class) (/usr/lib/libgcj.so.5.0.0 )
at java.lang.VMCla ssLoader.resolv eClass(java.lan g.Class) (/usr/lib/libgcj.so.5.0.0 )
...9 more
Regards,
jayant
3 2006 Motoma 3,237
Recognized Expert Specialist
I have moved this thread to the Java forum with the hopes that the experts there will have the knowledge to help you with your problem.
Hi,
While running .jar file I get the following error. Please helpme to sort it out.
ption in thread "main" java.lang.NoCla ssDefFoundError : while resolving class: Cutter
at java.lang.VMCla ssLoader.resolv eClass(java.lan g.Class) (/usr/lib/libgcj.so.5.0.0 )
at java.lang.Class .initializeClas s() (/usr/lib/libgcj.so.5.0.0 )
at java.lang.Class .forName(java.l ang.String, boolean, java.lang.Class Loader) (/usr/lib/libgcj.so.5.0.0 )
at java.lang.Class .forName(java.l ang.String) (/usr/lib/libgcj.so.5.0.0 )
at gnu.gcj.runtime .FirstThread.ru n() (/usr/lib/libgcj.so.5.0.0 )
at _Jv_ThreadRun(j ava.lang.Thread ) (/usr/lib/libgcj.so.5.0.0 )
at _Jv_RunMain(jav a.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0 )
at __gcj_personali ty_v0 (/usr/cutter/java.version=1. 4.2)
at __libc_start_ma in (/lib/tls/libc-2.3.4.so)
at _Jv_RegisterCla sses (/usr/cutter/java.version=1. 4.2)
Caused by: java.lang.Class NotFoundExcepti on: javax.swing.pla f.metal.Default MetalTheme not found in [file:./, file:cutter.jar , file:/usr/share/java/libgcj-3.4.6.jar, file:./, core:/]
at java.net.URLCla ssLoader.findCl ass(java.lang.S tring) (/usr/lib/libgcj.so.5.0.0 )
at gnu.gcj.runtime .VMClassLoader. findClass(java. lang.String) (/usr/lib/libgcj.so.5.0.0 )
at java.lang.Class Loader.loadClas s(java.lang.Str ing, boolean) (/usr/lib/libgcj.so.5.0.0 )
at _Jv_FindClass(_ Jv_Utf8Const, java.lang.Class Loader) (/usr/lib/libgcj.so.5.0.0 )
at java.lang.Class .forName(java.l ang.String, boolean, java.lang.Class Loader) (/usr/lib/libgcj.so.5.0.0 )
at _Jv_BytecodeVer ifier.verify_in structions_0() (/usr/lib/libgcj.so.5.0.0 )
at _Jv_VerifyMetho d(_Jv_InterpMet hod) (/usr/lib/libgcj.so.5.0.0 )
at _Jv_PrepareClas s(java.lang.Cla ss) (/usr/lib/libgcj.so.5.0.0 )
at _Jv_WaitForStat e(java.lang.Cla ss, int) (/usr/lib/libgcj.so.5.0.0 )
at java.lang.VMCla ssLoader.linkCl ass0(java.lang. Class) (/usr/lib/libgcj.so.5.0.0 )
at java.lang.VMCla ssLoader.resolv eClass(java.lan g.Class) (/usr/lib/libgcj.so.5.0.0 )
...9 more
Regards,
jayant
Exactly like was reported there. The class Cutter was not found. Either you don't have that class or it's not there in the classpath.
JosAH 11,448
Recognized Expert MVP
Hi,
While running .jar file I get the following error. Please helpme to sort it out.
ption in thread "main" java.lang.NoCla ssDefFoundError : while resolving class: Cutter
Is there a class 'Cutter' either in your .jar file or anywhere else on your classpath? Is your Manifest file correct?
kind regards,
Jos
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Lem |
last post by:
I get the error
Exception in thread "main" java.lang.NoClassDefFoundError
when I type java app2 in the command prompt. I've tried moving to the jre
directory and typed java c:\app2\app2, but it gives me the same exception.
What could be the problem?
Thanks in advance,
Lem
|
by: Shawn |
last post by:
I am getting the following error with a Java Applet being served out
by IIS over HTTPS/SSL using a Verisign certificate:
java.lang.NoClassDefFoundError: javax/help/HelpSetException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1590)
at java.lang.Class.getConstructor0(Class.java:1762)
at java.lang.Class.newInstance0(Class.java:276)
at...
|
by: Stefano Bianchi |
last post by:
Ciao,
I need to start a java form compiler from linux.
The script that comes with the program simply says (after some
checks):
java -classpath Packager.jar:Filler.jar -jar EPT.jar
However, if I run it, I get:
|
by: ptaz |
last post by:
Hi I'm trying to run a web page but I get the following error. Ca
anyone please tell me a solution to this.
Thanks
Ptaz
HTTP Status 500 -
type Exception report
|
by: Ash |
last post by:
Hey. Im new to Java, and am having a prroblem with the netbeans IDE.
every time i try to import java.awt.* , I can't use any of the
methods(like they don't exist). I can compile it fine, but when I try to
run it, I get "exception in class main".
Can anyone help me, please?
| |
by: greg.knaddison |
last post by:
Hi,
I'm trying to use the httpclient within Jython (see
http://jakarta.apache.org/commons/httpclient/ for more information on
the httpclient).
My Jython version is:
Jython 2.1 on java1.4.2_04 (JIT: null)
My Java version is:
|
by: sandhu236 |
last post by:
hi all,
I am facing problem while trying run the java .exe through the batch file created on linux platform ,I have set the class path in the bash also ...but still it is giving no class found exception(java.lang.NoClassDefFoundError "
Iam geeting the following error
Exception in thread "main" java.lang.NoClassDefFoundError:
Scheduler_GUI.Scheduler
at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
at...
|
by: HiteshMehra |
last post by:
Hi all,
I am getting an error while trying to connect to the MQ.
The error is
java.lang.NoClassDefFoundError: com/ibm/mq/server/MQSESSION
at com.ibm.mq.MQSESSIONServer.getMQSESSION(MQSESSIONServer.java:68)
at com.ibm.mq.MQSESSION.getSession(MQSESSION.java:493)
at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:155)
at...
|
by: Ananthu |
last post by:
Hi
I have done all the codings part for connecting mysql server with java application but when i try to compile,the compilation is successful and during execution i get the following message,
Exception in thread "main" java.lang.NoClassDefFoundError: MysqlConnect
Coding Part:
import java.sql.*;
import java.lang.*;
|
by: jmitch89 |
last post by:
I don't why I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError
The statement below works just fine:
java -cp "appframework-1.0.3.jar;swing-worker-1.1.jar";CurrentStrobe.jar com.visionpro.currentstrobe.CurrentStrobeApp
However, the statement below produces the error:
java -cp "appframework-1.0.3.jar;swing-worker-1.1.jar" -jar CurrentStrobe.jar
Exception in thread "main"...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |