ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
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
> BUILD FAILED
> 
> 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                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

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


Mime
View raw message