rm -r src/main/webapp/WEB-INF/lib rm -r src/main/webapp/WEB-INF/classes On Wed, May 21, 2008 at 9:21 AM, Jon Loken <[EMAIL PROTECTED]> wrote: > Hi again, > > I am still testing out appfuse 2.0.2 on a win box using spring mvc and > basic archetype. > > I've successfully run: mvn war:inplace > and tested Jetty. Works well. > > After committing code to SVN, I then wanted the source: mvn > appfuse:full-source > > At some point I then got this trace: > > [INFO] [AppFuse] Renaming packages to 'org.mycompany.d4'... > [error] Failed to rename file [src\main\resources\accountCreated.vm] to > [null\ma > in\resources\accountCreated.vm] to new directory structure > [error] Failed to rename file > [src\main\resources\applicationContext-dao.xml] to > [null\main\resources\applicationContext-dao.xml] to new directory > structure > [error] Failed to rename file > [src\main\resources\applicationContext-resources.x > ml] to [null\main\resources\applicationContext-resources.xml] to new > directory s > tructure > [error] Failed to rename file > [src\main\resources\applicationContext-service.xml > ] to [null\main\resources\applicationContext-service.xml] to new > directory struc > ture > [error] Failed to rename file > [src\main\resources\ApplicationResources.propertie > s] to [null\main\resources\ApplicationResources.properties] to new > directory str > ucture > [error] Failed to rename file > [src\main\resources\ApplicationResources_de.proper > ties] to [null\main\resources\ApplicationResources_de.properties] to new > directo > ry structure > [error] Failed to rename file > [src\main\resources\ApplicationResources_en.proper > ties] to [null\main\resources\ApplicationResources_en.properties] to new > directo > ry structure > [error] Failed to rename file > [src\main\resources\ApplicationResources_es.proper > ties] to [null\main\resources\ApplicationResources_es.properties] to new > directo > ry structure > [error] Failed to rename file > [src\main\resources\ApplicationResources_fr.proper > ties] to [null\main\resources\ApplicationResources_fr.properties] to new > directo > ry structure > > Despite the trace everything seems to be ok. No apparent problems with > name spaces. > > > > I then attempted to restart Jetty: mvn jetty:run > and got this trace: > > 2008-05-21 16:35:15.704::WARN: failed > org.mortbay.jetty.plugin.Jetty6PluginWebA > [EMAIL PROTECTED]/,C:\work\ws\delta4\src\main\webapp} > java.lang.NoClassDefFoundError: > org/mycompany/d4/webapp/listener/StartupListe > ner (wrong name: org/appfuse/webapp/listener/StartupListener) > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:620) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12 > 4) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) > at java.net.URLClassLoader.access$100(URLClassLoader.java:56) > > What is happening? StartupListener.java is in place with correct name > space. > > > > After mvn appfuse:full-source, eclipse is complaining about missing jar > files: > appfuse-spring-2.0.2.warpath.jar and > appfuse-web-common-2.0.2.warpath.jar > Googling around does not give me any indications where I find the jar > files. I do however find appfuse-web-common-2.0.2.pom and > appfuse-spring-2.0.2.pom under m2, but no corresponding jar files. > > > > Do other Maven newbies have to go through the same difficult learning > process or is it just me? <sigh/> > > I suppose I am missing something basic? > > Regards > Jon > > > BiP Solutions Limited is a company registered in Scotland with Company Number > SC086146 and VAT number 38303966 and having its registered office at Park > House, 300 Glasgow Road, Shawfield, Glasgow, G73 1SQ > **************************************************************************** > This e-mail (and any attachment) is intended only for the attention of the > addressee(s). Its unauthorised use, disclosure, storage or copying is not > permitted. If you are not the intended recipient, please destroyall copies > and inform the sender by return e-mail. > This e-mail (whether you are the sender or the recipient) may be monitored, > recorded and retained by BiP Solutions Ltd. > E-mail monitoring/ blocking software may be used, and e-mail content may be > read at any time. You have a responsibility to ensure laws are not broken > when composing or forwarding e-mails and their contents. > **************************************************************************** > > --------------------------------------------------------------------- > 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]
