> Unfortunately, I get the an error (see below) when I am creating a jar file > and run the program afterwards. As I can see, of course, the > javax.persistence jar provided by the ejb3-persistence.jar is obviously > missing. But I don't know how to fix the problem. When I'm running the > program as a simple Java Desktop App, everything is fine.
How are you "creating a jar file and run the program"? Unless you build a special package eg with the assembly plugin, it will only contain your project code and not the dependencies etc. What are your expectations? Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org