[Building Sakai] Building error of announcement module

Adrian Fish adrian.r.fish at gmail.com
Fri Jun 22 04:58:30 PDT 2012


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]
>>> 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*
>>> [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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120622/54b291d0/attachment.html 


More information about the sakai-dev mailing list