473,399 Members | 3,656 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

NoClassDefFoundError from sun.misc.Unsafe.ensureClassInitialized

Hi all

I am getting a NoClassDefFoundError from
sun.misc.Unsafe.ensureClassInitialized, but the exception has no
message so I have no way of knowing what class it cannot find.

The application is a servlet that has just been loaded onto a new
server, and is (I believe) trying to read in a serialised report
definition built by Jasper reports.

I have checked my jar files which all appear to be in place, but
without knowing which class it cannot find I am a little stuck.

Does anyone have any suggestions ?

Cheers
Staz
Jul 17 '05 #1
1 3640
"Staz" <st*************@yahoo.com> wrote in message
news:ba*************************@posting.google.co m...
Hi all

I am getting a NoClassDefFoundError from
sun.misc.Unsafe.ensureClassInitialized, but the exception has no
message so I have no way of knowing what class it cannot find.

The application is a servlet that has just been loaded onto a new
server, and is (I believe) trying to read in a serialised report
definition built by Jasper reports.

I have checked my jar files which all appear to be in place, but
without knowing which class it cannot find I am a little stuck.

Does anyone have any suggestions ?

Cheers
Staz


Yes. Post a stacktrace, and post it to comp.lang.java.help or
comp.lang.java.programmer. The former is for basic queries, the latter for
more advanced. This group is not carried by all news servers.
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
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...
1
by: Andy Howells | last post by:
Can anybody help me on this? I am getting the below error but have not got a clue why. The file in my classpath eing used has the class that it says is not defined. Any ideas? I am running java...
0
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...
3
by: NathanK | last post by:
Hi Guys, im starting out in java and i'm getting the error: Exception in thread "main" java.lang.NoClassDefFoundError: blurf if i run "javac blurf.java", it compiles fine and without any...
2
by: Janwillem Borleffs | last post by:
Hello, I have implemented some of the libraries from the Axis 1.1 package and getting a NoClassDefFoundError exception when running it under Tomcat 4.1.24 (the compilation was performed with...
1
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...
3
by: NamelessNumberheadMan | last post by:
I'm using MyEclipse to make a quick one or two use jar utility file to connect to a database and run some updates. I can get everything to compile fine, and create the jar without an issue, but when...
1
Nepomuk
by: Nepomuk | last post by:
Hi! I'm working on a project using tomcat and spring. Now I have written a Bean class, which reads an XML-File via Springs XmlBeanFactory, creates a Vector from the collected Information and then...
4
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
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...
0
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...
0
agi2029
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,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.