I answered your question on StackOverflow:
http://stackoverflow.com/questions/10169419/heroku-sample-application-error/10172856#10172856


On 04/16/2012 02:48 AM, srinivas aithagani wrote:
I am doing the sample application here
https://github.com/heroku/devcenter-embedded-tomcat

I have run the application using 'mvn package' and the build is
success..but when am running the script using "sh target/bin/webapp"
then am getting the below error.Sir please help..thanks

    C:\Documents and
    Settings\srinivasa\Documents\workspace-sts-2.9.0.RELEASE\sriniv
    as>sh target/bin/webapp Exception in thread "main"
    java.lang.NoClassDefFoundError: launch/Main Caused by:
    java.lang.ClassNotFoundException: launch.Main at
    java.net.URLClassLoader$1.run(URLClassLoader.java:202) at
    java.security.AccessController.doPrivileged(Native Method) at
    java.net.URLClassLoader.findClass(URLClassLoader.java:190) at
    java.lang.ClassLoader.loadClass(ClassLoader.java:306) at
    sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at
    java.lang.ClassLoader.loadClass(ClassLoader.java:247) Could not find
    the main class: launch.Main. Program will exit.

--
You received this message because you are subscribed to the Google
Groups "Heroku" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/heroku/-/PH1ldUM7Su4J.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en.

--
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to