February 2012 M T W T F S S « Jan 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 Blogroll
Funny stuff
-
RSS Links
-
Meta
Tag Archives: scala
Maven Scala Build Error “error while loading Function1, class file needed by Function1 is missing”
Scala and Maven… a kinda’ fragile combination
Today i got the following error when trying to compile my scala-project with “mvn compile”:
[ERROR] error: error while loading Function1, class file needed by Function1 is missing.
[INFO] reference value Unit of package scala refers to nonexisting symbol.
[ERROR] one error found
[INFO] ————————————————————————
[ERROR] BUILD ERROR
[INFO] ————————————————————————
[INFO] wrap: org.apache.commons.exec.ExecuteException: Process exited [...]
Build a mixed Scala 2.8/Java application from scratch with Maven [Eclipse Settings]
[EDIT 15.01.2011]
There have been changes since i wrote this article. Although i don’t have experiences with it until know, I would suggest using the m2eclipse-scala Plugin which solves some bugs that occur when using the regular M2Eclipse plugin.
Now i’m going to show you how to open the Maven project from Part 1 with Eclipse and [...]
Build a mixed Scala 2.8/Java application from scratch with Maven
In this tutorial I will show you how to build an application by Maven that consists of Java and Scala source files. The project automatically uses the latest Scala 2.8-Snapshot until it’s released (Maven will look for the latest version of the Scala language each time you build it).
We will setup the project to use [...]
Scala – an alternative console scripting language?
[EDIT 15.01.2011]
This post doesn’t reflect my opinion about Scala as a console scripting language anymore. I’m currently using Python for everyday-tasks, which i find pretty much simpler and quicker to solve problems. As you often have to use Java libraries inside Scala, writing code is often still cumbersome and full of Java-style-boilerplate. So the script [...]
Maven & Scala: Add source folder to Eclipse Project