Please could you post this type of question to the users mailing list - the dev mailing list is for the development of AppFuse itself.
There may be an issue with the scope you have attached to dependency, or the location of the dependency. So a few questions: 1) Did you use a modular or basic archetype to create your project? If modular, did you add the dependency to the pom.xml under the web module? 2) Could you post the pom snippet you added for the dependency? Did you attach a scope to the dependency and if so what was it? 3) you mention WEB-INF/classes. The quartz jar file should be in WEB-INF/lib. Is it there? 4) Did you run mvn:warinplace when you created your project? Do you have a src/main/webapp/WEB-INF/lib directory in your project? If yes, please delete it and try running a mvn clean install to see if it sorts things out. Mike. On 3/30/07, Volcan <[EMAIL PROTECTED]> wrote:
Error is : nested exception is java.lang.NoClassDefFoundError: org/quartz/SchedulerException There is no quartz file in my web-inf/classes directory (target).... mvn command runs fine and creates my war n but no quartz file included !!! mraible wrote: > > What's the error? Are there two quartz JARs in your WAR? > > Matt > > On 3/29/07, Volcan <[EMAIL PROTECTED]> wrote: >> >> When I try to add my dependency (quartz), I modify the pom.xml file. >> >> mvn sucesfully compiles and creates my war file. >> When trying to run mvn jetty:run I get a NoClassDefFoundError. Am I >> missing >> smt ? >> >> Thx in advance !! >> -- >> View this message in context: >> http://www.nabble.com/adding-dependency-tf3485991s2369.html#a9732003 >> Sent from the AppFuse - Dev mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/adding-dependency-tf3485991s2369.html#a9748446 Sent from the AppFuse - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]