Hi,

Did anyone run into this problem? Normally you get NoSuchMethodError
when java versions are incompatible. But I have java 1.6.5 which should
be ok.
Have Ant 1.7.0 and the lastest Maven version.
Should I use java 1.5.0 instead? Or is there another cause of this
problem?
The signature in IndexBrowse.java:708 for method
java.util.Collections.addAll seems incompatible with the latest java
version.

Creating browse index
Exception in thread "main" java.lang.NoSuchMethodError: method
java.util.Collections.addAll with signature
(Ljava.util.Collection;[Ljava.lang.Object;)Z was not found.
   at org.dspace.browse.BrowseItem.getMetadata(BrowseItem.java:167)
   at
org.dspace.browse.IndexBrowse$ItemMetadataProxy.getMetadata(IndexBrowse.
java:1201)
   at org.dspace.browse.IndexBrowse.getSortValues(IndexBrowse.java:510)
   at org.dspace.browse.IndexBrowse.indexItem(IndexBrowse.java:368)
   at org.dspace.browse.IndexBrowse.createIndex(IndexBrowse.java:1109)
   at org.dspace.browse.IndexBrowse.initBrowse(IndexBrowse.java:1056)
   at org.dspace.browse.IndexBrowse.main(IndexBrowse.java:708)


Regards,

Peter van Wonderen
 
Vrije Universiteit
University Library
De Boelelaan 1105
1082 HV Amsterdam
The Netherlands
+31-20-5985112

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to