cancel
Showing results for 
Search instead for 
Did you mean: 

Enterprise HEAD build error

skolomiets
Champ in-the-making
Champ in-the-making
Hi All,
I have downloaded Alfresco Entrprise from repository (revision: 42001).

I have tried to build  it, but  and returned me error.
After that  I built  4.2 version successfully.

Can you help me resolve this issue?

Thanks

Sergei

Buildfile: C:\workspaces\alfresco\Enterprise\root\build.xml
init:
     [echo] user.home = C:\Users\gekko
     [echo] version.number = 4.2.a
clean-core:
   [delete] Deleting directory C:\workspaces\alfresco\Enterprise\root\projects\core\build\classes
   [delete] Deleting directory C:\workspaces\alfresco\Enterprise\root\projects\core\build\dist
clean-datamodel:
   [delete] Deleting directory C:\workspaces\alfresco\Enterprise\root\projects\data-model\build\classes
   [delete] Deleting directory C:\workspaces\alfresco\Enterprise\root\projects\data-model\build\dist
clean-jlan:
   [delete] Deleting directory C:\workspaces\alfresco\Enterprise\root\projects\alfresco-jlan\build\classes
   [delete] Deleting directory C:\workspaces\alfresco\Enterprise\root\projects\alfresco-jlan\build\dist
clean-mbeans:
   [delete] Deleting directory C:\workspaces\alfresco\Enterprise\root\projects\mbeans\build\classes
   [delete] Deleting directory C:\workspaces\alfresco\Enterprise\root\projects\mbeans\build\dist
clean-deployment:
   [delete] Deleting directory C:\workspaces\alfresco\Enterprise\root\projects\deployment\build\classes
   [delete] Deleting directory C:\workspaces\alfresco\Enterprise\root\projects\deployment\build\dist
clean-repository:
   [delete] Deleting directory C:\workspaces\alfresco\Enterprise\root\projects\repository\build\classes
clean-wdrdeployment:
clean-remoteapi:
clean-jndi:
clean-catalinavirtual:
clean-webframeworkcommons:
clean-webclient:
clean-system-build-test:
clean-webclient-projects:
clean-slingshot:
clean-slingshot-projects:
clean-webeditor-plugin:
clean-webeditor:
clean-webeditor-customersite-sample:
clean-webeditor-projects:
clean-webserviceclient:
clean-solr:
clean-file-transfer-receiver:
clean-projects:
clean-spp:
clean-wcmquickstart:
clean-wcmquickstart-share:
clean-wcmquickstart-clientapi:
clean-wcmquickstart-webapp:
clean-modules:
clean-webclient-tomcat-deploy:
clean-application-tomcat-deploy:
clean-virtual-tomcat-deploy:
clean-tomcat-deployments:
clean:
compile-core:
    [mkdir] Created dir: C:\workspaces\alfresco\Enterprise\root\projects\core\build\classes
    [javac] Compiling 172 source files to C:\workspaces\alfresco\Enterprise\root\projects\core\build\classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
     [copy] Copying 3 files to C:\workspaces\alfresco\Enterprise\root\projects\core\build\classes
package-core:
    [mkdir] Created dir: C:\workspaces\alfresco\Enterprise\root\projects\core\build\dist
      [jar] Building jar: C:\workspaces\alfresco\Enterprise\root\projects\core\build\dist\alfresco-core-4.2.a.jar
incremental-core:
compile-datamodel-java:
    [mkdir] Created dir: C:\workspaces\alfresco\Enterprise\root\projects\data-model\build\classes
    [javac] Compiling 416 source files to C:\workspaces\alfresco\Enterprise\root\projects\data-model\build\classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
     [copy] Copying 13 files to C:\workspaces\alfresco\Enterprise\root\projects\data-model\build\classes
compile-datamodel-jibx:
compile-datamodel:
package-datamodel:
    [mkdir] Created dir: C:\workspaces\alfresco\Enterprise\root\projects\data-model\build\dist
      [jar] Building jar: C:\workspaces\alfresco\Enterprise\root\projects\data-model\build\dist\alfresco-data-model-4.2.a.jar
incremental-datamodel:
compile-jlan:
    [mkdir] Created dir: C:\workspaces\alfresco\Enterprise\root\projects\alfresco-jlan\build\classes
    [javac] Compiling 696 source files to C:\workspaces\alfresco\Enterprise\root\projects\alfresco-jlan\build\classes
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:37: warning: sun.security.krb5.EncryptedData is Sun proprietary API and may be removed in a future release
    [javac] import sun.security.krb5.EncryptedData;
    [javac]                         ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:38: warning: sun.security.krb5.EncryptionKey is Sun proprietary API and may be removed in a future release
    [javac] import sun.security.krb5.EncryptionKey;
    [javac]                         ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:37: warning: sun.security.krb5.EncryptedData is Sun proprietary API and may be removed in a future release
    [javac] import sun.security.krb5.EncryptedData;
    [javac]                         ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:38: warning: sun.security.krb5.EncryptionKey is Sun proprietary API and may be removed in a future release
    [javac] import sun.security.krb5.EncryptionKey;
    [javac]                         ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:102: warning: sun.security.krb5.EncryptionKey is Sun proprietary API and may be removed in a future release
    [javac]               EncryptionKey encKey = new EncryptionKey( krbKey.getEncoded(), krbKey.getKeyType(), new Integer(2));
    [javac]               ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:102: warning: sun.security.krb5.EncryptionKey is Sun proprietary API and may be removed in a future release
    [javac]               EncryptionKey encKey = new EncryptionKey( krbKey.getEncoded(), krbKey.getKeyType(), new Integer(2));
    [javac]                                          ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:110: warning: sun.security.krb5.EncryptedData is Sun proprietary API and may be removed in a future release
    [javac]                  EncryptedData encPart = new EncryptedData( krbTkt.getEncryptedType(), krbTkt.getEncryptedPartKeyVersion() != -1 ? new Integer(krbTkt.getEncryptedPartKeyVersion()) : null,
    [javac]                  ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:110: warning: sun.security.krb5.EncryptedData is Sun proprietary API and may be removed in a future release
    [javac]                  EncryptedData encPart = new EncryptedData( krbTkt.getEncryptedType(), krbTkt.getEncryptedPartKeyVersion() != -1 ? new Integer(krbTkt.getEncryptedPartKeyVersion()) : null,
    [javac]                                              ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:144: warning: sun.security.krb5.EncryptionKey is Sun proprietary API and may be removed in a future release
    [javac]           EncryptionKey encKey = new EncryptionKey( m_encTkt.getEncryptionKeyType(), m_encTkt.getEncryptionKey());
    [javac]           ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:144: warning: sun.security.krb5.EncryptionKey is Sun proprietary API and may be removed in a future release
    [javac]           EncryptionKey encKey = new EncryptionKey( m_encTkt.getEncryptionKeyType(), m_encTkt.getEncryptionKey());
    [javac]                                      ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:152: warning: sun.security.krb5.EncryptedData is Sun proprietary API and may be removed in a future release
    [javac]               EncryptedData encPart = new EncryptedData( apReq.getAuthenticatorEncType(), apReq.getAuthenticatorKeyVersion() != -1 ? new Integer(apReq.getAuthenticatorKeyVersion()) : null,
    [javac]               ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:152: warning: sun.security.krb5.EncryptedData is Sun proprietary API and may be removed in a future release
    [javac]               EncryptedData encPart = new EncryptedData( apReq.getAuthenticatorEncType(), apReq.getAuthenticatorKeyVersion() != -1 ? new Integer(apReq.getAuthenticatorKeyVersion()) : null,
    [javac]                                           ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:227: warning: sun.security.krb5.EncryptionKey is Sun proprietary API and may be removed in a future release
    [javac]       EncryptionKey encKey = new EncryptionKey( m_encTkt.getEncryptionKeyType(), m_encTkt.getEncryptionKey());
    [javac]       ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:227: warning: sun.security.krb5.EncryptionKey is Sun proprietary API and may be removed in a future release
    [javac]       EncryptionKey encKey = new EncryptionKey( m_encTkt.getEncryptionKeyType(), m_encTkt.getEncryptionKey());
    [javac]                                  ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:235: warning: sun.security.krb5.EncryptedData is Sun proprietary API and may be removed in a future release
    [javac]        EncryptedData encPart = new EncryptedData( krbApRep.getEncryptionType(), krbApRep.getKeyVersion() != -1 ? new Integer(krbApRep.getKeyVersion()) : null,
    [javac]        ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:235: warning: sun.security.krb5.EncryptedData is Sun proprietary API and may be removed in a future release
    [javac]        EncryptedData encPart = new EncryptedData( krbApRep.getEncryptionType(), krbApRep.getKeyVersion() != -1 ? new Integer(krbApRep.getKeyVersion()) : null,
    [javac]                                    ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:278: warning: sun.security.krb5.EncryptedData is Sun proprietary API and may be removed in a future release
    [javac]              encPart = new EncryptedData( encKey, decPart, 12);
    [javac]                            ^
    [javac] warning: Implicitly compiled files were not subject to annotation processing.
    [javac] Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
    [javac] Note: C:\workspaces\alfresco\Enterprise\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\debug\JDKLoggingDebug.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 16 warnings
     [copy] Copied 7 empty directories to 7 empty directories under C:\workspaces\alfresco\Enterprise\root\projects\alfresco-jlan\build\classes
package-jlan:
    [mkdir] Created dir: C:\workspaces\alfresco\Enterprise\root\projects\alfresco-jlan\build\dist
      [jar] Building jar: C:\workspaces\alfresco\Enterprise\root\projects\alfresco-jlan\build\dist\alfresco-jlan-embed-4.2.a.jar
incremental-jlan:
compile-mbeans:
    [mkdir] Created dir: C:\workspaces\alfresco\Enterprise\root\projects\mbeans\build\classes
    [javac] Compiling 3 source files to C:\workspaces\alfresco\Enterprise\root\projects\mbeans\build\classes
package-mbeans:
    [mkdir] Created dir: C:\workspaces\alfresco\Enterprise\root\projects\mbeans\build\dist
      [jar] Building jar: C:\workspaces\alfresco\Enterprise\root\projects\mbeans\build\dist\alfresco-mbeans-4.2.a.jar
incremental-mbeans:
compile-deployment:
    [mkdir] Created dir: C:\workspaces\alfresco\Enterprise\root\projects\deployment\build\classes
    [javac] Compiling 58 source files to C:\workspaces\alfresco\Enterprise\root\projects\deployment\build\classes
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\deployment\source\java\org\alfresco\deployment\SurfRefreshRunnable.java:33: warning: sun.net.www.protocol.http.HttpURLConnection is Sun proprietary API and may be removed in a future release
    [javac] import sun.net.www.protocol.http.HttpURLConnection;
    [javac]                                 ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\deployment\source\java\org\alfresco\deployment\SurfRefreshRunnable.java:33: warning: sun.net.www.protocol.http.HttpURLConnection is Sun proprietary API and may be removed in a future release
    [javac] import sun.net.www.protocol.http.HttpURLConnection;
    [javac]                                 ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\deployment\source\java\org\alfresco\deployment\SurfRefreshRunnable.java:132: warning: sun.net.www.protocol.http.HttpURLConnection is Sun proprietary API and may be removed in a future release
    [javac]         HttpURLConnection conn = null;
    [javac]         ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\deployment\source\java\org\alfresco\deployment\SurfRefreshRunnable.java:141: warning: sun.net.www.protocol.http.HttpURLConnection is Sun proprietary API and may be removed in a future release
    [javac]             conn = (HttpURLConnection) url.openConnection();
    [javac]                     ^
    [javac] 3 warnings
    [javac] Creating empty C:\workspaces\alfresco\Enterprise\root\projects\deployment\build\classes\org\alfresco\deployment\impl\fsr\package-info.class
     [copy] Copied 2 empty directories to 2 empty directories under C:\workspaces\alfresco\Enterprise\root\projects\deployment\build\classes
package-deployment-jar:
    [mkdir] Created dir: C:\workspaces\alfresco\Enterprise\root\projects\deployment\build\dist
      [jar] Building jar: C:\workspaces\alfresco\Enterprise\root\projects\deployment\build\dist\alfresco-deployment-4.2.a.jar
compile-repository-java:
    [mkdir] Created dir: C:\workspaces\alfresco\Enterprise\root\projects\repository\build\classes
    [javac] Compiling 3571 source files to C:\workspaces\alfresco\Enterprise\root\projects\repository\build\classes
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\repository\source\java\org\alfresco\repo\content\AbstractContentReader.java:56: warning: sun.nio.ch.ChannelInputStream is Sun proprietary API and may be removed in a future release
    [javac] import sun.nio.ch.ChannelInputStream;
    [javac]                  ^
    [javac] org\subethamail\smtp\server\SMTPServer.class(org\subethamail\smtp\server:SMTPServer.class): warning: Cannot find annotation method 'value()' in type 'javax.annotation.concurrent.GuardedBy': class file for javax.annotation.concurrent.GuardedBy not found
    [javac] de\schlichtherle\truezip\file\TFile.class(de\schlichtherle\truezip\file:TFile.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressWarnings not found
    [javac] de\schlichtherle\truezip\file\TFile.class(de\schlichtherle\truezip\file:TFile.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\file\TFileOutputStream.class(de\schlichtherle\truezip\file:TFileOutputStream.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\file\TFileOutputStream.class(de\schlichtherle\truezip\file:TFileOutputStream.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\file\TFileOutputStream.class(de\schlichtherle\truezip\file:TFileOutputStream.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\file\TFileOutputStream.class(de\schlichtherle\truezip\file:TFileOutputStream.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\file\TFileReader.class(de\schlichtherle\truezip\file:TFileReader.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\file\TFileReader.class(de\schlichtherle\truezip\file:TFileReader.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\file\TFileReader.class(de\schlichtherle\truezip\file:TFileReader.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\file\TFileReader.class(de\schlichtherle\truezip\file:TFileReader.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\file\TFileReader.class(de\schlichtherle\truezip\file:TFileReader.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\file\TFileInputStream.class(de\schlichtherle\truezip\file:TFileInputStream.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\file\TFileInputStream.class(de\schlichtherle\truezip\file:TFileInputStream.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\fs\archive\zip\ZipDriver.class(de\schlichtherle\truezip\fs\archive\zip:ZipDriver.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\repository\source\java\org\alfresco\repo\content\AbstractContentReader.java:56: warning: sun.nio.ch.ChannelInputStream is Sun proprietary API and may be removed in a future release
    [javac] import sun.nio.ch.ChannelInputStream;
    [javac]                  ^
    [javac] org\subethamail\smtp\server\SMTPServer.class(org\subethamail\smtp\server:SMTPServer.class): warning: Cannot find annotation method 'value()' in type 'javax.annotation.concurrent.GuardedBy': class file for javax.annotation.concurrent.GuardedBy not found
    [javac] de\schlichtherle\truezip\file\TFile.class(de\schlichtherle\truezip\file:TFile.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressWarnings not found
    [javac] de\schlichtherle\truezip\file\TFile.class(de\schlichtherle\truezip\file:TFile.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\file\TFileOutputStream.class(de\schlichtherle\truezip\file:TFileOutputStream.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\file\TFileOutputStream.class(de\schlichtherle\truezip\file:TFileOutputStream.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\file\TFileOutputStream.class(de\schlichtherle\truezip\file:TFileOutputStream.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\file\TFileOutputStream.class(de\schlichtherle\truezip\file:TFileOutputStream.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\file\TFileReader.class(de\schlichtherle\truezip\file:TFileReader.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\file\TFileReader.class(de\schlichtherle\truezip\file:TFileReader.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\file\TFileReader.class(de\schlichtherle\truezip\file:TFileReader.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\file\TFileReader.class(de\schlichtherle\truezip\file:TFileReader.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\file\TFileReader.class(de\schlichtherle\truezip\file:TFileReader.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\file\TFileInputStream.class(de\schlichtherle\truezip\file:TFileInputStream.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\file\TFileInputStream.class(de\schlichtherle\truezip\file:TFileInputStream.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\fs\archive\zip\ZipDriver.class(de\schlichtherle\truezip\fs\archive\zip:ZipDriver.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\repository\source\java\org\alfresco\repo\content\metadata\MailMetadataExtracter.java:62: warning: non-varargs call of varargs method with inexact argument type for last parameter;
    [javac] cast to org.apache.tika.parser.Parser for a varargs call
    [javac] cast to org.apache.tika.parser.Parser[] for a non-varargs call and to suppress this warning
    [javac]           null
    [javac]           ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\repository\source\java\org\alfresco\repo\domain\schema\SchemaBootstrap.java:2383: cannot find symbol
    [javac] symbol  : method setSchema(java.lang.String)
    [javac] location: interface java.sql.Connection
    [javac]             wrapped.setSchema(schema);
    [javac]                    ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\repository\source\java\org\alfresco\repo\domain\schema\SchemaBootstrap.java:2380: method does not override or implement a method from a supertype
    [javac]         @Override
    [javac]         ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\repository\source\java\org\alfresco\repo\domain\schema\SchemaBootstrap.java:2389: cannot find symbol
    [javac] symbol  : method getSchema()
    [javac] location: interface java.sql.Connection
    [javac]             return wrapped.getSchema();
    [javac]                           ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\repository\source\java\org\alfresco\repo\domain\schema\SchemaBootstrap.java:2386: method does not override or implement a method from a supertype
    [javac]         @Override
    [javac]         ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\repository\source\java\org\alfresco\repo\domain\schema\SchemaBootstrap.java:2395: cannot find symbol
    [javac] symbol  : method abort(java.util.concurrent.Executor)
    [javac] location: interface java.sql.Connection
    [javac]             wrapped.abort(executor);
    [javac]                    ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\repository\source\java\org\alfresco\repo\domain\schema\SchemaBootstrap.java:2392: method does not override or implement a method from a supertype
    [javac]         @Override
    [javac]         ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\repository\source\java\org\alfresco\repo\domain\schema\SchemaBootstrap.java:2401: cannot find symbol
    [javac] symbol  : method setNetworkTimeout(java.util.concurrent.Executor,int)
    [javac] location: interface java.sql.Connection
    [javac]             wrapped.setNetworkTimeout(executor, milliseconds);
    [javac]                    ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\repository\source\java\org\alfresco\repo\domain\schema\SchemaBootstrap.java:2398: method does not override or implement a method from a supertype
    [javac]         @Override
    [javac]         ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\repository\source\java\org\alfresco\repo\domain\schema\SchemaBootstrap.java:2407: cannot find symbol
    [javac] symbol  : method getNetworkTimeout()
    [javac] location: interface java.sql.Connection
    [javac]             return wrapped.getNetworkTimeout();
    [javac]                           ^
    [javac] C:\workspaces\alfresco\Enterprise\root\projects\repository\source\java\org\alfresco\repo\domain\schema\SchemaBootstrap.java:2404: method does not override or implement a method from a supertype
    [javac]         @Override
    [javac]         ^
    [javac] de\schlichtherle\truezip\fs\FsMountPoint.class(de\schlichtherle\truezip\fs:FsMountPoint.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\fs\FsMountPoint.class(de\schlichtherle\truezip\fs:FsMountPoint.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] de\schlichtherle\truezip\fs\FsPath.class(de\schlichtherle\truezip\fs:FsPath.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 10 errors
    [javac] 20 warnings

BUILD FAILED
C:\workspaces\alfresco\Enterprise\root\projects.xml:317: The following error occurred while executing this line:
C:\workspaces\alfresco\Enterprise\root\macros.xml:68: The following error occurred while executing this line:
C:\workspaces\alfresco\Enterprise\root\macros.xml:41: Compile failed; see the compiler error output for details.

Total time: 3 minutes 40 seconds
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
What version of java are you building against.   And what are you  building.

You could have been caught in the work to upgrade to java 7.

skolomiets
Champ in-the-making
Champ in-the-making
Usage of Java 7 resolved issue.

Thanks