Hi Jose,

It sounds like a possible bug to me -- almost like part of the BagIt export
it calling an invalid method in the DSpace Java API?

At this time, I'd recommend against using the BagIt export/import
functionality in dspace-replicate, as it's still "beta" as noted in the
documentation here:
https://wiki.duraspace.org/display/DSPACE/ReplicationTaskSuite#ReplicationTaskSuite-AIPFormatOptions

That said, if you (or anyone else listening in) are interested in helping
enhance the BagIt export (to move it out of beta), I'd love to see that
work happen. Unfortunately, while BagIt was always hoped to be as
functional as the METS based export/import, it has yet to catch on in terms
of usage. I'm unaware of anyone who currently uses it (while there are
several institutions who regularly use the METS based export/import). It
also is very limited in its functionality when compared to the current METS
export (see the comparison table of METS vs BagIt in the above link).

Tim

On Wed, May 2, 2018 at 1:11 PM Jose Blanco <[email protected]> wrote:

> I have dspace 5.1,
>
> I configured my pom.xml file to use dspace-replicate (3.4) and
> followed the instructions on the documentation page
> (
> https://wiki.duraspace.org/display/DSPACE/ReplicationTaskSuite#ReplicationTaskSuite-InstallationonDSpace3.x,4.xor5.x
> ).
>
> And I'm getting this error:
>
> ./dspace curate -t transmitaip -i TEMP-BOGUS/314891 -v
> Adding task: transmitaip
> Starting curation
> Curating id: TEMP-BOGUS/314891
> Exception:
> org.dspace.content.Item.getMetadata(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)[Lorg/dspace/content/DCValue;
> java.lang.NoSuchMethodError:
>
> org.dspace.content.Item.getMetadata(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)[Lorg/dspace/content/DCValue;
>     at org.dspace.pack.bagit.ItemPacker.pack(ItemPacker.java:96)
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to