cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Update of "RunningCassandraInEclipse" by RogerSchildmeijer
Date Fri, 16 Apr 2010 15:59:52 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.
http://wiki.apache.org/cassandra/RunningCassandraInEclipse?action=diff&rev1=11&rev2=12

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

  
  {{attachment:FixSrcJavaSourceFolder-11.png}}
   
+ (Some Eclipse users have complained about the following error message: 
+ '''''"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"'''''.

- (Some Eclipse users have complained about the following error message: "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 ”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")
  
  {{attachment:ForbiddenReference-12.png}}
  

Mime
View raw message