NoClassDefFoundError from sun.misc.Unsafe.ensureClassInitialized

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Staz

    NoClassDefFoundError from sun.misc.Unsafe.ensureClassInitialized

    Hi all

    I am getting a NoClassDefFound Error from
    sun.misc.Unsafe .ensureClassIni tialized, 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
  • Ryan Stewart

    #2
    Re: NoClassDefFound Error from sun.misc.Unsafe .ensureClassIni tialized

    "Staz" <staz69uk-google@yahoo.co m> wrote in message
    news:bafb1626.0 403190353.62ad4 8c@posting.goog le.com...[color=blue]
    > Hi all
    >
    > I am getting a NoClassDefFound Error from
    > sun.misc.Unsafe .ensureClassIni tialized, 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[/color]

    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.


    Comment

    Working...