Errors running builder 'Scala Builder' on scala project - eclipse IDE mars

952 views
Skip to first unread message

deepak dabi

unread,
Aug 22, 2016, 2:57:08 AM8/22/16
to Scala IDE User
HI There,

I am trying to use eclipse + Scala + maven. My Normal project (without maven) which works fine. When i add maven to this then the problem starts. it always show issue "Errors occurred during the build.
Errors running builder 'Scala Builder' on project 'scalatest' ". I have seen problem tab which has no issue. but into Error log i see :-

Error thrown while initializing the presentation compiler. - org.scala-ide.sdt.core
invalid LOC header (bad signature) -  org.eclipse.jdt.core

i tried doing multiple install-un-intalling component in eclipse. with all possible maven clean/verify/etc but still none of this working, below are my s/w details.:-

eclipse (mars j2ee) / Scala ide :- 4.2 /  java 8.

One more issue is (without mavan run as scala application is showing ) after maven its now.

Any help on above is appreciated .

Thanks,
Deepak dabi

Simon Schäfer

unread,
Aug 22, 2016, 5:38:54 AM8/22/16
to scala-ide-user
Is it possible for you to update to the latest Eclipse and Scala IDE versions and then try again?


---- On Mon, 22 Aug 2016 04:24:25 +0200 deepak dabi <deepak...@gmail.com>wrote ----

--
You received this message because you are subscribed to the Google Groups "Scala IDE User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Janek Lasocki-Biczysko

unread,
Sep 16, 2016, 10:05:59 AM9/16/16
to Scala IDE User
I've got the same issue happening to me.

Have attached the exported error log (from Eclipse's Error Log view)

My .classpath file looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/scala">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.scala-ide.sdt.launching.SCALA_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>

and my .project looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>XXX</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.scala-ide.sdt.core.scalabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.scala-ide.sdt.core.scalanature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>
scala-ide.log

Janek Lasocki-Biczysko

unread,
Sep 16, 2016, 10:05:59 AM9/16/16
to Scala IDE User
The info posted in my previous comment was all gathered using Scala IDE Build id: 4.4.1-vfinal-2016-05-04T11:16:00Z-Typesafe


On Monday, 22 August 2016 10:38:54 UTC+1, Simon Schäfer wrote:

wpopie...@virtuslab.com

unread,
Sep 19, 2016, 2:35:08 AM9/19/16
to Scala IDE User
Looking at it...
W.
Reply all
Reply to author
Forward
0 new messages