ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: Ant compilation error (RMI class def not found)
Date Wed, 08 Oct 2008 12:17:37 GMT
defrit wrote:
> Hello, 
> when running my build.xml with ant i get the following error message:
> wtkpreverify] Preverifying C:\workspace\Midlets\test.jar
> [wtkpreverify] Error preverifying class clients.stubs.WebService
> [wtkpreverify]     java/lang/NoClassDefFoundError: java/rmi/Remote
> [wtkpreverify] Error preferifying, log file not found: 
> C:\workspace\Midlets\9dc5a94f.tmp\jarlog.txt
> seems as if he couldnt find the rmi class definition. but shouldnt that one
> be part of a standard package?
> i did include all wtk libraries in the ant classpath and i did activate
> webservices in the build.xml (doesnt have any affect tho):	<property
> name="wtk.j2mews.enabled" value="true" />

It looks like whatever wtkpreverify is, it isn't getting the classpath 
set up right. Try running ant -verbose to see if the classpath gets 
printed out

Steve Loughran        
Author: Ant in Action 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message