Build Failed - Rmic failed
dantx Sep 23, 2002 10:53 PMHi all,
I'm trying to get started as a JBoss developer and having problems with the initial build. Specifially, I'm bombing out during the Rmi Compile of the IIOP module with these errors:
compile-rmi:
[rmic] RMI Compiling 1 class to D:\Java\jboss\jboss-all\iiop\output\classes
[rmic] IIOP has been turned on.
[rmic] error: Could not load class javax.ejb.EJBMetaData.
[rmic] error: Class EJBHome contains an invalid return type.
[rmic] error: Class EJBObject contains an invalid return type.
[rmic] 3 errors
Any ideas of where to start looking for a resolution for this problem? I've searched the forums and haven't seen this topic, but feel free to point me in the right direction if this has been covered before.
Here's the environment info:
_buildmagic:init:show-environment:
[echo]
[echo] project.root: D:\Java\jboss\jboss-all
[echo] module.root: D:\Java\jboss\jboss-all\iiop
[echo] user.home: C:\Documents and Settings\dan_home
[echo] build.compiler: jikes
[echo] java.home: d:\java\jdk1.3\jre
[echo] java.class.path: d:\java\jdk1.3\lib\tools.jar;D:\Java\jboss\jboss-al
l\tools\bin\\..\lib\xml-apis.jar;D:\Java\jboss\jboss-all\tools\bin\\..\lib\xerce
sImpl.jar;D:\Java\jboss\jboss-all\tools\bin\\..\lib\xalan.jar;D:\Java\jboss\jbos
s-all\tools\bin\\..\lib\saxon.jar;D:\Java\jboss\jboss-all\tools\bin\\..\lib\remo
te-mbeanserver.jar;D:\Java\jboss\jboss-all\tools\bin\\..\lib\pretty.jar;D:\Java\
jboss\jboss-all\tools\bin\\..\lib\optional.jar;D:\Java\jboss\jboss-all\tools\bin
\\..\lib\junit.jar;D:\Java\jboss\jboss-all\tools\bin\\..\lib\JavaStyle.jar;D:\Ja
va\jboss\jboss-all\tools\bin\\..\lib\crimson.jar;D:\Java\jboss\jboss-all\tools\b
in\\..\lib\buildmagic-tasks.jar;D:\Java\jboss\jboss-all\tools\bin\\..\lib\bsf.ja
r;D:\Java\jboss\jboss-all\tools\bin\\..\lib\ant.jar;
[echo] java.version: 1.3.0
[echo] java.vendor: Sun Microsystems Inc.
[echo] java.vm.version: 1.3.0-C
[echo] java.vm.name: Java HotSpot(TM) Client VM
[echo] java.vm.info: mixed mode
[echo] os.name: Windows 2000
[echo] os.arch: x86
[echo] os.version: 5.0
init:
compile-classes:
compile-rmi:
[rmic] RMI Compiling 1 class to D:\Java\jboss\jboss-all\iiop\output\classes
[rmic] IIOP has been turned on.
[rmic] error: Could not load class javax.ejb.EJBMetaData.
[rmic] error: Class EJBHome contains an invalid return type.
[rmic] error: Class EJBObject contains an invalid return type.
[rmic] 3 errors
BUILD FAILED
file:D:/Java/jboss/jboss-all/iiop/build.xml:202: Rmic failed; see the compiler error output for details.
Thanks for any help with this,
Dan