Skip to content

Instantly share code, notes, and snippets.

@kontrafiktion
Created August 18, 2013 10:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kontrafiktion/6260945 to your computer and use it in GitHub Desktop.
Save kontrafiktion/6260945 to your computer and use it in GitHub Desktop.
Gradle 1.7 IllegalAccessError on OSX
java.lang.IllegalAccessError: tried to access class org.jruby.ext.posix.BaseNativePOSIX from class org.gradle.internal.nativeplatform.filesystem.FileSystemServices
at org.gradle.internal.nativeplatform.filesystem.FileSystemServices.addServices(FileSystemServices.java:62)
at org.gradle.internal.nativeplatform.filesystem.FileSystemServices.<clinit>(FileSystemServices.java:38)
at org.gradle.internal.nativeplatform.filesystem.FileSystems$DefaultFileSystem.<clinit>(FileSystems.java:29)
at org.gradle.internal.nativeplatform.filesystem.FileSystems.getDefault(FileSystems.java:22)
at org.gradle.initialization.LayoutCommandLineConverter.convert(LayoutCommandLineConverter.java:42)
at org.gradle.launcher.cli.BuildActionsFactory.createAction(BuildActionsFactory.java:106)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.createAction(CommandLineActionFactory.java:206)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:196)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:174)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:170)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:139)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
at org.gradle.launcher.Main.doAction(Main.java:48)
at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
at org.gradle.launcher.Main.main(Main.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50)
at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32)
at org.gradle.launcher.GradleMain.main(GradleMain.java:26)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment