Problem running Metro

David Leangen dleangen at canada.com
Fri Nov 5 00:59:10 EST 2004


Niclas,

FYI:

This is being build by Magic.

The xinfo file is in the JAR file, exactly in the right place where it is
expected.

Here are the [edited] contents. The other thing to note is that I didn't
change anything from the last time I ran, which was about 4 days ago now.

<configuration>
  <action-classes>
    <action-class>
      <name>name1</name>
      <class>class1</class>
    </action-class>
    <action-class>
      <name>name2</name>
      <class>class2</class>
    </action-class>
  </action-classes>
  <actions>
    <!--
      I have a comment here... is that ok? (I don't see why not...)
    -->
    <action name="name1"/>
  </actions>
  <persistence-type>HIBERNATE</persistence-type>
</configuration>


Regards,
Dave




> -----Original Message-----
> From: Niclas Hedhman [mailto:niclas at hedhman.org]
> Sent: 5 November 2004 14:53
> To: dleangen at canada.com; Support
> Subject: Re: Problem running Metro
>
>
> On Friday 05 November 2004 13:04, David Leangen wrote:
> > I'm getting this error:
> >
> > Exception: net.dpml.composition.model.TypeUnknownException
> Message: Unable
> > to locate a component type descriptor for the component class
> > [com.mycompany.MyServiceProvider] in the classloader.  Please
> verify that
> > the component classname is correct and that a component type
> descriptor is
> > included in a jar file available within the container classloader.
>
> <snip/>
>
> > The JAR also seems to be ok. Everything is in the repo where it
> should be,
> > including the block file.
>
> What the exception says;
> You probably don't have a
>    com/mycompany/MyServiceProvider.xinfo
> in the Jar file, or that such file is not syntactically correct.
>
>
> Cheers
> Niclas
> --
>    +------//-------------------+
>   / http://www.bali.ac        /
>  / http://niclas.hedhman.org /
> +------//-------------------+




More information about the support-dpml mailing list