[ 
https://issues.apache.org/jira/browse/USERGRID-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13917130#comment-13917130
 ] 

Heinrich Spreiter commented on USERGRID-81:
-------------------------------------------

I have the exact same problem as Malaka Mahanama.

This is my system:
Xubuntu 13.10
Java JDK 1.7.0_51
Maven 3.0.5

I also tried the steps suggested by you without success.

If you look inside the JAR of

<dependency>
        <groupId>com.apple</groupId>
        <artifactId>AppleJavaExtensions</artifactId>
        <!-- we'd like to use 1.5, but it is not in Maven Central -->
        <version>1.4</version>
</dependency>
(http://mvnrepository.com/artifact/com.apple/AppleJavaExtensions/1.4)

You can see that there is no class com.apple.eawt.AboutHandler there. From the 
comment inside the dependency I guessed that this class might be inside the 1.5 
release of the AppleJavaExtensions.
I found 
https://code.google.com/p/ooo-maven/source/browse/repository/com/apple/applejavaextensions/1.5.4/
 , downloaded the 1.5.4 jar, replaced the 1.4 jar (you have to rename it) 
inside .m2/repository/com/apple/AppleJavaExtensions/1.4/ and ran mvn clean 
install -DskipTests=true again. This time the build was successful.

I am not sure why it builds on your machine but it shouldn't because of the 
missing class in 1.4 of the AppleJavaExtensions.

> Unable to build the launcher project
> ------------------------------------
>
>                 Key: USERGRID-81
>                 URL: https://issues.apache.org/jira/browse/USERGRID-81
>             Project: Usergrid
>          Issue Type: Bug
>          Components: Stack
>            Reporter: Malaka Mahanama
>            Assignee: David Johnson
>            Priority: Blocker
>         Attachments: AppleJavaExtension.PNG, Error.png
>
>
> Take a fresh checkout and run the command 'mvn clean install 
> -DskipTests=true' on the stack. 
> The launcher project fails to build.
> On eclipse I see: 
> "Multiple markers at this line
>       - The method setAboutHandler(new AboutHandler(){}) is undefined for the 
> type 
>        Application
>       - com.apple.eawt.AboutHandler cannot be resolved to a type"



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to