cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Cassandra Wiki] Update of "RunningCassandraInEclipse" by RogerSchildmeijer
Date Sat, 17 Apr 2010 08:21:21 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The "RunningCassandraInEclipse" page has been changed by RogerSchildmeijer.


  This is because some parts of the Cassandra project are using stuff from the com.sun.* package
and Eclipse's "default behaviour" (bug?) is to report that as an error, Intellij IDEA does
not. By simply reploading the "JRE System Library" this will hopefully disappear. To do that,
1) go to your build path settings for your cassandra project in Eclipse, and under the libraries
tab, select "JRE System Library" and click the "Remove" button 2) re-add the JRE System Library
using "Add Library" (Thanks Todd Blose for this excellent solution!)
+ {{attachment:ReloadJRESystemLibraryHack-13.png}}
  Still "Access restrictions" problems?
  Another solution to fix this is to change the ‚ÄĚseverity level" from error to e.g warning
for this. To do this right click on your cassandra project -> "Properties" -> "Java
Compiler" -> "Error/Warnings" and locate "Forbidden reference (access rule)" under "Deprecated
and restricted API")

View raw message