[Building Sakai] ХАРИУ: Re: Building error of announcement module

Aaron Zeckoski azeckoski at unicon.net
Fri Jun 22 08:48:00 PDT 2012


OK. I thought maybe you were referring to the other storage classes in
the utils. Carry on.
-AZ


On Fri, Jun 22, 2012 at 11:43 AM, Adrian Fish <adrian.r.fish at gmail.com> wrote:
> DoubleStorageUser.java is actually in sakai-kernel-api.jar, at least in my
> kernel code it is. Sorry about the kernel-util misdirection. You should only
> have one copy of the sakai-kernel-api jar and it should be in shared/lib.
>
> Go to TOMCAT_HOME/shared/lib and run:
>
> jar -tf sakai-kernel-api-1.4.0-SNAPSHOT.jar | grep DoubleStorageUser
>
> You may need to adjust the version  number.
>
> If DoubleStorageUser is not in that jar then you have your culprit I think.
>
> Cheers,
> Adrian.
>
>
> On 22 June 2012 16:09, Aaron Zeckoski <azeckoski at unicon.net> wrote:
>>
>> Some of that stuff was moved to here in trunk/2.9:
>>
>> https://source.sakaiproject.org/svn/kernel/trunk/kernel-storage-util/src/main/java/org/sakaiproject/util/
>>
>> Not sure if the one you are accessing was just just FYI in case it is.
>>
>> -AZ
>>
>>
>> On Fri, Jun 22, 2012 at 11:01 AM, Adrian Fish <adrian.r.fish at gmail.com>
>> wrote:
>> > That file lives in sakai-kernel-util.jar. There are copies of that all
>> > over
>> > the place and it's possible that the one your announcements is loading
>> > is
>> > missing DoubleStorageUser. The first place to check is in
>> >
>> > TOMCAT_HOME/components/sakai-announcement-pack/WEB-INF/sakai-kernel-util.jar.
>> > Use 'jar -tf sakai-kernel-util.jar' to see what's in it. You could also
>> > look
>> > inside the announcement webapp and see if there's a strange copy of
>> > sakai-kernel-util in there.
>> >
>> > It's a strange error. I've never seen that one before.
>> >
>> > Good luck :)
>> >
>> > Adrian.
>> >
>> > On 22 June 2012 15:24, zoljargal.m at gmail.com <zoljargal.m at gmail.com>
>> > wrote:
>> >>
>> >> Yes it is
>> >>
>> >> --- Эх Мессеж ---
>> >>
>> >> Хэнээс: "Adrian Fish" <adrian.r.fish at gmail.com>
>> >> Илгээсэн: June 22, 2012 7:58 PM
>> >> Хэнд: "Zoljargal Munkhjargal" <zoljargal.m at gmail.com>
>> >> Хувийг: "sakai-dev" <sakai-dev at collab.sakaiproject.org>
>> >> Сэдэв: Re: [Building Sakai] Building error of announcement module
>> >>
>> >> That's the right place to run it. What's at line 46 in your
>> >> DbAnnouncementService.java? Is it a DoubleStorageUser import?
>> >>
>> >> On 22 June 2012 11:56, Zoljargal Munkhjargal <zoljargal.m at gmail.com>
>> >> wrote:
>> >> Tanks Adrian
>> >>
>> >> I am running mvn command form inside the  announcement directory.
>> >> Where will I run it?
>> >>
>> >>
>> >> On Fri, Jun 22, 2012 at 5:28 PM, Adrian Fish <adrian.r.fish at gmail.com>
>> >> wrote:
>> >> Are you running the mvn command from inside the announcement directory?
>> >> That is a weird error. It looks like some kind of classpath mixup.
>> >>
>> >> Cheers,
>> >> Adrian.
>> >>
>> >>
>> >> On 22 June 2012 03:27, Zoljargal Munkhjargal <zoljargal.m at gmail.com>
>> >> wrote:
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> I am trying to build announcement module.
>> >> The command of building is "mvn clean install".
>> >> But following compilation error is occurred. I can't find any solution.
>> >> Is there any suggestion?
>> >>
>> >>
>> >> [INFO] -------------------------------------------------------------
>> >> [ERROR] COMPILATION ERROR :
>> >> [INFO] -------------------------------------------------------------
>> >> [ERROR]
>> >>
>> >> \sakai\sakai-trunk-all\announcement\announcement-impl\impl\src\java\org\sakaiproject\announcement\impl\DbAnnouncementService.java:[46,28]
>> >> error: cannot find symbol
>> >> [ERROR]
>> >>
>> >> \sakai\sakai-trunk-all\announcement\announcement-impl\impl\src\java\org\sakaiproject\announcement\impl\DbAnnouncementService.java:[247,19]
>> >> error: cannot find symbol
>> >> [INFO] 2 errors
>> >> [INFO] -------------------------------------------------------------
>> >> [INFO]
>> >>
>> >> ------------------------------------------------------------------------
>> >> [INFO] Reactor Summary:
>> >> [INFO]
>> >> [INFO] sakai-announcement base pom ....................... SUCCESS
>> >> [0.667s]
>> >> [INFO] sakai-announcement-api ............................ SUCCESS
>> >> [2.542s]
>> >> [INFO] sakai-announcement-help ........................... SUCCESS
>> >> [0.427s]
>> >> [INFO] sakai-announcement-impl ........................... FAILURE
>> >> [1.536s]
>> >> [INFO] sakai-announcement-pack ........................... SKIPPED
>> >> [INFO] sakai-announcement-tool ........................... SKIPPED
>> >> [INFO] sakai-announcement-assembly ....................... SKIPPED
>> >> [INFO]
>> >>
>> >> ------------------------------------------------------------------------
>> >> [INFO] BUILD FAILURE
>> >> [INFO]
>> >>
>> >> ------------------------------------------------------------------------
>> >> [INFO] Total time: 6.149s
>> >> [INFO] Finished at: Fri Jun 22 10:18:37 PDT 2012
>> >> [INFO] Final Memory: 23M/178M
>> >> [INFO]
>> >>
>> >> ------------------------------------------------------------------------
>> >> [ERROR] Failed to execute goal
>> >> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
>> >> (default-compile) on project sakai-announcement-impl: Comp
>> >> ilation failure: Compilation failure:
>> >> [ERROR]
>> >>
>> >> \sakai\sakai-trunk-all\announcement\announcement-impl\impl\src\java\org\sakaiproject\announcement\impl\DbAnnouncementService.java:[46,28]
>> >> erro
>> >> r: cannot find symbol
>> >> [ERROR]
>> >>
>> >> \sakai\sakai-trunk-all\announcement\announcement-impl\impl\src\java\org\sakaiproject\announcement\impl\DbAnnouncementService.java:[247,19]
>> >> err
>> >> or: cannot find symbol
>> >> [ERROR] -> [Help 1]
>> >> [ERROR]
>> >> [ERROR] To see the full stack trace of the errors, re-run Maven with
>> >> the
>> >> -e switch.
>> >> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> >> [ERROR]
>> >> [ERROR] For more information about the errors and possible solutions,
>> >> please read the following articles:
>> >> [ERROR] [Help 1]
>> >> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>> >> [ERROR]
>> >> [ERROR] After correcting the problems, you can resume the build with
>> >> the
>> >> command
>> >> [ERROR]   mvn <goals> -rf :sakai-announcement-impl
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> _______________________________
>> >>
>> >>        ZOLJARGAL Munkhjargal
>> >>
>> >>
>> >>
>> >>
>> >>        Engineer of Study
>> >>
>> >>
>> >> School of Information Technology
>> >>
>> >>
>> >> National University of Mongolia
>> >>
>> >>
>> >>
>> >>        Tel:          +976 77307730 3307
>> >> Email:      zoljargal.m at gmail.com
>> >> Website:  www.sit.num.edu.mn
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> _______________________________________________
>> >> sakai-dev mailing list
>> >> sakai-dev at collab.sakaiproject.org
>> >> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>> >>
>> >> TO UNSUBSCRIBE: send email to
>> >> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>> >> "unsubscribe"
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> _______________________________
>> >>
>> >>        ZOLJARGAL Munkhjargal
>> >>
>> >>
>> >>
>> >>        Engineer of Study
>> >>
>> >>
>> >> School of Information Technology
>> >>
>> >>
>> >> National University of Mongolia
>> >>
>> >>
>> >>
>> >>        Tel:          +976 77307730 3307
>> >> Email:      zoljargal.m at gmail.com
>> >> Website:  www.sit.num.edu.mn
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >
>> >
>> > _______________________________________________
>> > sakai-dev mailing list
>> > sakai-dev at collab.sakaiproject.org
>> > http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>> >
>> > TO UNSUBSCRIBE: send email to
>> > sakai-dev-unsubscribe at collab.sakaiproject.org
>> > with a subject of "unsubscribe"
>>
>>
>>
>> --
>> Aaron Zeckoski - Software Architect - http://tinyurl.com/azprofile
>
>



-- 
Aaron Zeckoski - Software Architect - http://tinyurl.com/azprofile


More information about the sakai-dev mailing list