What kind of project are you talking about? Is it a pure Java project or does it run inside glassfish (for example)? What class files are missing? How does the stacktrace look like?
Try to add the missing artifacts to the pom. -----Ursprüngliche Nachricht----- Von: jamborta [mailto:[email protected]] Gesendet: Dienstag, 13. Oktober 2009 11:23 An: [email protected] Betreff: Running Jar file created by Maven Hi guys, I'm new to Maven. I have this problem that I created a Maven project in netbeans, added dependencies, and build it successfully, it runs in Netbeans as well. but if I try to build it from the command prompt using mvn install, it build the whole staff, but when I try to run the jar file, it just fails becuase it cannot find the library files (dependencies), looks like maven doesn't add those files, although it downloads them... please help me, i'm looking for the answer for quite a while now. thanks Tom -- View this message in context: http://www.nabble.com/Running-Jar-file-created-by-Maven-tp25869690p25869690.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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
