my problem is not simple to explain.
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
ssDefFoundError: scala/ScalaObject
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:
see here : [pastebin][1]
the heroku procfile:
web: java $JAVA_OPTS -cp target/classes:target/dependency/*
tests.test3scala.App
the pom.xml file:
**********************************
http:// http://pastebin.com/Pw2SeuAP <http://
http://pastebin.com/Pw2SeuAP>
the web sites I used : [vaadin-for-heroku] :
https://github.com/nhurion/vaadin-for-heroku
<https://github.com/nhurion/vaadin-for-heroku>
[hello-vaadin-heroku]: https://github.com/nhurion/hello-vaadin-heroku
<https://github.com/nhurion/hello-vaadin-heroku>
[embed-for-vaadin] : https://vaadin.com/directory#addon/embed-for-vaadin
<https://vaadin.com/directory#addon/embed-for-vaadin>
thank you if you can help me, especially to integrate the jars in the
generated project (by modifying the pom.xml file)
olivier
--
View this message in context:
http://maven.40175.n5.nabble.com/scala-web-vaadin-cloud-heroku-how-to-pack-jars-with-the-generated-project-tp5728232.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]