You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Alexandros Karypidis <ak...@yahoo.gr> on 2009/08/31 16:04:53 UTC

Missing OM* classes

Hi all,

I'm having a problems compiling  CXF 2.2.3. Very early, when it reaches 
"Apache CXF API" it hits errors for missing the AXIOM classes:

[INFO] 
------------------------------------------------------------------------
[INFO] Building Apache CXF API
[INFO]    task-segment: [install]
[INFO] 
------------------------------------------------------------------------
[INFO] [dependency:unpack {execution: unpack-schemas}]
[INFO] Configured Artifact: org.apache.cxf:cxf-common-schemas:2.2.3:jar
[INFO] Unpacking 
D:\.m2\repository\org\apache\cxf\cxf-common-schemas\2.2.3\cxf-common-schemas-2.2.3.jar 
to
  D:\aiq\jbossws\projects\cxf-2.2.3\api\target\schemas
   with includes null and excludes:null
[INFO] [cxf-xml2fastinfoset:xml2fastinfoset {execution: xml2fastinfoset}]
[INFO] [cxf-common-xsd:xsdtojava {execution: generate-sources}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 15 resources
[INFO] skip non existing resourceDirectory 
D:\aiq\jbossws\projects\cxf-2.2.3\api\src\main\resources
[INFO] skip non existing resourceDirectory 
D:\aiq\jbossws\projects\cxf-2.2.3\api\src\main\resources-filtered
[INFO] skip non existing resourceDirectory 
D:\aiq\jbossws\projects\cxf-2.2.3\api\target\generated\src\main\resources
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 263 source files to 
D:\aiq\jbossws\projects\cxf-2.2.3\api\target\classes
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Compilation failure

could not parse error message: 
org\apache\neethi\PolicyReference.java(org\apache\neethi:PolicyReference.java):35: 
package org.apache.axiom.om does not exist
import org.apache.axiom.om.OMElement;
                          ^

could not parse error message: 
org\apache\neethi\PolicyReference.java(org\apache\neethi:PolicyReference.java):36: 
package org.apache.axiom.om.impl.builder does not exist
import org.apache.axiom.om.impl.builder.StAXOMBuilder;
.....GOES ON LIKE THIS



Re: Missing OM* classes

Posted by Daniel Kulp <dk...@apache.org>.
I'm not sure why you would be getting that error.   We don't reference 
org.apache.axiom.om.OMElement
(or any other org.apache.axiom things) in our code at all.   Thus, the 
compiler should never need to parse it.

Very strange.

Dan


On Tue September 1 2009 4:39:34 am karypid wrote:
> Ok, so I've added the dependency in cxf-api/pom.xml, which allowed
> compilation to proceed:
> 
> 		<dependency>
> 			<groupId>org.apache.ws.commons.axiom</groupId>
> 			<artifactId>axiom-impl</artifactId>
> 			<version>1.2.7</version>
> 		</dependency>
> 
> Is this an omission? I downloaded my local copy from:
> 
> http://svn.apache.org/repos/asf/cxf/tags/cxf-2.2.3
> 
> Is that not the official release tag?
> 
> karypid wrote:
> > Hi all,
> >
> > I'm having a problems compiling  CXF 2.2.3. Very early, when it reaches
> > "Apache CXF API" it hits errors for missing the AXIOM classes:
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Building Apache CXF API
> > [INFO]    task-segment: [install]
> >
> > ...
> >
> > [INFO] Compiling 263 source files to
> > D:\aiq\jbossws\projects\cxf-2.2.3\api\target\classes
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO] Compilation failure
> >
> > could not parse error message:
> > org\apache\neethi\PolicyReference.java(org\apache\neethi:PolicyReference.
> >java):35: package org.apache.axiom.om does not exist
> > import org.apache.axiom.om.OMElement;
> >                           ^
> > ...
> 

-- 
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog

Re: Missing OM* classes

Posted by karypid <ak...@yahoo.gr>.
Ok, so I've added the dependency in cxf-api/pom.xml, which allowed
compilation to proceed:

		<dependency>
			<groupId>org.apache.ws.commons.axiom</groupId>
			<artifactId>axiom-impl</artifactId>
			<version>1.2.7</version>
		</dependency>

Is this an omission? I downloaded my local copy from:

http://svn.apache.org/repos/asf/cxf/tags/cxf-2.2.3

Is that not the official release tag?


karypid wrote:
> 
> Hi all,
> 
> I'm having a problems compiling  CXF 2.2.3. Very early, when it reaches 
> "Apache CXF API" it hits errors for missing the AXIOM classes:
> 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building Apache CXF API
> [INFO]    task-segment: [install]
> 
> ...
> 
> [INFO] Compiling 263 source files to 
> D:\aiq\jbossws\projects\cxf-2.2.3\api\target\classes
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] Compilation failure
> 
> could not parse error message: 
> org\apache\neethi\PolicyReference.java(org\apache\neethi:PolicyReference.java):35: 
> package org.apache.axiom.om does not exist
> import org.apache.axiom.om.OMElement;
>                           ^
> ...
> 

-- 
View this message in context: http://www.nabble.com/Missing-OM*-classes-tp25224076p25236469.html
Sent from the cxf-dev mailing list archive at Nabble.com.