Note: I am creating a case off of comments posted here: http://www.jivesoftware.com/jivespace/docs/DOC-7111
I don't seem to have access to the subversion repository is located at: https://svn.jivesoftware.com/svn/ext/customer/cerner-internal/trunk/ which needed for the above tutorial. Can you get us access? While waiting I have obtained the files from a co-worker and have been trying to get them to compile but I am having problems with the AttachmentHelper. It all seems to stem from the failed import of com.jivesoftware.community.attachments. It doesn't seem to exist in the
http://maven-secure.jivesoftware.com/archiva/repository/jive.internal/ or the http://maven-secure.jivesoftware.com/archiva/repository/jive.snapshots/
Here is my full error message:
[WARNING] bad version number found in C:\Users\jp018858\.m2\repository\com\jivesoftware\aspectjrt\1.6.3-3.0.0\aspectjrt-1.6.3-3.0.0.jar expected 1.6.2 found 1.6.3
[ERROR] The method isGlobalModerator() in the type BasePermHelper is not applicable for the arguments (User)
[ERROR] The import com.jivesoftware.community.attachments cannot be resolved
[ERROR] AttachmentHelper cannot be resolved to a type
[ERROR] AttachmentHelper cannot be resolved to a type
[ERROR] attachmentHelper cannot be resolved
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Compiler errors :
error at return user != null && (JiveContainerPermHelper.isGlobalAdmin(user.getID()) || JiveContainerPermHelper.isGlobalModerator(user));
^^^^^^^
C:\Jive\cerner-internal\web\src\main\java\com\jivesoftware\community\util\SocialGroupPermHelper.java:396:0::0 The method isGlobalModerator() in the type BasePermHelper is not applicable for the arguments (User)
error at import com.jivesoftware.community.attachments.AttachmentHelper;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\Jive\cerner-internal\web\src\main\java\com\jivesoftware\community\action\CreatePostAction.java:16:0::0 The import com.jivesoftware.community.attachments cannot be resolved
error at protected AttachmentHelper attachmentHelper;
^^^^^^^^^^^
C:\Jive\cerner-internal\web\src\main\java\com\jivesoftware\community\action\CreatePostAction.java:112:0::0 AttachmentHelper cannot be resolved to a type
error at public final void setAttachmentHelper(AttachmentHelper attachmentHelper) {
^^^^^^^^^^^
C:\Jive\cerner-internal\web\src\main\java\com\jivesoftware\community\action\CreatePostAction.java:162:0::0 AttachmentHelper cannot be resolved to a type
error at contentType = attachmentHelper.validateUserProvidedContentType(fileName, contentType, bis);
C:\Jive\cerner-internal\web\src\main\java\com\jivesoftware\community\action\CreatePostAction.java:1095:0::0 attachmentHelper cannot be resolved