Strict Standards: Declaration of HTML_Menu3::_findNodeType() should be compatible with HTML_Menu::_findNodeType($nodeId, &$nodeUrl, $level) in /var/www/wi-fizzle.com/lib/HTML/Menu3.php on line 49
Wi-Fizzle.com | (solved) scala "_root_ cannot be imported"
Wi-Fizzle.com - Putting the fizzle in Wi-Fi since 2005 .. (yes, this was a poor choice for a domain name)

<div class="news_item">#453<div class="news_title">(solved) scala "_root_ cannot be imported"

Posted by dandriff on Wednesday August 22, 2012@05:29PM

 ...
            import Global
            Global registerCancellable cancellable
 ...

 ContactsIndexer.scala:173: _root_ cannot be imported
 [error]             import _root_.Global
 [error]                    ^
 [error] indexers/impl/ContactsIndexer.scala:174: not found: value Global
 [error]             Global registerCancellable cancellable
 [error]             ^
 [error] two errors found
 [error] application - 
 
 ! Internal server error, for request [POST /contact.json] ->
 
 sbt.PlayExceptions$CompilationException: Compilation error [_root_ cannot be imported]
     at sbt.PlayReloader$$anon$2$$anonfun$reload$3$$anonfun$4$$anonfun$apply$12$$anonfun$apply$13.apply(PlayReloader.scala:223) ~[na:na]
     at sbt.PlayReloader$$anon$2$$anonfun$reload$3$$anonfun$4$$anonfun$apply$12$$anonfun$apply$13.apply(PlayReloader.scala:223) ~[na:na]
     at scala.Option.map(Option.scala:133) ~[scala-library.jar:0.11.3]
     at sbt.PlayReloader$$anon$2$$anonfun$reload$3$$anonfun$4$$anonfun$apply$12.apply(PlayReloader.scala:223) ~[na:na]
     at sbt.PlayReloader$$anon$2$$anonfun$reload$3$$anonfun$4$$anonfun$apply$12.apply(PlayReloader.scala:220) ~[na:na]
      at scala.Option.map(Option.scala:133) ~[scala-library.jar:0.11.3]

It turns out that in newer versions of the JVM, referencing the root package has been deprecated, see: