Hi,
I have a problem when I try to run the sbteclipse plugin. It always throws a "NoClassDefFoundError" stating that "EclipsePlugin$EclipseClasspathEntryTransformerFactory" is missing.
I followed the instructions on the GitHub page and added the plugin usingI also checked that I am running sbt version 0.11.3.
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.1.0-RC1")
When I look in the ivy2 cache, I find the sbteclipse-plugin.jar and sbteclipse-core.jar in the correct folder structure and they also include the class file that sbt does not find. The weird thing is that the jars are lying as subfolders in "~\.ivy2\cache\scala_2.9.1\sbt_0.11.3" (so in fact I find them the core jar in "~\.ivy2\cache\scala_2.9.1\sbt_0.11.3\com.typesafe.sbteclipse\sbteclipse-core\jars") and not in the ivy2-cache directly.
I guess this mixes up some internal classpathes and causes the error, but I don't know how to solve it. Does anyone have a hint?
Many thanks in advance,
Sven--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To view this discussion on the web visit https://groups.google.com/d/msg/simple-build-tool/-/gAlS8YZbpLYJ.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
Hi Heiko,
thanks for your fast answer. Unfortunately, it did not solve the problem. I deleted all target folders in my project. I also checked the ~/.sbt folder but it does not contain a plugins folder. It only contains a boot folder that I deleted as well. I also cleared the ivy2-cache but I still get the error and the same directory structure in the ivy2-cache as before.
Do you or anyone else have another suggestion?
Cheers,
Sven
Am Dienstag, 12. Juni 2012 05:52:38 UTC+2 schrieb Heiko Seeberger:
Hi Sven,Please try the following:
- Delete all target directories under ~/.sbt/plugins
- Delete all target directories under <your-project>/project
Then try again.Heiko
On Jun 11, 2012, at 9:22 PM, Sven Viehmeier wrote:
Hi,
I have a problem when I try to run the sbteclipse plugin. It always throws a "NoClassDefFoundError" stating that "EclipsePlugin$EclipseClasspathEntryTransformerFactory" is missing.
I followed the instructions on the GitHub page and added the plugin usingI also checked that I am running sbt version 0.11.3.
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.1.0-RC1")
When I look in the ivy2 cache, I find the sbteclipse-plugin.jar and sbteclipse-core.jar in the correct folder structure and they also include the class file that sbt does not find. The weird thing is that the jars are lying as subfolders in "~\.ivy2\cache\scala_2.9.1\sbt_0.11.3" (so in fact I find them the core jar in "~\.ivy2\cache\scala_2.9.1\sbt_0.11.3\com.typesafe.sbteclipse\sbteclipse-core\jars") and not in the ivy2-cache directly.
I guess this mixes up some internal classpathes and causes the error, but I don't know how to solve it. Does anyone have a hint?
Many thanks in advance,
Sven--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To view this discussion on the web visit https://groups.google.com/d/msg/simple-build-tool/-/gAlS8YZbpLYJ.
To post to this group, send email to simple-build-tool@googlegroups.com.
To unsubscribe from this group, send email to simple-build-tool+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To view this discussion on the web visit https://groups.google.com/d/msg/simple-build-tool/-/bLkAvLZhlKUJ.