Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object (ant/to

Discussion in 'Java' started by courtney.machi@gmail.com, Dec 8, 2006.

  1. Guest

    Hi,

    I've been trying to get Spring working with ant and tomcat. Ant was
    building just fine, but I came in today and tried to build it and got
    this:

    Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/Object

    ?!?! Makes no sense to me. There _is_ an older version of java
    installed on my machine; but JAVA_HOME and ANT_HOME are set to the
    correct paths, and <which java>and <java -version> produce the correct
    version.

    Any help would greatly alleviate my frustration! Thanks in advance...

    Courtney
    , Dec 8, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page