Skip to content

Instantly share code, notes, and snippets.

@tjayr
tjayr / compiler_mirror_error
Last active January 14, 2016 15:28
How to resolve Scala IDE / Maven errors: There was an error initializing the Scala compiler: could not find a required class: object scala.runtime in compiler mirror scala.reflect.internal.MissingRequirementError: object scala.runtime in compiler mirror not found.
I came across this problem while trying to add the Datastax Cassandra driver
as a Maven dependency to a Scala project.
After adding the dependency to the pom, Scala IDE (3.0.1) complains with this
error yes/no confirmation box.
Add Scala library to project classpath? There was an error initializing the
Scala compiler: could not find a required class: object scala.runtime in
compiler mirror. No/Yes
@tjayr
tjayr / .gtkrc-2.0
Created September 17, 2013 09:37
Use this binding to enable cursor key navigation of projects in the Package Explorer/Project Explorer panes in Eclipse on Linux. Save to the file ~/.gtkrc-2.0 (aka as /home/<user>/.gtkrc-2.0 ) Restart any running Eclipse instances for changes to take effect.
binding "gtk-binding-tree-view" {
bind "Left" { "expand-collapse-cursor-row" (0,0,0) }
bind "Right" { "expand-collapse-cursor-row" (0,1,0) }
}
class "GtkTreeView" binding "gtk-binding-tree-view"