globally, here is it : I want to deploy on heroku (in the cloud) a scala project, with the support of vaadin (web framework).
for vaadin, I assume there is no problem.
when I try to deploy my project on heroku, I have an error like this :
2012-10-26T23:19:40+00:00 app[web.1]: Exception in thread "main" java.lang.NoCla
this means the jars are not deployed with the project.
but I don't know what is the form of the generated project, since I assembled some pieces without knowing them deeply (especially vaadin-for-heroku, which manages the embedded tomcat server).when I run a "maven build install" from eclipse I obtain a "jar" but it's locally, not on heroku's website.
the only thing I am sure is heroku launches maven...
here is some code:
The heroku command line:
C:\Users\lolveley\Documents\eclipses\heroku\test3-scala>git push heroku master
Counting objects: 5, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 289 bytes, done.
Total 3 (delta 2), reused 0 (delta 0)
I assume that the missing class is in this dependency, you should verify that by looking in the JAR:
You POM doesn't have a <packaging> clause which means it will create a JAR file. The JAR is not self-contained. That is, it contains the compiled classes but not any of the classes referenced in the dependencies. So the first question is: did you really mean to build a JAR? If you meant to build a WAR instead, add a packaging type. (Or is there a specific packaging type for building a Scala JAR file??? Not having worked with Scala I'm reduced to guessing...)
If you meant to create a a JAR file that includes all dependencies, then you also have to include the Maven Assembly Plugin, it can build a self-sufficient JAR.