Scala IDE problems and console errors from OS X

17 views
Skip to first unread message

Ken

unread,
Sep 12, 2010, 1:38:28 PM9/12/10
to Scala IDE User
In spite of all the help (thanks everyone), I'm still having problems
with the Eclipse Scala plugin. I did something I should've done a
while ago, and looked at the console error messages as eclipse was
starting up on my Scala project. (They're appended below.) To me, it
appears that the two really interesting errors are:

scala.tools.nsc.MissingRequirementError: object scala not found.
scala.tools.nsc.MissingRequirementError: class scala.Array not found.

However, I don't have the depth of knowledge to know what to make of
these errors. Scala is functioning correctly on my system: in eclipse,
Ant build and runs tests on my project without a problem. Here's
hoping someone will be able to look at these errors and immediately
say, "Aha, his problem is..." :-)

Thanks,
Ken

2010-09-12 11:04:59 AM [0x0-0x1c81c8].org.eclipse.eclipse[44308]
CMPluginExamineContextCMPluginExamineContextCMPluginExamineContextCMPluginExamineContextCMPluginExamineContext
2010-09-12 11:05:08 AM /Applications/eclipse/Eclipse.app/Contents/
MacOS/eclipse[44669] Unrecognized Java VM option ignored: -server
2010-09-12 11:05:14 AM [0x0-0x1ef1ef].backupd-helper[44657] Not
starting Time Machine backup after wake - failed to resolve alias to
backup volume
2010-09-12 11:05:31 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669]
[org.eclipse.contribution.weaving.jdt] error at org/eclipse/
contribution/jdt/IsWovenTester.aj::0 class
'org.eclipse.contribution.jdt.IsWovenTester' is already woven and has
not been built in reweavable mode
2010-09-12 11:05:31 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669]
[org.eclipse.contribution.weaving.jdt] error at org/eclipse/
contribution/jdt/IsWovenTester.aj::0 class
'org.eclipse.contribution.jdt.IsWovenTester$WeavingMarker' is already
woven and has not been built in reweavable mode
2010-09-12 11:05:32 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669]
[org.eclipse.jdt.core] warning at org/eclipse/contribution/jdt/
sourceprovider/SourceTransformerAspect.aj:106::0 does not match
because declaring type is org.eclipse.jdt.core.IOpenable, if match
desired use target(org.eclipse.jdt.core.ICompilationUnit)
[Xlint:unmatchedSuperTypeInCall]
2010-09-12 11:05:32 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] see
also: org/eclipse/jdt/internal/core/SourceRefElement.java:198::0
2010-09-12 11:05:34 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669]
[org.eclipse.jdt.ui] warning at org/eclipse/contribution/jdt/
sourceprovider/SourceTransformerAspect.aj:106::0 does not match
because declaring type is org.eclipse.jdt.core.ITypeRoot, if match
desired use target(org.eclipse.jdt.core.ICompilationUnit)
[Xlint:unmatchedSuperTypeInCall]
2010-09-12 11:05:34 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] see
also: org/eclipse/jdt/internal/ui/javaeditor/ASTProvider.java:572::0
2010-09-12 11:05:38 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669]
[org.eclipse.contribution.weaving.jdt] error at org/eclipse/
contribution/jdt/sourceprovider/SourceTransformerAspect.aj::0 class
'org.eclipse.contribution.jdt.sourceprovider.SourceTransformerAspect'
is already woven and has not been built in reweavable mode
2010-09-12 11:05:38 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669]
[org.eclipse.contribution.weaving.jdt] error at org/eclipse/
contribution/jdt/cuprovider/CompilationUnitProviderAspect.aj::0 class
'org.eclipse.contribution.jdt.cuprovider.CompilationUnitProviderAspect'
is already woven and has not been built in reweavable mode
2010-09-12 11:05:42 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669]
[org.eclipse.contribution.weaving.jdt] error at org/eclipse/
contribution/jdt/itdawareness/ITDAwarenessAspect.aj::0 class
'org.eclipse.contribution.jdt.itdawareness.ITDAwarenessAspect' is
already woven and has not been built in reweavable mode
2010-09-12 11:05:44 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669]
scala.tools.nsc.MissingRequirementError: object scala not found.
2010-09-12 11:05:44 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.symtab.Definitions$definitions
$.getModuleOrClass(Definitions.scala:513)
2010-09-12 11:05:44 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.symtab.Definitions$definitions
$.ScalaPackage(Definitions.scala:37)
2010-09-12 11:05:44 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.symtab.Definitions$definitions
$.ScalaPackageClass(Definitions.scala:38)
2010-09-12 11:05:44 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.symtab.Definitions$definitions
$.UnitClass(Definitions.scala:83)
2010-09-12 11:05:44 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.symtab.Definitions$definitions$.init(Definitions.scala:
785)
2010-09-12 11:05:44 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.Global$Run.<init>(Global.scala:597)
2010-09-12 11:05:44 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.interactive.Global$TyperRun.<init>(Global.scala:473)
2010-09-12 11:05:44 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.eclipse.ScalaPresentationCompiler
$EclipseTyperRun.<init>(ScalaPresentationCompiler.scala:111)
2010-09-12 11:05:44 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.eclipse.ScalaPresentationCompiler.newTyperRun(ScalaPresentationCompiler.scala:
154)
2010-09-12 11:05:44 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.eclipse.ScalaPresentationCompiler.newTyperRun(ScalaPresentationCompiler.scala:
25)
2010-09-12 11:05:44 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.interactive.Global.reloadSources(Global.scala:289)
2010-09-12 11:05:44 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.interactive.Global.typedTree(Global.scala:319)
2010-09-12 11:05:44 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.interactive.Global$$anonfun$getTypedTree
$1.apply(Global.scala:331)
2010-09-12 11:05:44 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.interactive.Global$$anonfun$getTypedTree
$1.apply(Global.scala:331)
2010-09-12 11:05:44 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.interactive.Global.respond(Global.scala:276)
2010-09-12 11:05:44 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.interactive.Global.getTypedTree(Global.scala:331)
2010-09-12 11:05:44 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.interactive.CompilerControl$$anon$3.apply$mcV
$sp(CompilerControl.scala:95)
2010-09-12 11:05:44 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.interactive.Global.pollForWork(Global.scala:132)
2010-09-12 11:05:44 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.interactive.Global$$anon$2.run(Global.scala:192)
2010-09-12 11:05:45 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669]
[org.eclipse.contribution.weaving.jdt] error at org/eclipse/
contribution/jdt/imagedescriptor/ImageDescriptorSelectorAspect.aj::0
class
'org.eclipse.contribution.jdt.imagedescriptor.ImageDescriptorSelectorAspect'
is already woven and has not been built in reweavable mode
2010-09-12 11:05:46 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669]
[org.eclipse.jdt.ui] warning at org/eclipse/contribution/jdt/
sourceprovider/SourceTransformerAspect.aj:106::0 does not match
because declaring type is org.eclipse.jdt.core.IOpenable, if match
desired use target(org.eclipse.jdt.core.ICompilationUnit)
[Xlint:unmatchedSuperTypeInCall]
2010-09-12 11:05:46 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] see
also: org/eclipse/jdt/internal/ui/text/java/hover/JavadocHover.java:
564::0
2010-09-12 11:05:48 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669]
[org.eclipse.jdt.ui] warning at org/eclipse/contribution/jdt/
sourceprovider/SourceTransformerAspect.aj:106::0 does not match
because declaring type is org.eclipse.jdt.core.ITypeRoot, if match
desired use target(org.eclipse.jdt.core.ICompilationUnit)
[Xlint:unmatchedSuperTypeInCall]
2010-09-12 11:05:48 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] see
also: org/eclipse/jdt/internal/corext/dom/NodeFinder.java:96::0
2010-09-12 11:05:51 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669]
[org.eclipse.jdt.ui] warning at org/eclipse/contribution/jdt/
sourceprovider/SourceTransformerAspect.aj:106::0 does not match
because declaring type is org.eclipse.jdt.core.ITypeRoot, if match
desired use target(org.eclipse.jdt.core.ICompilationUnit)
[Xlint:unmatchedSuperTypeInCall]
2010-09-12 11:05:51 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] see
also: org/eclipse/jdt/internal/corext/callhierarchy/CallHierarchy.java:
286::0
2010-09-12 11:06:04 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669]
Indexing document: /rex/src/ykken/rex/rex.scala
2010-09-12 11:06:04 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669]
Indexing document: /rex/test/ykken/rex/testrex.scala
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669]
scala.tools.nsc.MissingRequirementError: class scala.Array not found.
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.symtab.Definitions$definitions
$.getModuleOrClass(Definitions.scala:513)
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.symtab.Definitions$definitions
$.getClass(Definitions.scala:471)
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.symtab.Definitions$definitions
$.ArrayClass(Definitions.scala:211)
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.backend.icode.TypeKinds
$REFERENCE.<init>(TypeKinds.scala:257)
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.backend.icode.GenICode
$ICodePhase.<init>(GenICode.scala:54)
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.backend.icode.GenICode.newPhase(GenICode.scala:42)
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.backend.icode.GenICode.newPhase(GenICode.scala:24)
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.Global$Run$$anonfun$4.apply(Global.scala:610)
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.Global$Run$$anonfun$4.apply(Global.scala:609)
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.collection.LinearSeqOptimized
$class.foreach(LinearSeqOptimized.scala:61)
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.collection.immutable.List.foreach(List.scala:45)
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.Global$Run.<init>(Global.scala:609)
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.interactive.Global$TyperRun.<init>(Global.scala:473)
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.eclipse.ScalaPresentationCompiler
$EclipseTyperRun.<init>(ScalaPresentationCompiler.scala:111)
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.eclipse.ScalaPresentationCompiler.newTyperRun(ScalaPresentationCompiler.scala:
154)
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.eclipse.ScalaPresentationCompiler.newTyperRun(ScalaPresentationCompiler.scala:
25)
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.interactive.Global.reloadSources(Global.scala:289)
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.interactive.Global.typedTree(Global.scala:319)
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.interactive.Global$$anonfun$getTypedTree
$1.apply(Global.scala:331)
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.interactive.Global$$anonfun$getTypedTree
$1.apply(Global.scala:331)
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.interactive.Global.respond(Global.scala:276)
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.interactive.Global.getTypedTree(Global.scala:331)
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.interactive.CompilerControl$$anon$3.apply$mcV
$sp(CompilerControl.scala:95)
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.interactive.Global.pollForWork(Global.scala:132)
2010-09-12 11:06:05 AM [0x0-0x1f21f2].org.eclipse.eclipse[44669] at
scala.tools.nsc.interactive.Global$$anon$2.run(Global.scala:192)

Miles Sabin

unread,
Sep 12, 2010, 2:28:07 PM9/12/10
to scala-i...@googlegroups.com
On Sun, Sep 12, 2010 at 6:38 PM, Ken <ykke...@gmail.com> wrote:
> In spite of all the help (thanks everyone), I'm still having problems
> with the Eclipse Scala plugin. I did something I should've done a
> while ago, and looked at the console error messages as eclipse was
> starting up on my Scala project. (They're appended below.) To me, it
> appears that the two really interesting errors are:
>
> scala.tools.nsc.MissingRequirementError: object scala not found.
> scala.tools.nsc.MissingRequirementError: class scala.Array not found.

Yes, those are interesting errors. Have you posted the contents of
your projects .classpath and .project files yet?

Can you also try and create a trivial Hello World Scala project in a
fresh Eclipse workspace and let us know if you continue to experience
the same problems.

Cheers,


Miles

--
Miles Sabin
tel: +44 7813 944 528
gtalk: mi...@milessabin.com
skype: milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

Ken

unread,
Sep 12, 2010, 3:13:21 PM9/12/10
to Scala IDE User
Miles,

I just created a new HelloWorld app, and it does not suffer from the
problems I've been experiencing in my old app. Just for completeness,
the console output is at the end of this message, but it does not seem
to have any scala errors. However, there were two oddites. First, even
though I specified a Scala project, it first appeared as a Java
project, I had to set Scala nature by hand. Second, it was created
containing the files from the project immediately before it in the
package browser, I had to delete those manually.

For the project that's giving me trouble, here is the .project:
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>rex</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>ch.epfl.lamp.sdt.core.scalabuilder</
name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>ch.epfl.lamp.sdt.core.scalanature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

and here is the .project:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="test"/>
<classpathentry kind="con"
path="ch.epfl.lamp.sdt.launching.SCALA_CONTAINER"/>
<classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con"
path="org.eclipse.jdt.junit.JUNIT_CONTAINER/3"/>
<classpathentry kind="lib" path="/Applications/eclipse/
scalatest.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>

Thanks,
Ken McDonald

2010-09-12 2:05:39 PM /Applications/eclipse/Eclipse.app/Contents/MacOS/
eclipse[45335] Unrecognized Java VM option ignored: -server
2010-09-12 2:05:56 PM [0x0-0x237237].org.eclipse.eclipse[45335]
[org.eclipse.contribution.weaving.jdt] error at org/eclipse/
contribution/jdt/IsWovenTester.aj::0 class
'org.eclipse.contribution.jdt.IsWovenTester' is already woven and has
not been built in reweavable mode
2010-09-12 2:05:56 PM [0x0-0x237237].org.eclipse.eclipse[45335]
[org.eclipse.contribution.weaving.jdt] error at org/eclipse/
contribution/jdt/IsWovenTester.aj::0 class
'org.eclipse.contribution.jdt.IsWovenTester$WeavingMarker' is already
woven and has not been built in reweavable mode
2010-09-12 2:05:57 PM [0x0-0x237237].org.eclipse.eclipse[45335]
[org.eclipse.jdt.core] warning at org/eclipse/contribution/jdt/
sourceprovider/SourceTransformerAspect.aj:106::0 does not match
because declaring type is org.eclipse.jdt.core.IOpenable, if match
desired use target(org.eclipse.jdt.core.ICompilationUnit)
[Xlint:unmatchedSuperTypeInCall]
2010-09-12 2:05:57 PM [0x0-0x237237].org.eclipse.eclipse[45335] see
also: org/eclipse/jdt/internal/core/SourceRefElement.java:198::0
2010-09-12 2:05:58 PM [0x0-0x237237].org.eclipse.eclipse[45335]
[org.eclipse.jdt.ui] warning at org/eclipse/contribution/jdt/
sourceprovider/SourceTransformerAspect.aj:106::0 does not match
because declaring type is org.eclipse.jdt.core.ITypeRoot, if match
desired use target(org.eclipse.jdt.core.ICompilationUnit)
[Xlint:unmatchedSuperTypeInCall]
2010-09-12 2:05:58 PM [0x0-0x237237].org.eclipse.eclipse[45335] see
also: org/eclipse/jdt/internal/ui/javaeditor/ASTProvider.java:572::0
2010-09-12 2:06:01 PM [0x0-0x237237].org.eclipse.eclipse[45335]
[org.eclipse.contribution.weaving.jdt] error at org/eclipse/
contribution/jdt/cuprovider/CompilationUnitProviderAspect.aj::0 class
'org.eclipse.contribution.jdt.cuprovider.CompilationUnitProviderAspect'
is already woven and has not been built in reweavable mode
2010-09-12 2:06:01 PM [0x0-0x237237].org.eclipse.eclipse[45335]
[org.eclipse.contribution.weaving.jdt] error at org/eclipse/
contribution/jdt/sourceprovider/SourceTransformerAspect.aj::0 class
'org.eclipse.contribution.jdt.sourceprovider.SourceTransformerAspect'
is already woven and has not been built in reweavable mode
2010-09-12 2:06:03 PM [0x0-0x237237].org.eclipse.eclipse[45335]
[org.eclipse.contribution.weaving.jdt] error at org/eclipse/
contribution/jdt/itdawareness/ITDAwarenessAspect.aj::0 class
'org.eclipse.contribution.jdt.itdawareness.ITDAwarenessAspect' is
already woven and has not been built in reweavable mode
2010-09-12 2:06:06 PM [0x0-0x237237].org.eclipse.eclipse[45335]
Building top-level map for: hello
2010-09-12 2:06:07 PM [0x0-0x237237].org.eclipse.eclipse[45335] Time:
948
2010-09-12 2:06:08 PM [0x0-0x237237].org.eclipse.eclipse[45335]
[org.eclipse.contribution.weaving.jdt] error at org/eclipse/
contribution/jdt/imagedescriptor/ImageDescriptorSelectorAspect.aj::0
class
'org.eclipse.contribution.jdt.imagedescriptor.ImageDescriptorSelectorAspect'
is already woven and has not been built in reweavable mode
2010-09-12 2:06:09 PM [0x0-0x237237].org.eclipse.eclipse[45335]
[org.eclipse.jdt.ui] warning at org/eclipse/contribution/jdt/
sourceprovider/SourceTransformerAspect.aj:106::0 does not match
because declaring type is org.eclipse.jdt.core.IOpenable, if match
desired use target(org.eclipse.jdt.core.ICompilationUnit)
[Xlint:unmatchedSuperTypeInCall]
2010-09-12 2:06:09 PM [0x0-0x237237].org.eclipse.eclipse[45335] see
also: org/eclipse/jdt/internal/ui/text/java/hover/JavadocHover.java:
564::0
2010-09-12 2:06:10 PM [0x0-0x237237].org.eclipse.eclipse[45335]
[org.eclipse.jdt.ui] warning at org/eclipse/contribution/jdt/
sourceprovider/SourceTransformerAspect.aj:106::0 does not match
because declaring type is org.eclipse.jdt.core.ITypeRoot, if match
desired use target(org.eclipse.jdt.core.ICompilationUnit)
[Xlint:unmatchedSuperTypeInCall]
2010-09-12 2:06:10 PM [0x0-0x237237].org.eclipse.eclipse[45335] see
also: org/eclipse/jdt/internal/corext/dom/NodeFinder.java:96::0
2010-09-12 2:06:13 PM [0x0-0x237237].org.eclipse.eclipse[45335]
[org.eclipse.jdt.ui] warning at org/eclipse/contribution/jdt/
sourceprovider/SourceTransformerAspect.aj:106::0 does not match
because declaring type is org.eclipse.jdt.core.ITypeRoot, if match
desired use target(org.eclipse.jdt.core.ICompilationUnit)
[Xlint:unmatchedSuperTypeInCall]
2010-09-12 2:06:13 PM [0x0-0x237237].org.eclipse.eclipse[45335] see
also: org/eclipse/jdt/internal/corext/callhierarchy/CallHierarchy.java:
286::0

Miles Sabin

unread,
Sep 12, 2010, 3:19:19 PM9/12/10
to scala-i...@googlegroups.com
On Sun, Sep 12, 2010 at 8:13 PM, Ken <ykke...@gmail.com> wrote:
> I just created a new HelloWorld app, and it does not suffer from the
> problems I've been experiencing in my old app. Just for completeness,
> the console output is at the end of this message, but it does not seem
> to have any scala errors. However, there were two oddites. First, even
> though I specified a Scala project, it first appeared as a Java
> project, I had to set Scala nature by hand. Second, it was created
> containing the files from the project immediately before it in the
> package browser, I had to delete those manually.

Well that definitely shouldn't be happening.

Could you try a fresh Eclipse install with a fresh workspace, and
install the Scale IDE into that from it's update site. You should then
be able to create a Hello world project without any nonesense like the
above. If you can't then we'll need to dig deeper to see what's wrong
with your setup.

David Bernard

unread,
Sep 12, 2010, 3:18:59 PM9/12/10
to scala-i...@googlegroups.com
You seems to use a old/deprecated version of scala-ide. try to
* uninstall it
* install from update site listed at http://download.scala-ide.org/

/davidB

Ken

unread,
Sep 12, 2010, 4:19:32 PM9/12/10
to Scala IDE User
Hi David,

I did this, and my scala files now all appear as java files in the
package manager. Next step is to try Miles' suggestion of a clean
install of eclipse.

Thanks,
Ken

On Sep 12, 2:18 pm, David Bernard <david.bernard...@gmail.com> wrote:
> You seems to use a old/deprecated version of scala-ide. try to
> * uninstall it
> * install from update site listed athttp://download.scala-ide.org/

David Bernard

unread,
Sep 12, 2010, 4:22:48 PM9/12/10
to scala-i...@googlegroups.com
On 12/09/2010 22:19, Ken wrote:
> Hi David,
>
> I did this, and my scala files now all appear as java files in the
> package manager. Next step is to try Miles' suggestion of a clean
> install of eclipse.

After update , you need to remove/add scala nature on each project to update .project and .classpath (or do it manually like I explain in your previous thread)
But if it's a not a big pain to start from a fresh install (need to re-install plugins, and reconfigure), do it.

Good luck, light is near ;-)

For my personal info, what is your issues against IDEA (iirc you wrote you stopped use it).

/davidB

Ken

unread,
Sep 12, 2010, 7:22:41 PM9/12/10
to Scala IDE User
Hi David,

I ran into a showstopper in IDEA. When I started it up, it would
immediately put one of its threads (not sure which one) into an
infinite loop of errors, using over 100% of CPU time (dual cores).
Even after quitting IDEA, the thread persisted, and Console ran at
about 100% of CPU time. I've reported this on the IDEA home site.

Thanks,
Ken

Ken

unread,
Sep 12, 2010, 7:43:12 PM9/12/10
to Scala IDE User

> For my personal info, what is your issues against IDEA (iirc you wrote you stopped use it).

Forgot about this: also, when I tried to do a "New Project", and
checked the "Scala" checkbox, it would only let me select from Scala
2.7.6 and earlier, not Scala 2.8

Ken
Reply all
Reply to author
Forward
0 new messages