JbossESB-4.10 build fail
jmarquesb Mar 8, 2012 6:38 AMHi all,
I´m new doing build of this project and I need some help. I´ve downloaded the source (jbossesb-4.10-src.zip) and I get the following error doing 'ant dist':
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[java] org.jboss.esb.rosetta.internal.compile:
[java] [javac] Compiling 819 source files to /jboss/jbossesb-4.10-src/product/build/classes/rosetta
[java] [javac] /jboss/jbossesb-4.10-src/product/rosetta/src/org/jboss/soa/esb/actions/routing/http/AbstractHttpMethodFactory.java:102: cannot find symbol
[java] [javac] symbol : method getParams()
[java] [javac] location: interface org.apache.commons.httpclient.HttpMethod
[java] [javac] HttpMethodParams params = method.getParams();
[java] [javac] ^
[java] [javac] /jboss/jbossesb-4.10-src/product/rosetta/src/org/jboss/soa/esb/actions/routing/http/HttpRouter.java:218: getResponseContentLength() has protected access in org.apache.commons.httpclient.HttpMethodBase
[java] [javac] response.setLength(method.getResponseContentLength());
[java] [javac] ^
[java] [javac] /jboss/jbossesb-4.10-src/product/rosetta/src/org/jboss/soa/esb/actions/routing/http/HttpRouter.java:218: setLength(java.lang.Long) in org.jboss.soa.esb.http.HttpResponse cannot be applied to (int)
[java] [javac] response.setLength(method.getResponseContentLength());
[java] [javac] ^
[java] [javac] /jboss/jbossesb-4.10-src/product/rosetta/src/org/jboss/soa/esb/actions/routing/http/POSTHttpMethodFactory.java:86: cannot find symbol
[java] [javac] symbol : method setRequestEntity(org.apache.commons.httpclient.methods.RequestEntity)
[java] [javac] location: class org.apache.commons.httpclient.methods.PostMethod
[java] [javac] method.setRequestEntity(entity);
[java] [javac] ^
[java] [javac] /jboss/jbossesb-4.10-src/product/rosetta/src/org/jboss/soa/esb/actions/routing/http/POSTHttpMethodFactory.java:104: cannot find symbol
[java] [javac] symbol : method setRequestEntity(org.apache.commons.httpclient.methods.RequestEntity)
[java] [javac] location: class org.apache.commons.httpclient.methods.PostMethod
[java] [javac] method.setRequestEntity(entity);
[java] [javac] ^
[java] [javac] /jboss/jbossesb-4.10-src/product/rosetta/src/org/jboss/soa/esb/http/ESBMultiThreadedHttpConnectionManager.java:74: cannot find symbol
[java] [javac] symbol : method getConnectionWithTimeout(org.apache.commons.httpclient.HostConfiguration,long)
[java] [javac] location: class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
[java] [javac] return super.getConnectionWithTimeout(getHostConfiguration(hostConfiguration), timeout) ;
[java] [javac] ^
[java] [javac] /jboss/jbossesb-4.10-src/product/rosetta/src/org/jboss/soa/esb/http/ESBMultiThreadedHttpConnectionManager.java:70: method does not override or implement a method from a supertype
[java] [javac] @Override
[java] [javac] ^
[java] [javac] /jboss/jbossesb-4.10-src/product/rosetta/src/org/jboss/soa/esb/http/ESBMultiThreadedHttpConnectionManager.java:80: cannot find symbol
[java] [javac] symbol : method getConnectionsInPool(org.apache.commons.httpclient.HostConfiguration)
[java] [javac] location: class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
[java] [javac] return super.getConnectionsInPool(getHostConfiguration(hostConfiguration));
[java] [javac] ^
[java] [javac] /jboss/jbossesb-4.10-src/product/rosetta/src/org/jboss/soa/esb/http/ESBMultiThreadedHttpConnectionManager.java:77: method does not override or implement a method from a supertype
[java] [javac] @Override
[java] [javac] ^
[java] [javac] /jboss/jbossesb-4.10-src/product/rosetta/src/org/jboss/soa/esb/http/configurators/AuthBASIC.java:82: cannot find symbol
[java] [javac] symbol : method setCredentials(org.apache.commons.httpclient.auth.AuthScope,org.apache.commons.httpclient.Credentials)
[java] [javac] location: class org.apache.commons.httpclient.HttpState
[java] [javac] httpClient.getState().setCredentials(authScope, creds);
[java] [javac] ^
[java] [javac] /jboss/jbossesb-4.10-src/product/rosetta/src/org/jboss/soa/esb/http/configurators/AuthNTLM.java:90: cannot find symbol
[java] [javac] symbol : method setCredentials(org.apache.commons.httpclient.auth.AuthScope,org.apache.commons.httpclient.Credentials)
[java] [javac] location: class org.apache.commons.httpclient.HttpState
[java] [javac] httpClient.getState().setCredentials(authScope, creds);
[java] [javac] ^
[java] [javac] /jboss/jbossesb-4.10-src/product/rosetta/src/org/jboss/soa/esb/http/configurators/Connection.java:70: cannot find symbol
[java] [javac] symbol : method setParams(org.jboss.soa.esb.http.configurators.Connection.ESBHttpConnectionManagerParams)
[java] [javac] location: interface org.apache.commons.httpclient.HttpConnectionManager
[java] [javac] connectionManager.setParams(new ESBHttpConnectionManagerParams(maxTotalConnections, maxConnectionsPerHost)) ;
[java] [javac] ^
[java] [javac] /jboss/jbossesb-4.10-src/product/rosetta/src/org/jboss/soa/esb/http/configurators/HttpProtocol.java:128: cannot find symbol
[java] [javac] symbol : method setProxyHost(org.apache.commons.httpclient.ProxyHost)
[java] [javac] location: class org.apache.commons.httpclient.HostConfiguration
[java] [javac] httpClient.getHostConfiguration().setProxyHost(proxyHost);
[java] [javac] ^
[java] [javac] /jboss/jbossesb-4.10-src/product/rosetta/src/org/jboss/soa/esb/http/configurators/HttpProtocol.java:142: cannot find symbol
[java] [javac] symbol : method setProxyHost(org.apache.commons.httpclient.ProxyHost)
[java] [javac] location: class org.apache.commons.httpclient.HostConfiguration
[java] [javac] httpClient.getHostConfiguration().setProxyHost(proxyHost);
[java] [javac] ^
[java]
[java] BUILD FAILED
[java] /jboss/jbossesb-4.10-src/product/build.xml:248: The following error occurred while executing this line:
[java] /jboss/jbossesb-4.10-src/product/rosetta/build.xml:151: Compile failed; see the compiler error output for details.
The environment is Oracle Linux 6 x86_64 with jdk 1.6.0_31, any idea?
Regards,