solidity-ide icon indicating copy to clipboard operation
solidity-ide copied to clipboard

[mac] Product cannot start

Open kthoms opened this issue 6 years ago • 3 comments

The built product does not launch on Mac.

org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
	at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:410)
        ...
Caused by: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
	at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:124)
	at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:399)
        ...
Caused by: java.lang.ClassNotFoundException: javax.annotation.PostConstruct cannot be found by org.eclipse.e4.core.di_1.6.200.v20170724-0836

java.lang.NoClassDefFoundError: javax/annotation/PreDestroy
	at org.eclipse.e4.core.internal.di.InjectorImpl.disposed(InjectorImpl.java:450)
        ...
Caused by: java.lang.ClassNotFoundException: javax.annotation.PreDestroy cannot be found by org.eclipse.e4.core.di_1.6.200.v20170724-0836

Full log: log.txt

kthoms avatar Nov 30 '17 08:11 kthoms

Do you use Java 9 ? https://bugs.eclipse.org/bugs/show_bug.cgi?id=493761

andreasmuelder avatar Nov 30 '17 19:11 andreasmuelder

java -version
java version "1.8.0_92"

kthoms avatar Nov 30 '17 20:11 kthoms

Have you added a -vm statement to the .ini? Unless specified there, Eclipse might pick another (higher) vm.

nyssen avatar Jul 12 '19 08:07 nyssen