3 Replies Latest reply on Dec 29, 2001 8:15 PM by IPOz

    Error whil compiling  jboss source

    Sundaram Ramasamy Newbie

      Hi,

      I try to compile the jbsss-2.4.1. Its giving the follwoing error.

      "Main.java": Warning #: 368 : method getMinutes() in class java.util.Date has been deprecated at line 239, column 79
      "Main.java": Warning #: 368 : method getSeconds() in class java.util.Date has been deprecated at line 239, column 108
      "ViewerLogging.java": Warning #: 368 : method resize(int, int) in class java.awt.Component has been deprecated at line 71, column 13
      "EnterpriseContext.java": Warning #: 368 : class java.security.Identity in package java.security has been deprecated at line 10, column 22
      "EnterpriseContext.java": Warning #: 368 : class java.security.Identity in package java.security has been deprecated at line 215, column 14
      "EnterpriseContext.java": Warning #: 368 : class java.security.Identity in package java.security has been deprecated at line 341, column 37
      "FileURLPatch.java": Warning #: 368 : method setURL(java.net.URL, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String) in class java.net.URLStreamHandler has been deprecated at line 72, column 4
      "Executor.java": Warning #: 368 : method readLine() in class java.io.DataInputStream has been deprecated at line 54, column 25
      Warning #: 909 : source D:\jboss\jboss\src\org\jboss\deployment\scope\J2eeGlobalScopeDeployer.java does not define any classes or interfaces
      "J2eeGlobalScopeDeployer.java": Error #: 901 : package . stated in source d:\jboss\jboss\src\org\jboss\deployment\scope\J2eeGlobalScopeDeployer.java does not match directory org.jboss.deployment.scope
      Warning #: 369 : There have been deprecation warnings. Please consult the documentation for a better alternative

      I look into J2eeGlobalScopeDeployer.java file is empty.