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 6783941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:55:53+00:00 2026-05-26T16:55:53+00:00

I have a java maven project , i installed scala plugin for eclipse and

  • 0

I have a java maven project , i installed scala plugin for eclipse and added scala nature to my project . Now , i have written some custom scala Actors and some other utility classes .I am using these scala classes in my java code . while writing the code , it doesn’t throw any errors .But , when i do maven clean /build , it throws compilation error’s like below

11/8/11 10:45:23 AM : [ERROR] ............\Simple.java:[86,10] cannot find symbol
symbol  : variable ExecutorObject
location: class com.ms.scala.Simple
11/8/11 10:45:23 AM : [INFO] 2 errors 
11/8/11 10:45:23 AM : [INFO] -------------------------------------------------------------
11/8/11 10:45:23 AM : Build errors for Project; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project : Compilation failure

Eclipse IDE : helios -3.5 , Scala – 2.9.2 which comes with the plugin

i guess there is a custom compiler configuration for doing this ? i also have an other newbie question

how do you start scala actor directly in java and send a message to it ? all i can see is the act() method . i want to do this

actor {

CustomActor ! Message

}

in java

thank you
sanre6

  • 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-05-26T16:55:53+00:00Added an answer on May 26, 2026 at 4:55 pm

    For the first part, have you added the scala compilation step to your maven pom? Have you added the maven-scala-plugin to your pom?

    For the second part, as Mirco says, there is no simple way to define an Actor in Java. You’ll have to define it in Scala, but you can then start it and send messages to it in Java.

    Simply call start() on the instance, and then you should be able to pass messages to it using the ! method. This will be available in java, but it is called $bang.

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

Sidebar

Related Questions

I have Eclipse Galileo (for Java EE Developers) installed, and I'm now trying to
I have a Maven Java project, imported using m2eclipse . The target/ directory is
I have a maven project with the following packages (for illustration only): Root: src/main/java
I have followed this thread now when i try to build using maven plugin
I imported a Maven project and it used Java 1.5 even though I have
I have java project with building rpm by maven. Required create noarch packets, but
I have a maven project where I want to use the Cargo-Maven-Plugin (1.1.1) to
I have a Maven project structured like this: src/main/java/test/App.java src/main/resources/config/message.txt Inside App.java, I have
Suppose I have a Maven 2 Java project on my local machine. I build
I have to import a project with Maven2. So far i installed eclipse gallelio

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.