Re: Install Error


For what it is worth, I downloaded a newer version of ant from apache. I spent about 3 hours trying to get ant to work without giving me a

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher

error.  Finally, I tried doing the following command:

java -jar <path_to_new_apache_and>/lib/ant-launcher.jar idvjar

And it worked!!!

Sorry for the wasted bandwidth, but thanks for the help!

-kevin.


Tom Whittaker wrote:
Given the location (end of line) of the error, is it possible that Kevin is building on a Linux/Unix system and that this file has a DOS-like ending?

tom

Kevin Manross wrote:


Although the error shows:


[javac] /mnt/home/kmanross/VisAD/idv/metapps/ucar/unidata/idv/ViewManager.java:5: error: unrecognized character in input stream.
    [javac]     * Atmospheric Research, P.O. Box 3000, Boulder, CO 80307,
[javac] ^

my first several lines from ViewManager.java are:

/*
 * $Id: ViewManager.java,v 1.167 2004/08/10 13:47:05 jeffmc Exp $
 *
* Copyright © 1997-2004 Unidata Program Center/University Corporation for
 * Atmospheric Research, P.O. Box 3000, Boulder, CO 80307,
 * support@xxxxxxxxxxxxxxxx.
 *
* This library is free software; you can redistribute it and/or modify it

So I am still unsure of what my issue is.

-kevin.



Jeff McWhirter wrote:

Kevin Manross wrote:


Hello,

I had to recompile my idv and came across the same errors that I reported back in May. Specifically, many lines similar to the following:

[javac] * Copyright 1997-2004 Unidata Program Center/University Corporation for




Hi Kevin,
It looks like somehow the source code in that file got corrupted. From the src jar on the ftp site we have:

harpo.unidata.ucar.edu: more ViewDescriptor.java
/*
* $Id: ViewDescriptor.java,v 1.10 2004/03/01 18:27:43 dmurray Exp $
*
* Copyright © 1997-2004 Unidata Program Center/University Corporation for

Why don't you try and download it and build again?

-Jeff









--
+------------------------------------------------------------+
Kevin L. Manross        [KD5MYD] <><          (405)-366-0557
CIMMS Research Associate               kevin.manross@xxxxxxxx
[NSSL-WRDD/SWATN]           http://www.cimms.ou.edu/~kmanross

"My opinions are my own and not representative of CIMMS, NSSL,
 NOAA or any affiliates"
+------------------------------------------------------------+



  • 2004 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the idvdevelopers archives: