1 Reply Latest reply on Jan 24, 2002 8:18 AM by Adrian Brock

    JBoss 3.0 Build <2002/01/24> fails

    Nick Newbie

      Hi Everyone,
      I just pulled down the latest jboss-all from CVS.
      Build failed when it tried to compile with following error:

      compile-classes:
      [javac]Compiling 166 source files to F:\MyWork\CVS\jboss\jboss-all\server\output\classes
      F:\MyWork\CVS\jboss\jboss-all\server\output\mejb\beans\javax\management\j2ee\ManagementHome.java:38: javax.management.j2ee.ManagementHome is already defined in this compilation unit
      import javax.management.j2ee.ManagementHome;
      ^
      F:\MyWork\CVS\jboss\jboss-all\server\src\main\org\jboss\management\j2ee\ConnectorModule.java:59: getResourceAdapter(int) in org.jboss.management.j2ee.ConnectorModule cannot implement getResourceAdapter(int) in javax.management.j2ee.ConnectorModule; attempting to use incompatible return type
      found : javax.management.ObjectName
      required: javax.management.j2ee.ResourceAdapter
      public class ConnectorModule
      ^
      F:\MyWork\CVS\jboss\jboss-all\server\src\main\org\jboss\management\j2ee\J2EEServer.java:63: org.jboss.management.j2ee.J2EEServer should be declared abstract; it does not define getApplication(int) in org.jboss.management.j2ee.J2EEServer
      public class J2EEServer
      ^
      F:\MyWork\CVS\jboss\jboss-all\server\src\main\org\jboss\management\j2ee\Node.java:65: getIpAddresses() in org.jboss.management.j2ee.Node cannot implement getIpAddresses() in javax.management.j2ee.Node; attempting to use incompatible return type
      found : java.lang.String[]
      required: javax.management.ObjectName[]
      public class Node
      ^
      F:\MyWork\CVS\jboss\jboss-all\server\src\main\org\jboss\management\j2ee\WebModule.java:73: getServlets() in org.jboss.management.j2ee.WebModule cannot implement getServlets() in javax.management.j2ee.WebModule; attempting to use incompatible return type
      found : javax.management.ObjectName[]
      required: javax.management.j2ee.Servlet[]
      public class WebModule
      ^
      F:\MyWork\CVS\jboss\jboss-all\server\src\main\org\jboss\management\j2ee\JDBC.java:77: org.jboss.management.j2ee.JDBC should be declared abstract; it does not define getJDBCConnection(int) in org.jboss.management.j2ee.JDBC
      public class JDBC
      ^
      F:\MyWork\CVS\jboss\jboss-all\server\src\main\org\jboss\management\mejb\ListenerRegistration.java:75: org.jboss.management.mejb.ListenerRegistration should be declared abstract; it does not define removeNotificationListener(javax.management.ObjectName,javax.management.NotificationListener,javax.management.NotificationFilter,java.lang.Object) in org.jboss.management.mejb.ListenerRegistration
      public class ListenerRegistration
      ^
      7 errors

      BUILD FAILED