package with _root_ breaks the scala compiler inside eclipse

I was refactoring the package structure inside a scala project with eclipse. In the middle of this I used a package statement with _root_, like this


Now my eclipse project will not build although I can still build everything in the command line. The problem is that all my com.* imports are broken

import com.workday.some.thing.Else

The error is:

Multiple markers at this line
    - object workday is not a member of package
    - object workday is not a member of package

It appears that it is trying to find all imports relative to the package statement at the top of each source file.

I have removed the _root_ from my package and tried to clean my project and the workspace. I have also tried changing the scala compiler from "sbt" to "refined" and back but to no avail

Does anyone know how to kick the eclipse scala compiler back on track???


Sorry to answer my own question so quickly, but I discovered the problem.

I had a sub package defined in the middle of a source file that contains various mock classes, this sub package had been changed to so it made coma sub package of resulting in a package of

Need Your Help

Insert xml Node into a CLOB column with namespace in Oracle

oracle oracle11g clob xmltype

I have next below xml value in CLOB column in Oracle 11g.

Calling class methods from mixed in module in ruby

ruby-on-rails ruby activerecord

The scenario: I have a couple of ActiveRecord models in my rails system that all need to be controlled via an access control list. I have a nice little ACL implementation that does what I want, but...