AnsweredAssumed Answered

Build Failed cannot find symbol getPort()

Question asked by navdeep123 on Apr 6, 2009
Latest reply on Jun 30, 2010 by sebp
Hi All,

I am new to Alfresco and setting up alfresco using eclipse. Followed http://wiki.alfresco.com/wiki/Alfresco_on_Eclipse to setup. Got the code from svn://svn.alfresco.com/alfresco/HEAD.
When I build I get the following error
    [javac] AlfrescoWorkspace\AlfrescoProj\root\projects\remote-api\source\generated\org\alfresco\repo\cmis\ws\VersioningService.java:74: cannot find symbol
    [javac] symbol  : method getPort(javax.xml.namespace.QName,java.lang.Class<org.alfresco.repo.cmis.ws.VersioningServicePort>,javax.xml.ws.WebServiceFeature[])
    [javac] location: class javax.xml.ws.Service
    [javac]         return super.getPort(VersioningServicePort, VersioningServicePort.class, features);

I checked javax.xml.ws.Service documentation and there are two getPort methods, but there is none with three arguments. Can someone please help me here. Is this a problem with code or by the way these files are generated. The java file has comments
"This class was generated by Apache CXF 2.1.2"

Thanks,
Navdeep

Outcomes