Really not sure what happened there. The aegis sample was working before. I think I am better off using the latest CXF release (2.3.3)
Thx Raj On Wed, Mar 30, 2011 at 5:16 PM, Hannes Holtzhausen < [email protected]> wrote: > hhmm. > > I am running 2.3.3 and just had a look at the samples/aegis directory > and there is no reference to Type (to be expected) and the > samples/aegis_standalone sources have been updated to reflect AegisType. > > From Raj's e-mail it looks like the AegisDatabinding class is still > referencing Type instead of AegisType. But > this can't be. I have successfully upgraded from 2.2.x to 2.3.3 > without regression on any of my > services developed using the simple frontend and aegis. > > NOTE: I download and use CXF binary distributions. > > Hope this helps > Hannes > > On Wed, Mar 30, 2011 at 1:32 PM, Benson Margulies <[email protected]> > wrote: > > So either Raj has old samples and new code, or we shipped old samples? > > > > On Wed, Mar 30, 2011 at 7:27 AM, Hannes Holtzhausen > > <[email protected]> wrote: > >> Hi > >> > >> The class/interface org/apache/cxf/aegis/type/Type no longer exists in > >> CXF 2.3. I use > >> Aegis for some general purpose XML processing and had to change all > >> references of > >> Type to AegisType. > >> > >> Hope this helps. > >> Hannes > >> > >> On Tue, Mar 29, 2011 at 6:19 PM, Raj Floyd <[email protected]> wrote: > >>> Using CXF 2.3.1. Re-extracted the CXF distribution and ran the Aegis > sample > >>> again, still giving the same error. Something dramatic has happened. I > >>> remember running the the said sample earlier. Not really sure whether I > have > >>> done anything wrong. Here is what I am doing: > >>> > >>> 1. Go to <CXF>/samples/aegis folder > >>> 2. Give the command 'mvn -Pserver' (ofcourse to start the server) > >>> 3. Thows this error dump and makes me nervous time and again > >>> [INFO] 29 errors > >>> [INFO] ------------------------------------------------------------- > >>> [INFO] > >>> > ------------------------------------------------------------------------ > >>> [INFO] BUILD FAILURE > >>> [INFO] > >>> > ------------------------------------------------------------------------ > >>> [INFO] Total time: 2.945s > >>> [INFO] Finished at: Tue Mar 29 21:32:07 IST 2011 > >>> [INFO] Final Memory: 10M/107M > >>> [INFO] > >>> > ------------------------------------------------------------------------ > >>> [ERROR] Failed to execute goal > >>> org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile > >>> (default-compile) on project aegis: Compilation failure: Compilation > >>> failure: > >>> [ERROR] \org\apache\cxf\aegis\databinding\AegisDatabinding.java:[39,32] > >>> cannot find symbol > >>> [ERROR] symbol : class Type > >>> [ERROR] location: package org.apache.cxf.aegis.type > >>> [ERROR] > >>> [ERROR] > \org\apache\cxf\aegis\databinding\AegisDatabinding.java:[107,33] > >>> cannot find symbol > >>> [ERROR] symbol : class Type > >>> [ERROR] location: class > org.apache.cxf.aegis.databinding.AegisDatabinding > >>> [ERROR] > >>> > >>> > >>> > >>> On Tue, Mar 29, 2011 at 8:35 PM, Daniel Kulp <[email protected]> wrote: > >>> > >>>> On Tuesday 29 March 2011 3:37:48 AM Raj Floyd wrote: > >>>> > Hi Benson, > >>>> > > >>>> > I am trying to figure out the problem. I just ran the Aegis sample > with > >>>> > Maven. Not sure whether it has anything to do with JDK. Though I > have two > >>>> > JDK (1.6 u23 and 1.6 u24). JAVA_HOME is pointing to JDK 1.6 u23. But > >>>> again > >>>> > as I said its just a wild guess. Trying to find out. > >>>> > >>>> From what verion of CXF? I assume you have a full kit of CXF if you > are > >>>> running the example, right? Is it pulling a snapshot of CXF? It > almost > >>>> looks like an invalid snapshot deployed or build someplace.. > >>>> > >>>> > >>>> Dan > >>>> > >>>> > >>>> > >>>> > >>>> > Thx > >>>> > > >>>> > Raj > >>>> > > >>>> > On Tue, Mar 29, 2011 at 1:42 AM, Benson Margulies > >>>> <[email protected]>wrote: > >>>> > > Please tell us precisely what you did from the start. > >>>> > > > >>>> > > On Mon, Mar 28, 2011 at 3:55 PM, Raj Floyd <[email protected]> > wrote: > >>>> > > > The error was not coming earlier. I am not sure but is it > something > >>>> to > >>>> > > > do with copying JAXB and JAXWS jars to jre/lib/endorsed folder? > >>>> > > > > >>>> > > > Really have no clue. > >>>> > > > > >>>> > > > Thx > >>>> > > > > >>>> > > > Raj > >>>> > > > > >>>> > > > On Mon, Mar 28, 2011 at 7:30 PM, Raj Floyd <[email protected]> > >>>> wrote: > >>>> > > >> Hi, > >>>> > > >> > >>>> > > >> I ran the server with the command 'mvn -Pserver' It throws > >>>> following > >>>> > > >> error: > >>>> > > >> > >>>> > > >> [ERROR] > >>>> > > >> \org\apache\cxf\aegis\databinding\AegisDatabinding.java:[579,8] > >>>> > > >> cannot find symbol > >>>> > > >> [ERROR] symbol : class Type > >>>> > > >> [ERROR] location: class > >>>> > > > >>>> > > org.apache.cxf.aegis.databinding.AegisDatabinding > >>>> > > > >>>> > > >> How to resolve? > >>>> > > >> > >>>> > > >> Thx > >>>> > > >> > >>>> > > >> Raj > >>>> > >>>> -- > >>>> Daniel Kulp > >>>> [email protected] > >>>> http://dankulp.com/blog > >>>> Talend - http://www.talend.com > >>>> > >>> > >> > > >
