Dear Matt, so sorry! I've missed this one. I don't know why, but it seemed so obvious to me to run just "jetty:run". But You are right! After running "jetty:run-war" application is runing smoothly without any warnings or errors. You saved me a lot of time and lost nerves.
Cheers! 2007/12/5, Łukasz Bachman <[EMAIL PROTECTED]>: > > Dear René, > > I tried CLEAN and INSTALL goal before but unfortunately it didn't help. > > As it comes to a package name, I've provided appropriate name (as stated > before) ;-) > > I forgot to mention two things though. > > First one is: > I've also ran "mvn eclipse:eclipse" goal before running jetty. > > The second: > Jetty server is running, but application is unavailable (ERROR 503). > > Best regards! > Cheers! > > 2007/12/5, René Günther <[EMAIL PROTECTED]>: > > > > You run mvn install too? > > > > You might try > > > > > > > > mvn clean > > > > mvn install > > > > > > > > from your projects directory. > > > > > > > > Cheers > > > > René > > > > > > > > PS: Your package name is really PackageName? I don't know but I wouldn't > > use uppercase in package names and something like com.mycompany.appmight > > suite better > > > > > > > > *Von:* Łukasz Bachman [mailto:[EMAIL PROTECTED] > > *Gesendet:* Mittwoch, 5. Dezember 2007 21:55 > > *An:* [email protected] > > *Betreff:* [appfuse-user] Missing xfire-servlet.xml and security.xmlcontexts > > > > > > > > Hello! > > > > I'm starting with AppFuse 2.0.1 (used to work on 1.9.8) and I've > > encountered following error while trying to create basic Spring MVC web-app > > (error occured during executing mvn jetty:run goal) : > > > > (...) ERROR [main] ContextLoader.initWebApplicationContext(206) | > > Context initialization failed > > org.springframework.beans.factory.BeanDefinitionStoreException: > > IOException parsing XML document from ServletContext resource [/WEB-INF/xfir > > > > e-servlet.xml]; nested exception is java.io.FileNotFoundException: Could > > not open ServletContext resource [/WEB-INF/xfire-servlet.xml] > > at > > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions( > > XmlBeanDefinitionReader.java:320) > > at > > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions > > (XmlBeanDefinitionReader.java:290) > > at > > org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions( > > AbstractBeanDefinitionReader.java:142) > > > > Well, I tried to find out the solution to my problem on the web, but I > > couldn't. I've found somewhere "xfire-servlet.xml" and successfully > > placed it into appropriate directory, but then I had similar problem with " > > security.xml" file. This one was harder to find and even harder to make > > work. So in the end I gave up, cause I think I must have been doing > > something wrong, since this is totally basic thing, and according to > > tutorial - everything should work right. Any ideas what shall I do? Where > > can I find info about creating those two files by myself? > > > > One remark: > > I used following command to create my app's skeleton : > > > > mvn archetype:create > > -DarchetypeGroupId=org.appfuse.archetypes-DarchetypeArtifactId=appfuse-basic-spring > > -DremoteRepositories=http://static.appfuse.org/releases-DarchetypeVersion= > > 2.0.1 -DgroupId=PackageName -DartifactId=MyAppsName > > > > where of course PackageName and MyAppsName where properly provided. > > > > This is the content of my src/main/webapp/WEB-INF directory right after > > the error occured (before digging through the web and downloading missing > > *.xmls): > > > > 2007-12-05 20:26 <DIR> . > > 2007-12-05 20:26 <DIR> .. > > 2007-12-05 20:26 905 applicationContext-validation.xml > > 2007-12-05 20:26 406 applicationContext.xml > > 2007-12-05 20:26 4 630 dispatcher-servlet.xml > > 2007-12-05 20:26 1 242 menu-config.xml > > 2007-12-05 20:26 549 urlrewrite.xml > > 2007-12-05 20:26 4 947 validation.xml > > 2007-12-05 20:26 2 659 validator-rules-custom.xml > > 2007-12-05 20:26 41 584 validator-rules.xml > > 2007-12-05 20:26 9 635 web.xml > > 9 plik(ów) 66 557 bajtów > > 2 katalog(ów) 455 462 912 bajtów wolnych > > > > Best regards to all AppFuse Users! > > > > Cheers. > > > >
