Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8070769
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T13:30:20+00:00 2026-06-05T13:30:20+00:00

I was refactoring the package structure inside a scala project with eclipse. In the

  • 0

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

package _root_.com.workday.foo.bar

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      com.workday.foo.bar.com
    - object workday is not a member of package      com.workday.foo.bar.com

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???

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T13:30:21+00:00Added an answer on June 5, 2026 at 1:30 pm

    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 com.workday.foo.bar.messaging so it made coma sub package of com.workday.foo.bar resulting in a package of com.workday.foo.bar.com.workday.foo.bar.messaging

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In Eclipse 3.5, say I have a package structure like this: tom.package1 tom.package1.packageA tom.package1.packageB
This refactoring function in Eclipse for package names used to work for me fine
I right click on my project in eclipse, android tools , 'Rename application package'.
I'm refactoring some msbuild scripts for a project, that uses ClickOnce to package the
I am refactoring some code for a Ruby library. This code includes a Date
i'm currently refactoring a C-project, throwing about 1000 warnings at me. is there a
I have used file search functionality in eclipse to replace a specific occurrence of
While refactoring some code, I came across this strange compile error: The constructor call
I'm refactoring some code in a project I'm working on and I ran into
Need some help refactoring this if/else block that builds the conditions for a find

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.