Andreas Ernst created NETBEANS-3342:
---------------------------------------

             Summary: NetBeans Platform Installer for macOS fails by 
Installation of you App
                 Key: NETBEANS-3342
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3342
             Project: NetBeans
          Issue Type: Bug
    Affects Versions: 11.1, 11.0, 11.2
            Reporter: Andreas Ernst


JDK 1.8.0_231 on macOS Catalina and before. On my Maven project i run the goal 
nbm build-installers with true on macOS.

If i double click on the installer i got this error. I do not have any Apple 
libs in my project.

 

[2019-11-05 07:31:15.030]: An unexpected exception happened in thread main
[2019-11-05 07:31:15.030]: java.lang.NoClassDefFoundError: 
com/apple/eawt/ApplicationListener
[2019-11-05 07:31:15.030]: at 
org.netbeans.installer.wizard.Wizard.newWizardContainer(Wizard.java:499)
[2019-11-05 07:31:15.030]: at 
org.netbeans.installer.wizard.Wizard.open(Wizard.java:529)
[2019-11-05 07:31:15.030]: at 
org.netbeans.installer.Installer.start(Installer.java:144)
[2019-11-05 07:31:15.030]: at 
org.netbeans.installer.Installer.main(Installer.java:81)
[2019-11-05 07:31:15.030]: Caused by: java.lang.ClassNotFoundException: 
com.apple.eawt.ApplicationListener
[2019-11-05 07:31:15.030]: at 
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
[2019-11-05 07:31:15.030]: at 
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
[2019-11-05 07:31:15.030]: at 
java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
[2019-11-05 07:31:15.031]: ... 4 more
[2019-11-05 07:31:15.031]: ... show message dialog
[2019-11-05 07:31:15.031]: title: Critical Error
[2019-11-05 07:31:15.031]: message: An unexpected exception happened in thread 
main
[2019-11-05 07:31:15.031]:
[2019-11-05 07:31:15.031]: Exception:
[2019-11-05 07:31:15.031]: java.lang.NoClassDefFoundError:
[2019-11-05 07:31:15.031]: com/apple/eawt/ApplicationListener



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to