[ https://issues.apache.org/jira/browse/CXF-4527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466119#comment-13466119 ]
Freeman Fang commented on CXF-4527: ----------------------------------- Hi, Hmm, it's really weird, could you please append a maven project which we can reproduce it? Or you can remove cxf-api-2.7.0-SNAPSHOT.jar from your local repo and rebuild it to see if it helps, it somehow might be corrupt. Freeman > The import org.apache.cxf.ws.addressing.EndpointReferenceType cannot be > resolved > -------------------------------------------------------------------------------- > > Key: CXF-4527 > URL: https://issues.apache.org/jira/browse/CXF-4527 > Project: CXF > Issue Type: Bug > Components: Core > Affects Versions: 2.7.0 > Environment: {noformat} > Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800) > Maven home: C:\Program Files\apache-maven-3.0.3\bin\.. > Java version: 1.6.0_29, vendor: Sun Microsystems Inc. > Java home: C:\Program Files (x86)\Java\jdk1.6.0_29\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "x86", family: "windows" > Eclipse IDE for Java Developers > Version: Juno Release > Build id: 20120614-1722 > {noformat} > Reporter: Shaun Elliott > > I'm getting the following at runtime: > {noformat} > java.lang.Error: Unresolved compilation problems: > The import org.apache.cxf.ws.addressing.EndpointReferenceType cannot be > resolved > EndpointReferenceType cannot be resolved to a type > EndpointReferenceType cannot be resolved to a type > EndpointReferenceType cannot be resolved to a type > at > org.apache.cxf.endpoint.AbstractEndpointFactory.<init>(AbstractEndpointFactory.java:44) > at > org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.<init>(AbstractWSDLBasedEndpointFactory.java:58) > at > org.apache.cxf.frontend.ClientFactoryBean.<init>(ClientFactoryBean.java:44) > at > org.apache.cxf.jaxws.JaxWsClientFactoryBean.<init>(JaxWsClientFactoryBean.java:38) > at > org.apache.cxf.jaxws.JaxWsProxyFactoryBean.<init>(JaxWsProxyFactoryBean.java:68) > {noformat} > This makes no sense to me, as the class is clearly on my path. Here are my > cxf maven dependencies: > {code} > <properties> > <cxf.version>2.7.0-SNAPSHOT</cxf.version> > </properties> > <dependency> > <groupId>org.apache.cxf</groupId> > <artifactId>cxf-rt-core</artifactId> > <version>${cxf.version}</version> > </dependency> > <dependency> > <groupId>org.apache.cxf</groupId> > <artifactId>cxf-rt-transports-http</artifactId> > <version>${cxf.version}</version> > </dependency> > <dependency> > <groupId>org.apache.cxf</groupId> > <artifactId>cxf-rt-transports-http-hc</artifactId> > <version>${cxf.version}</version> > </dependency> > <dependency> > <groupId>org.apache.cxf</groupId> > <artifactId>cxf-rt-frontend-jaxws</artifactId> > <version>${cxf.version}</version> > </dependency> > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira