[jboss-dev] Compilation error in JBossAS trunk?

Dimitris Andreadis dandread at redhat.com
Wed Feb 20 06:50:29 EST 2008


I don't think the maven build is ready yet?

Try instead:
cd jbossas/build
./build.sh

Trustin Lee wrote:
> Hi,
> 
> I did the following:
> 
> $ svn co https://svn.jboss.org/repos/jbossas/trunk/ jbossas
> $ cd jbossas
> $ mvn clean install
> 
> and got the following compilation error:
> 
> ...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building JBoss Application Server System JMX
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 123 source files
> to /home/trustin/workspace/checkout/jboss/jbossas/system-jmx/target/classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> 
> /home/trustin/workspace/checkout/jboss/jbossas/system-jmx/src/main/org/jboss/system/deployers/ServiceClassLoaderDeployer.java:[53,7] org.jboss.system.deployers.ServiceClassLoaderDeployer is not abstract and does not override abstract method createTopLevelClassLoader(org.jboss.deployers.structure.spi.DeploymentUnit) in org.jboss.deployers.spi.deployer.helpers.AbstractTopLevelClassLoaderDeployer
> 
> /home/trustin/workspace/checkout/jboss/jbossas/system-jmx/src/main/org/jboss/system/deployers/ServiceClassLoaderDeployer.java:[119,16] visit(org.jboss.deployers.structure.spi.DeploymentContextVisitor) in org.jboss.deployers.structure.spi.DeploymentContext cannot be applied to (org.jboss.deployers.vfs.spi.structure.helpers.ClassPathVisitor)
> 
> Actually it's my first time that I try to build JBossAS, so I'd like to
> know if it's my own problem or not.  The following is my environment:
> 
> $ uname -a
> Linux laptop 2.6.23-gentoo-r8 #1 Tue Feb 12 12:04:54 EST 2008 i686
> Intel(R) Pentium(R) M processor 1400MHz GenuineIntel GNU/Linux
> 
> $ java -version
> java version "1.6.0_03"
> Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
> Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode)
> 
> $ mvn --version
> Maven version: 2.0.8
> Java version: 1.6.0_03
> OS name: "linux" version: "2.6.23-gentoo-r8" arch: "i386" Family: "unix"
> 
> Thanks,
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development



More information about the jboss-development mailing list