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=13&rev2=14

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

  
  '''''Access restriction: The method getDuration() from the type GcInfo is not 
accessible due to restriction on required library 
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/classes.jar'''''.
 
  
- This is because some parts of the Cassandra project are using stuff from the 
com.sun.* package and Eclipse's default behaviour is to report that as an 
error, Intellij IDEA does not. The best solution to fix this I've come up with 
so far, is to change the ”compile 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")
+ This is because some parts of the Cassandra project are using stuff from the 
com.sun.* package and Eclipse's default behaviour is to report that as an 
error, Intellij IDEA does not. The best solution to fix this I've come up with 
so far, 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")
  
  {{attachment:ForbiddenReference-12.png}}
  

Reply via email to