Thanks for the quick reply. I actually found out from the developer who rebuilt 
the generator that some other updates to the SDO jars were necessary, 
afterwhich the PackageNotFoundException disappeared. I am now getting a NPE 
which I think may be related to the issue 
https://issues.apache.org/jira/browse/TUSCANY-1299 , so I will download a later 
revision and try again. 


----- Original Message ----
From: kelvin goodson <[EMAIL PROTECTED]>
To: [email protected]
Sent: Monday, June 18, 2007 11:01:47 AM
Subject: Re: PackageNotFoundException


Hi,
  could you please help me be sure I've got this right. Do I understand
correctly that you
1) encountered the problem as described in TUSCANY-1250 (which didn't make
it into the beta1 release)
2) Rebuilt the generator to include the fix for 1250
3) following this,  having regenerated your classes with the rebuilt
generator you then try to use them and you get a PackageNotFoundException?

I need more detail to have a chance of diagnosing the issue. Could you
please post a test case which exhibits the problem?  Please include the
schema, generated classes, and a list of any options you use to generate the
classes. Attachments will be stripped from emails to the list, so if you
could cc me directly that will help.  Could you also tell me the details of
the source you are using, i.e. did you do an svn extract and if so what
revision level, or did you patch up the beta1 source distribution.

Regards, Kelvin.

On 18/06/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I am trying to migrate from Tuscany M2 to 0.90 (and SDO 1.0 beta 1) and I
> am encountering a "PackageNotFoundException: Package with uri
> 'http://<namespace of my data object>' not found. (http:///temp.xml, 4,
> 62)". I had to get a later version of the SDO generator to get around the
> bug: http://issues.apache.org/jira/browse/TUSCANY-1250 and regenerate my
> data objects, so I'm not sure if anyone else has encountered this problem
> yet. Any ideas or help around the above exception would be much appreciated.

Reply via email to