ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: rmic in jdk 1.5.0 and ant fails
Date Thu, 07 Oct 2004 10:52:45 GMT
On Thu, 07 Oct 2004, Sune Kristensen <shk@visanti.com> wrote:

>     [rmic] java.lang.NoClassDefFoundError:
>     com/sun/corba/se/internal/util/Utility
>     [rmic]     at
>     sun.rmi.rmic.RMIGenerator.sourceFileForClass(RMIGenerator.java:186)
>     [rmic]     at sun.rmi.rmic.RMIGenerator.<init>(RMIGenerator.java:267)
>     [rmic]     at sun.rmi.rmic.RMIGenerator.generate(RMIGenerator.java:105)
>     [rmic]     at sun.rmi.rmic.Main.doCompile(Main.java:529)
>     [rmic]     at sun.rmi.rmic.Main.compile(Main.java:133)
>
...
> I found out that the class com/sun/corba/se/internal/util/Utility
> has been moved in Jdk 1.5.0 to com/sun/corba/se/impl/util/Utility

Hmm, then either sun.rmi.rmic.RMIGenerator doesn't know it (unlikely)
or you are running sun.rmi.rmic.Main from an older JDK.

Is there jar on your CLASSPATH which contains a class like this?
Candidates are a tools.jar in ANT_HOME/lib and similar strange things.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message