RE: [dspace-tech] DSpace-CRIS: Compilation error?
Hi, > OK, so we switched to Tomcat 7 and Oracle JDK 7, but I'm still seeing the > same Compilation errors when trying compile DSpace CRIS API :-( I now, finally, have DSpace-CRIS compiling :-) I did a bit of poking about on the interweb and stumbled across a link to the explicit DSpace-CRIS v5.3 code (https://github.com/Cineca/DSpace/tree/dspace-cris-5.3.0), whereas I was previously using https://github.com/Cineca/DSpace/tree/dspace-5_x_x-cris . . . So, I started again from scratch using the explicit version 5.3 and this time it all worked perfectly and it has now compiled! I don't know if 5.x.x is expected to work (it appears to be the version that is linked to from all the obvious places?) but it didn't for me - v5.3 did however, so I hope there isn't some unknown reason why I shouldn't be using this version (and why it was so hard to find ;-) ). I also don't know if this version would have worked under Open JDK and Tomcat 8 or not, but I may try that as well at some stage as my sys admin colleagues would rather I used these (well, Tomcat 8 at least) going forwards - but this is only an "investigation instance" at this point, so I can save all that for another day! Anyway, on to the next steps! Cheers, Mike Michael White eLearning Developer Information Services T: (01786) 466877 E: michael.wh...@stir.ac.uk A: S8, Library, University of Stirling, Stirling, FK9 4LA > -Original Message- > From: Michael White > Sent: 20 January 2016 13:01 > To: Andrea Bollini ; dspace-tech@googlegroups.com > Subject: RE: [dspace-tech] DSpace-CRIS: Compilation error? > > Hi again, > > > I guess that your problems come with JAVA 8 and OpenJDK. My experience > is that DSpace-CRIS run well with Oracle JDK 7 and Tomcat 7. > > OK, so we switched to Tomcat 7 and Oracle JDK 7, but I'm still seeing the same > Compilation errors when trying compile DSpace CRIS API :-( > > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 34.675s > [INFO] Finished at: Wed Jan 20 12:51:23 GMT 2016 [INFO] Final Memory: > 75M/837M [INFO] > > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler- > plugin:3.1:compile (default-compile) on project dspace-cris-api: Compilation > failure: Compilation failure: > [ERROR] /usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace- > cris/api/src/main/java/org/dspace/app/cris/model/jdyna/widget/WidgetPoint > erOU.java:[19,8] org.dspace.app.cris.model.jdyna.widget.WidgetPointerOU is > not abstract and does not override abstract method > getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaService,ja > va.lang.String) in it.cilea.osd.jdyna.widget.WidgetPointer > [ERROR] /usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace- > cris/api/src/main/java/org/dspace/app/cris/model/jdyna/widget/WidgetPoint > erPJ.java:[19,8] org.dspace.app.cris.model.jdyna.widget.WidgetPointerPJ is > not abstract and does not override abstract method > getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaService,ja > va.lang.String) in it.cilea.osd.jdyna.widget.WidgetPointer > [ERROR] /usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace- > cris/api/src/main/java/org/dspace/app/cris/model/jdyna/widget/WidgetPoint > erRP.java:[19,8] org.dspace.app.cris.model.jdyna.widget.WidgetPointerRP is > not abstract and does not override abstract method > getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaService,ja > va.lang.String) in it.cilea.osd.jdyna.widget.WidgetPointer > [ERROR] /usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace- > cris/api/src/main/java/org/dspace/app/cris/model/jdyna/widget/WidgetPoint > erDO.java:[20,8] org.dspace.app.cris.model.jdyna.widget.WidgetPointerDO is > not abstract and does not override abstract method > getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaService,ja > va.lang.String) in it.cilea.osd.jdyna.widget.WidgetPointer > > I've double checked the Java version and it seems to be correct: > > tomcat7@cris:/usr/src/DSpace-dspace-5_x_x-cris/dspace-parent$ java - > version java version "1.7.0_79" > Java(TM) SE Runtime Environment (build 1.7.0_79-b15) Java HotSpot(TM) 64- > Bit Server VM (build 24.79-b02, mixed mode) > > Does anyone have any other ideas as I'm completely stuck at this point?! :-( > > Cheers, > > Mike > > Michael White > eLearning Developer > Information Services > > T: (01786) 466877 > E: michael.wh...@stir.ac.uk > A: S8, Library, University of Stirling, Stirli
RE: [dspace-tech] DSpace-CRIS: Compilation error?
Hi again, > I guess that your problems come with JAVA 8 and OpenJDK. My experience is > that DSpace-CRIS run well with Oracle JDK 7 and Tomcat 7. OK, so we switched to Tomcat 7 and Oracle JDK 7, but I'm still seeing the same Compilation errors when trying compile DSpace CRIS API :-( [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 34.675s [INFO] Finished at: Wed Jan 20 12:51:23 GMT 2016 [INFO] Final Memory: 75M/837M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project dspace-cris-api: Compilation failure: Compilation failure: [ERROR] /usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace-cris/api/src/main/java/org/dspace/app/cris/model/jdyna/widget/WidgetPointerOU.java:[19,8] org.dspace.app.cris.model.jdyna.widget.WidgetPointerOU is not abstract and does not override abstract method getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaService,java.lang.String) in it.cilea.osd.jdyna.widget.WidgetPointer [ERROR] /usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace-cris/api/src/main/java/org/dspace/app/cris/model/jdyna/widget/WidgetPointerPJ.java:[19,8] org.dspace.app.cris.model.jdyna.widget.WidgetPointerPJ is not abstract and does not override abstract method getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaService,java.lang.String) in it.cilea.osd.jdyna.widget.WidgetPointer [ERROR] /usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace-cris/api/src/main/java/org/dspace/app/cris/model/jdyna/widget/WidgetPointerRP.java:[19,8] org.dspace.app.cris.model.jdyna.widget.WidgetPointerRP is not abstract and does not override abstract method getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaService,java.lang.String) in it.cilea.osd.jdyna.widget.WidgetPointer [ERROR] /usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace-cris/api/src/main/java/org/dspace/app/cris/model/jdyna/widget/WidgetPointerDO.java:[20,8] org.dspace.app.cris.model.jdyna.widget.WidgetPointerDO is not abstract and does not override abstract method getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaService,java.lang.String) in it.cilea.osd.jdyna.widget.WidgetPointer I've double checked the Java version and it seems to be correct: tomcat7@cris:/usr/src/DSpace-dspace-5_x_x-cris/dspace-parent$ java -version java version "1.7.0_79" Java(TM) SE Runtime Environment (build 1.7.0_79-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode) Does anyone have any other ideas as I'm completely stuck at this point?! :-( Cheers, Mike Michael White eLearning Developer Information Services T: (01786) 466877 E: michael.wh...@stir.ac.uk A: S8, Library, University of Stirling, Stirling, FK9 4LA > -Original Message- > From: Andrea Bollini [mailto:a.boll...@cineca.it] > Sent: 19 January 2016 22:40 > To: Michael White ; dspace- > t...@googlegroups.com > Subject: Re: [dspace-tech] DSpace-CRIS: Compilation error? > > Hi Michael, > you are posting in the right list. DSpace-CRIS is an extension of DSpace and > we > want to work as close as possible to the wide DSpace community to share > experience and code where appropriate. For these reasons we have > prefered to avoid the setup of separate mailing list for DSpace-CRIS. > > I guess that your problems come with JAVA 8 and OpenJDK. My experience is > that DSpace-CRIS run well with Oracle JDK 7 and Tomcat 7. Others have > reported some issues with tomcat 8 but at the end they were able to run it. > Unfortunately we have not received patch or bug fix for that and we haven't > had yet time to look to this specific issue. > > Let me know if Tomcat7 and Oracle Java JDK 7 is not an option for you, in the > case we will try to schedule a debug session on the java/tomcat 8 issues by > the end of January/start of February. > Andrea > > Il 19/01/2016 15:35, Michael White ha scritto: > > Hi, > > > > Again, apologies if this isn't the correct forum to ask about this :-) > > > > I've been trying to compile/build DSpace-CRIS (from > https://github.com/Cineca/DSpace/tree/dspace-5_x_x-cris) - when I run "mvn > package" in the source directory, it now proceeds OK up to "Building DSpace > CRIS :: API CRIS-5.3.1-SNAPSHOT", at which point it is failing with a > Compilation > Error: > > > > [INFO] - > > [ERROR] COMPILATION ERROR : > > [INFO] - > > [ERROR] > > /usr/src/DSpace-dspace-5_x
RE: [dspace-tech] DSpace-CRIS: Compilation error?
Hi Andrea, > My experience is > that DSpace-CRIS run well with Oracle JDK 7 and Tomcat 7 Many thanks for getting back to me, much appreciated - and thanks for the pointers regarding using Tomcat 7 and Oracle JDK 7 - I'll discuss this with my Sys Admin (the box I'm using is provided by our Systems and Networks team) and see if we can change to these more supported options :-). Cheers, Mike Michael White eLearning Developer Information Services T: (01786) 466877 E: michael.wh...@stir.ac.uk A: S8, Library, University of Stirling, Stirling, FK9 4LA > -Original Message- > From: Andrea Bollini [mailto:a.boll...@cineca.it] > Sent: 19 January 2016 22:40 > To: Michael White ; dspace- > t...@googlegroups.com > Subject: Re: [dspace-tech] DSpace-CRIS: Compilation error? > > Hi Michael, > you are posting in the right list. DSpace-CRIS is an extension of DSpace and > we > want to work as close as possible to the wide DSpace community to share > experience and code where appropriate. For these reasons we have > prefered to avoid the setup of separate mailing list for DSpace-CRIS. > > I guess that your problems come with JAVA 8 and OpenJDK. My experience is > that DSpace-CRIS run well with Oracle JDK 7 and Tomcat 7. Others have > reported some issues with tomcat 8 but at the end they were able to run it. > Unfortunately we have not received patch or bug fix for that and we haven't > had yet time to look to this specific issue. > > Let me know if Tomcat7 and Oracle Java JDK 7 is not an option for you, in the > case we will try to schedule a debug session on the java/tomcat 8 issues by > the end of January/start of February. > Andrea > > Il 19/01/2016 15:35, Michael White ha scritto: > > Hi, > > > > Again, apologies if this isn't the correct forum to ask about this :-) > > > > I've been trying to compile/build DSpace-CRIS (from > https://github.com/Cineca/DSpace/tree/dspace-5_x_x-cris) - when I run "mvn > package" in the source directory, it now proceeds OK up to "Building DSpace > CRIS :: API CRIS-5.3.1-SNAPSHOT", at which point it is failing with a > Compilation > Error: > > > > [INFO] - > > [ERROR] COMPILATION ERROR : > > [INFO] - > > [ERROR] > > /usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace-cris/api/src/ma > > in/java/org/dspace/app/cris/model/jdyna/widget/WidgetPointerOU.java:[1 > > 9,8] org.dspace.app.cris.model.jdyna.widget.WidgetPointerOU is not > > abstract and does not override abstract method > > getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaSer > > vice,java.lang.String) in it.cilea.osd.jdyna.widget.WidgetPointer > > [ERROR] > > /usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace-cris/api/src/ma > > in/java/org/dspace/app/cris/model/jdyna/widget/WidgetPointerPJ.java:[1 > > 9,8] org.dspace.app.cris.model.jdyna.widget.WidgetPointerPJ is not > > abstract and does not override abstract method > > getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaSer > > vice,java.lang.String) in it.cilea.osd.jdyna.widget.WidgetPointer > > [ERROR] > > /usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace-cris/api/src/ma > > in/java/org/dspace/app/cris/model/jdyna/widget/WidgetPointerRP.java:[1 > > 9,8] org.dspace.app.cris.model.jdyna.widget.WidgetPointerRP is not > > abstract and does not override abstract method > > getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaSer > > vice,java.lang.String) in it.cilea.osd.jdyna.widget.WidgetPointer > > [ERROR] > > /usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace-cris/api/src/ma > > in/java/org/dspace/app/cris/model/jdyna/widget/WidgetPointerDO.java:[2 > > 0,8] org.dspace.app.cris.model.jdyna.widget.WidgetPointerDO is not > > abstract and does not override abstract method > > getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaSer > > vice,java.lang.String) in it.cilea.osd.jdyna.widget.WidgetPointer > > [INFO] 4 errors > > > > I've been trying to pick this apart and understand what the problem might > be, but no joy so far, so I'm really hoping that someone out there can help? > > > > If anyone has any thoughts or suggestions as to what the problem might be > (and how to get past it!) they would be very welcome! > > > > Cheers, > > > > Mike > > > > Michael White > > Research Systems Developer > > Information Services > > > > T: (01786) 466877 > > E: michael.wh...@stir.ac.uk > > A: S8, L
Re: [dspace-tech] DSpace-CRIS: Compilation error?
Hi Michael, you are posting in the right list. DSpace-CRIS is an extension of DSpace and we want to work as close as possible to the wide DSpace community to share experience and code where appropriate. For these reasons we have prefered to avoid the setup of separate mailing list for DSpace-CRIS. I guess that your problems come with JAVA 8 and OpenJDK. My experience is that DSpace-CRIS run well with Oracle JDK 7 and Tomcat 7. Others have reported some issues with tomcat 8 but at the end they were able to run it. Unfortunately we have not received patch or bug fix for that and we haven't had yet time to look to this specific issue. Let me know if Tomcat7 and Oracle Java JDK 7 is not an option for you, in the case we will try to schedule a debug session on the java/tomcat 8 issues by the end of January/start of February. Andrea Il 19/01/2016 15:35, Michael White ha scritto: Hi, Again, apologies if this isn't the correct forum to ask about this :-) I've been trying to compile/build DSpace-CRIS (from https://github.com/Cineca/DSpace/tree/dspace-5_x_x-cris) - when I run "mvn package" in the source directory, it now proceeds OK up to "Building DSpace CRIS :: API CRIS-5.3.1-SNAPSHOT", at which point it is failing with a Compilation Error: [INFO] - [ERROR] COMPILATION ERROR : [INFO] - [ERROR] /usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace-cris/api/src/main/java/org/dspace/app/cris/model/jdyna/widget/WidgetPointerOU.java:[19,8] org.dspace.app.cris.model.jdyna.widget.WidgetPointerOU is not abstract and does not override abstract method getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaService,java.lang.String) in it.cilea.osd.jdyna.widget.WidgetPointer [ERROR] /usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace-cris/api/src/main/java/org/dspace/app/cris/model/jdyna/widget/WidgetPointerPJ.java:[19,8] org.dspace.app.cris.model.jdyna.widget.WidgetPointerPJ is not abstract and does not override abstract method getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaService,java.lang.String) in it.cilea.osd.jdyna.widget.WidgetPointer [ERROR] /usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace-cris/api/src/main/java/org/dspace/app/cris/model/jdyna/widget/WidgetPointerRP.java:[19,8] org.dspace.app.cris.model.jdyna.widget.WidgetPointerRP is not abstract and does not override abstract method getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaService,java.lang.String) in it.cilea.osd.jdyna.widget.WidgetPointer [ERROR] /usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace-cris/api/src/main/java/org/dspace/app/cris/model/jdyna/widget/WidgetPointerDO.java:[20,8] org.dspace.app.cris.model.jdyna.widget.WidgetPointerDO is not abstract and does not override abstract method getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaService,java.lang.String) in it.cilea.osd.jdyna.widget.WidgetPointer [INFO] 4 errors I've been trying to pick this apart and understand what the problem might be, but no joy so far, so I'm really hoping that someone out there can help? If anyone has any thoughts or suggestions as to what the problem might be (and how to get past it!) they would be very welcome! Cheers, Mike Michael White Research Systems Developer Information Services T: (01786) 466877 E: michael.wh...@stir.ac.uk A: S8, Library, University of Stirling, Stirling, FK9 4LA -- Andrea Bollini International Business Development, Deputy Leader Open Source & Open Standards Strategy, Head Cineca Via dei Tizii, 6 00185 Roma, Italy tel. +39 06 44 486 087 - mob. +39 348 82 77 525 http://www.cineca.it -- 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 dspace-tech+unsubscr...@googlegroups.com. To post to this group, send email to dspace-tech@googlegroups.com. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.