Am working on a project, it contains both java and scala classes.
My folder structure: is
src>main>java -> for java classes
src>main>scala -> for scala classes
When am importing scala classes in java, eclipse saying that no type found. I already installed scala IDE in eclipse. I don't know how to fix this problem. Can anyone help me with the configuration of eclipse to work with both java and scala?
-
How many source folders do you have in your project?Tassos Bassoukos– Tassos Bassoukos2014-03-11 13:26:27 +00:00Commented Mar 11, 2014 at 13:26
-
Are you using a Maven plugin already?Dave Newton– Dave Newton2014-03-11 13:27:02 +00:00Commented Mar 11, 2014 at 13:27
-
@TassosBassoukos total 3 including src/test/java.Dilip Kumar– Dilip Kumar2014-03-11 13:29:03 +00:00Commented Mar 11, 2014 at 13:29
-
@DaveNewton Ya.. There is no error in build time, i configured maven to build-first-scala. But i need help on configuring eclipse.Dilip Kumar– Dilip Kumar2014-03-11 13:30:41 +00:00Commented Mar 11, 2014 at 13:30
-
3Try Right Click on Project->Configure ->Add Scala Naturejny– jny2014-03-11 14:15:00 +00:00Commented Mar 11, 2014 at 14:15
|
Show 4 more comments