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.
http://wiki.apache.org/cassandra/RunningCassandraInEclipse?action=diff&rev1=15&rev2=16

--------------------------------------------------

  
  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")
  

Reply via email to