Hi euler,

That "ItemService.findInArchiveOrWithdrawnNonDiscoverableModifiedSince()" 
method did not created until version 6.3.  So, it sounds to me like you have 
somehow got some 6.3 related code or JARs running in your 6.1 installation?  
You should either upgrade to 6.3, or rebuild/reinstall 6.1 by running "mvn -U 
clean package" (which should clear out any old JARs before rebuilding).

Good luck,

Tim
________________________________
From: [email protected] <[email protected]> on behalf of 
euler <[email protected]>
Sent: Wednesday, October 9, 2019 4:52 AM
To: DSpace Technical Support <[email protected]>
Subject: [dspace-tech] Error during OAI import

Dear All,

When I run oai import, I encountered the following error:

$ ./dspace oai import -c -o
OAI 2.0 manager action started
Clearing index
Index cleared
Using full import.
Full import
java.lang.NoSuchMethodError: 
org.dspace.content.service.ItemService.findInArchiveOrWithdrawnNonDiscoverableModifiedSince(Lorg/dspace/core/Context;Ljava/util/Date;)Ljava/util/Iterator;
        at org.dspace.xoai.app.XOAI.indexAll(XOAI.java:226)
        at org.dspace.xoai.app.XOAI.index(XOAI.java:134)
        at org.dspace.xoai.app.XOAI.main(XOAI.java:560)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
        at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)

What could be the reason for this error? I have also a different repository 
with an almost identical configurations but I'm not having this issue. I am 
running DSpace version 6.1 XMLUI Mirage2 on Windows Server 2012. Any help would 
be greatly appreciated.

Thanks in advance,
euler

--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/9de395e4-0882-4b4c-84ed-d12428ac7719%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/9de395e4-0882-4b4c-84ed-d12428ac7719%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/DM5PR22MB057285F3E2B1229814E43879ED950%40DM5PR22MB0572.namprd22.prod.outlook.com.

Reply via email to